summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/machine.lua
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2023-02-25 19:33:56 +0100
committer GitHub <noreply@github.com>2023-02-26 05:33:56 +1100
commit281957363ea8d87098dcfcb420ac0bfeca3c57ee (patch)
tree93df924ab55b8ea55c8a658d0d2ceedf503c01a5 /scripts/src/machine.lua
parente2e98b4271094b42d95ccd5c750168a518cf71ad (diff)
machine/pccard.cpp, machine/pccard_sram.cpp: Added support for PCMCIA linear SRAM cards. (#10886)
* Added callbacks for card detect, battery voltage and write protect to the PCCard interface. * Added helpers to read/write data swapped (similar to the existing support in the ATA device). * Add support for 2 MB and 4 MB SRAM PCMCIA models from Centennial with built-in EEPROM storage for CIS information. * machine/linflash.cpp: Updated the linear Flash PCMCIA card emulation to use the new card detection support. * machine/gayle.cpp: Rewrote the Amiga Gayle emulation, adding support for PCMCIA. * Fixed an issue with Amiga interrupts arriving at the wrong time.
Diffstat (limited to 'scripts/src/machine.lua')
-rw-r--r--scripts/src/machine.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index 1578aae4857..3652709ec1a 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -5138,3 +5138,15 @@ if (MACHINES["MC88200"]~=null) then
MAME_DIR .. "src/devices/machine/mc88200.h",
}
end
+
+---------------------------------------------------
+--
+--@src/devices/machine/pccard_sram.h,MACHINES["PCCARD_SRAM"] = true
+---------------------------------------------------
+
+if (MACHINES["PCCARD_SRAM"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/pccard_sram.cpp",
+ MAME_DIR .. "src/devices/machine/pccard_sram.h",
+ }
+end