Previous 199869 Revisions Next

r190943 Wednesday 7th December, 2022 at 18:24:59 UTC by Vasantha Crabb
bus/sms_ctrl: Reworked Sega Master System controller bus.

Rationalised interface, got rid of TH from the "pulled" lines, and
extended to support output on all data lines.  Renamed to be less
specific as the same interface is shared by multiple consoles.

Removed a lot of unnecessary indirection through I/O ports and multiple
levels of inversion in peripheral emulation that was obfuscating the
code.

Made Rapid Fire Unit switches toggles so they can be assigned to
controller buttons and switched on/off easily during gameplay.  You can
still see/change the current state in the Toggle Inputs menu if you
don't want to assign buttons.

Implemented idle timeout in Furrtek 4-player Master System adapter.

Improved crosshair tracking in Graphic Board, added ability to
raise/lower pen, and greatly cleaned up code.

Fixed paddle controller when used with export consoles.

Added 3-button and 6-button Mega Drive control devices.

sega/sms.cpp: SG-1000 Mark III has pin 7 of controller ports tied low -
indicate this to attached controllers (this pin became TH on the Master
System).

sega/mdconsole.cpp: Replaced controller emulation in the driver with
Sega controller ports.  Also removed some vestigial code from the driver
base class.

sharp/x68k.cpp: Replaced controller emulation in the driver with MSX
controller ports.

bus/msx/ctrl: Added a Sega controller adapter device, supported by
X68000 software including chelnov and ssf2.
[hash]sms.xml
[scripts/src]bus.lua
[src/devices/bus/gamegear]ggext.h smsctrladp.cpp smsctrladp.h
[src/devices/bus/msx/ctrl]ctrl.cpp sgadapt.cpp* sgadapt.h*
[src/devices/bus/sms_ctrl]controllers.cpp* controllers.h* graphic.cpp graphic.h joypad.cpp joypad.h lphaser.cpp lphaser.h md6bt.cpp* md6bt.h* mdpad.cpp* mdpad.h* multitap.cpp multitap.h paddle.cpp paddle.h rfu.cpp rfu.h smsctrl.cpp smsctrl.h sports.cpp sports.h sportsjp.cpp sportsjp.h
[src/mame/sega]mdconsole.cpp mdconsole.h megadriv.cpp megadriv.h megadriv_acbl.cpp megadriv_rad.cpp megaplay.cpp shtzone.cpp sms.cpp sms.h sms_m.cpp
[src/mame/sharp]x68k.cpp x68k.h


Previous 199869 Revisions Next


© 1997-2024 The MAME Team