diff options
author | 2022-02-15 04:32:25 -0900 | |
---|---|---|
committer | 2022-02-15 08:32:25 -0500 | |
commit | 08b49f7d48c7d7e63b728c38405b15be646e84d3 (patch) | |
tree | cb83691006c68cf7262dc1b1131114d4b892972d /src/devices/bus/nes_ctrl/ctrl.cpp | |
parent | 25c99d94506b2ce1e0218332aeefcfb7da02f09a (diff) |
famibox.cpp: Various improvements and a new working clone. (#9299)
* famibox.cpp: Added NES controller slots.
- Added r/w of zapper enable bit through appropriate ports. Controllers and zapper now pass the internal self-test.
- Shrunk nametable RAM down to correct 2K (mirroring still not correctly implemented).
* New working clones
------------------
FamicomStation [Patnukem]
Diffstat (limited to 'src/devices/bus/nes_ctrl/ctrl.cpp')
-rw-r--r-- | src/devices/bus/nes_ctrl/ctrl.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/devices/bus/nes_ctrl/ctrl.cpp b/src/devices/bus/nes_ctrl/ctrl.cpp index d659053bcb0..57d12e28cfe 100644 --- a/src/devices/bus/nes_ctrl/ctrl.cpp +++ b/src/devices/bus/nes_ctrl/ctrl.cpp @@ -234,3 +234,14 @@ void fc_expansion_devices(device_slot_interface &device) device.option_add("taptapmat", NES_TAPTAPMAT); device.option_add("turbofile", NES_TURBOFILE); } + +void famibox_control_port12_devices(device_slot_interface &device) +{ + device.option_add("joypad", NES_JOYPAD); + device.option_add("zapper", NES_ZAPPER); +} + +void famibox_control_port3_devices(device_slot_interface &device) +{ + device.option_add("zapper", NES_ZAPPER); +} |