Commit Graph

143 Commits

Author SHA1 Message Date
arbee
8bf9290a1e hp9k_3xx: preliminary support for DIO and DIO-II buses and 98544 video card. [R. Belmont] 2017-06-20 21:40:03 -04:00
Nigel Barnes
acdaf11b73 d64plus: Implemented banking of extra 64K, and 6845 with chargen. Machine promoted to WORKING.
dragon32: Added JCB Sound Extension cartridge.

dragon200e: Added correct keyboard.
2017-06-15 18:43:33 +01:00
Michael Zapf
6e577c5465 ti99: Hexbus implementation; floppy HX5102 early WIP 2017-06-06 16:21:51 +02:00
npwoods
4d50a02111 CoCo: Overhaul to the cartridge slot subsystem and Speech/Sound Cartridge support [Nathan Woods, Tim Lindner] 2017-06-01 12:45:51 +02:00
Michael Zapf
347e8a4fb7 ti99: Created bus gromport, split monster file gromport 2017-05-25 16:01:23 +02:00
Michael Zapf
1e77ec65c1 ti99: Added console connector "ioport" with PEB as slot option 2017-05-25 00:34:17 +02:00
Michael Zapf
50b20ddf23 ti99: Wrapped into namespaces; minor rearrangement 2017-05-23 23:22:06 +02:00
tim lindner
239f178cfe Merge branch 'master' into games_master_cartridge 2017-05-14 13:35:43 -07:00
Vas Crabb
0f0d39ef81 Move static data out of devices into the device types. This is a significant change, so please pay attention.
The core changes are:
* Short name, full name and source file are no longer members of device_t, they are part of the device type
* MACHINE_COFIG_START no longer needs a driver class
* MACHINE_CONFIG_DERIVED_CLASS is no longer necessary
* Specify the state class you want in the GAME/COMP/CONS line
* The compiler will work out the base class where the driver init member is declared
* There is one static device type object per driver rather than one per machine configuration

Use DECLARE_DEVICE_TYPE or DECLARE_DEVICE_TYPE_NS to declare device type.
* DECLARE_DEVICE_TYPE forward-declares teh device type and class, and declares extern object finders.
* DECLARE_DEVICE_TYPE_NS is for devices classes in namespaces - it doesn't forward-declare the device type.

Use  DEFINE_DEVICE_TYPE or DEFINE_DEVICE_TYPE_NS to define device types.
* These macros declare storage for the static data, and instantiate the device type and device finder templates.

The rest of the changes are mostly just moving stuff out of headers that shouldn't be there, renaming stuff for consistency, and scoping stuff down where appropriate.

Things I've actually messed with substantially:
* More descriptive names for a lot of devices
* Untangled the fantasy sound from the driver state, which necessitates breaking up sound/flip writes
* Changed DECO BSMT2000 ready callback into a device delegate
* Untangled Microprose 3D noise from driver state
* Used object finders for CoCo multipak, KC85 D002, and Irem sound subdevices
* Started to get TI-99 stuff out of the TI-990 directory and arrange bus devices properly
* Started to break out common parts of Samsung ARM SoC devices
* Turned some of FM, SID, SCSP DSP, EPIC12 and Voodoo cores into something resmbling C++
* Tried to make Z180 table allocation/setup a bit safer
* Converted generic keyboard/terminal to not use WRITE8 - space/offset aren't relevant
* Dynamically allocate generic terminal buffer so derived devices (e.g. teleprinter) can specify size
* Imporved encapsulation of Z80DART channels
* Refactored the SPC7110 bit table generator loop to make it more readable
* Added wrappers for SNES PPU operations so members can be made protected
* Factored out some boilerplate for YM chips with PSG
* toaplan2 gfx
* stic/intv resolution
* Video System video
* Out Run/Y-board sprite alignment
* GIC video hookup
* Amstrad CPC ROM box members
* IQ151 ROM cart region
* MSX cart IRQ callback resolution time
* SMS passthrough control devices starting subslots

I've smoke-tested several drivers, but I've probably missed something.  Things I've missed will likely blow up spectacularly with failure to bind errors and the like.  Let me know if there's more subtle breakage (could have happened in FM or Voodoo).

And can everyone please, please try to keep stuff clean.  In particular, please stop polluting the global namespace.  Keep things out of headers that don't need to be there, and use things that can be scoped down rather than macros.
It feels like an uphill battle trying to get this stuff under control while more of it's added.
2017-05-14 21:44:11 +10:00
tim lindner
06d430fbcb Emulation of Games Master Cartridge 2017-05-13 13:29:53 -07:00
Nigel Barnes
735ab4f355 electron: Added Power Software joystick interface 2017-04-21 16:42:52 +01:00
Nigel Barnes
3ee922ace8 electron: Added First Byte joystick interface 2017-03-23 20:47:26 +00:00
R. Belmont
8b9ef0b09e Merge pull request #2172 from kazblox/master
Additions/improvements to nes driver and softlist
2017-03-21 15:23:29 -04:00
kazblox
c488308495 nes: Add Subor Type 2 board. (nw)
nes: Fix debug output when reading iNES headers. (nw)

nes/ppu2c0x: Improved PAL clone timings. (nw)

nes/n2a03: Refactored clock definitions [includes other drivers using the
N2A03] (nw)

nes: Improved refresh rates and timings to reflect nesdev (nw)

nes: Softlist improvements and corrections [koko, mkgoogoo and others] (nw)

nes: Verified koko in the softlist as a good dump (nw)

nes: Softlist additions [subor5, subor6, subor10, subor11, subor13, doolybld]
(nw)

New not working machines added: Subor SB-486, M82 Display Unit (PAL) (nw)

nes: Marked drpcjr as NOT WORKING due to missing hardware. (nw)

New working machines added: Micro Genius IQ-501, Micro Genius IQ-502, Dendy Classic 2 (nw)

nes: marked dendy as a clone of iq501 (nw)
2017-03-21 07:46:36 -04:00
Michael Zapf
5322568267 ti99/geneve: Bus mouse now a separate device, may also be used with evpc. 2017-03-19 00:22:33 +01:00
ajrhacker
1265aae040 Merge pull request #2154 from shattered/_b85368c
hp_ipc: de-skeletonize.
2017-03-16 23:35:15 -04:00
Sergey Svishchev
7d4d6382e7 hp_ipc: de-skeletonize. 2017-03-16 22:26:49 +03:00
Sergey Svishchev
7f12847c28 agat: split from apple2, implement basic agat7 hardware (take 2). 2017-03-16 18:16:52 +03:00
Sergey Svishchev
dc6b566136 ie15: convert to a device with frontends (standalone driver and rs232 slot device) (take 2) 2017-03-13 05:37:46 +03:00
Vas Crabb
73e2a3f542 ti85.cpp: Convert TI-8x link port to a bus with emulated peripherals, should work with TI-82 and TI-85.
* tee allows two peripherals to be connected in parallel
* glinkhle is an RS232 (9600 8N1) adaptor
* bitsock sends raw assert/release line signals to/from a bitbanger device
* monospkr is a speaker connected between tip/ring in parallel and sleeve
* stereospkr is two speakers: left across tip and sleeve, right across ring and sleeve

Use glinkhle to make emulated calculators talk with cooked sockets, e.g.

    mame ti82 -linkport glinkhle -linkport:glinkhle:rs232 null_modem -bitb socket.127.0.0.1:2345

Use bitsock to make emulated calculators talk with cooked sockets, e.g.

    mame ti82 -linkport bitsock -bitb socket.127.0.0.1:2345

You can use tee to do stuff like listen to data activity for debugging purposes, e.g.

    mame ti82 -linkport tee -linkport:tee:a stereospkr -linkport:tee:b glinkhle -linkport:tee:b:glinkhle:rs232 null_modem -bitb socket.127.0.0.1:2345
2017-03-01 16:36:42 +11:00
Vas Crabb
6c23897483 Self-registering devices prep:
* Make device_creator a variable template and get rid of the ampersands
* Remove screen.h and speaker.h from emu.h and add where necessary
* Centralise instantiations of screen and speaker finder templates
* Add/standardise #include guards in many hearers
* Remove many redundant #includes
* Order #includesr to help catch headers that can't be #included alone

(nw) This changes #include order to be prefix, unit header if applicable
then other stuff roughly in order from most dependent to least dependent
library.  This helps catch headers that don't #include things that they
use.
2017-02-27 22:57:14 +11:00
Vas Crabb
ba8cbb9732 Revert "ie15: convert to a device with frontends (standalone driver and rs232…" 2017-02-27 17:43:31 +11:00
Sergey Svishchev
0b4832bdf3 ie15: convert to a device with frontends (standalone driver and rs232 slot device) 2017-02-27 00:16:35 +03:00
ajrhacker
a0aa981a6e Merge pull request #2086 from kazblox/master
iNES Mapper 190 support, miscellanous cleanups in some drivers
2017-02-24 18:21:53 -05:00
Kaz
b9209aadbf nes: Add Magic Kid Googoo board. 2017-02-24 16:40:55 -05:00
arbee
dd82e28c83 Get rid of now-deprecated a2lang (nw) 2017-02-06 21:24:56 -05:00
Curt Coder
f419eba57e vic20: Emulated the Data 20 Display Manager 40/80 column video cartridge. [Curt Coder] 2017-02-06 12:34:41 +02:00
Vas Crabb
94e4c48732 Amiga keyboard updates:
* Put Amiga keyboard implementations in a namespace
* Factor out matrix keys to a common module shared by A500/A1200
* Make new German matrix based on US matrix with Alt-chars hooked up
* Remove outdated comment
2017-02-05 16:47:28 +11:00
Curt Coder
f626cefe85 c64: Emulated the PPP Speakeasy 64 (Votrax SC-01-A) cartridge. [Curt Coder] 2017-02-01 21:59:03 +02:00
Curt Coder
e4be985024 vic20: Emulated the PPP SpeakEasy (Votrax SC-01-A) cartridge. [Curt Coder] 2017-02-01 21:16:28 +02:00
Dirk Best
189ac471b4 Convert the Amiga keyboards to a bus interface with slot devices 2017-01-22 11:51:09 +01:00
Vas Crabb
edf64df1db srcclean (nw) 2017-01-22 15:37:37 +11:00
Joakim Larsson Edstrom
615b815259 Added fccpu20 to Miniforce as a VME card 2017-01-21 22:03:21 +01:00
R. Belmont
4cd61d1c72 Merge pull request #1926 from fulivi/hp9845_dev9
HP9895 dual-floppy drive (WIP)
2017-01-05 15:07:40 -05:00
Joakim Larsson Edstrom
52906f6ede - Force Computers VME boards: Converted fcisio1 and fcscsi1 board drivers to VME slot devices and added VME interface to the fccpu30 board driver
- hd63450.h: Added harness against multiple inclusions
- Cleaned up LOG macro usage
2017-01-05 17:34:07 +01:00
fulivi
5e2bf6ea13 hp9845: draft of HP9895 floppy drive. PHI passes POST. 2017-01-05 12:12:33 +01:00
Joakim Larsson Edstrom
25a3e81a1f VME: converted mvme350 board driver to slot device and a general cleanup 2017-01-04 20:30:13 +01:00
Joakim Larsson Edstrom
f6a7d59496 Moved and renamed mame/bus/vme files to devices/bus/vme for now 2017-01-02 13:55:34 +01:00
couriersud
6eaa60953f Slightly better solution to the VME issue. (nw) 2016-12-28 15:58:30 +01:00
couriersud
301a967276 Fix linking issues due to VME commits. All vme bus objects files are now
in the mizar lib. This is suboptimal, but the code seems to
crossreference across object files and from the bus code into the driver
code. 
At least the source now links again. (nw)
2016-12-28 15:01:33 +01:00
Joakim Larsson Edstrom
9bfcd85cc3 Added VME device and divided mzr8105 in board and card devices. Naughty segfault needs to be fixed (nw) 2016-12-26 22:49:50 +01:00
Joakim Larsson Edström
f34174de56 Added coco2 clone t4426 (nw) (#1819)
* Added coco2 clone t4426 (nw)
2016-12-16 14:37:33 +01:00
fulivi
a7ee0a41e9 hp9845: implemented 98034 module (HPIB interface) 2016-11-22 09:53:39 +01:00
Miodrag Milanovic
114aa294cd Fix some single driver builds (nw) 2016-11-08 12:28:56 +01:00
Vas Crabb
129c0feeed srcclean (nw) 2016-10-23 22:36:24 +11:00
fulivi
561ded4524 hp9845: handling of I/O slots added. Implemented HP98035 RTC card. 2016-10-12 16:29:02 +02:00
Nigel Barnes
6a19971bbe bbc: added opus challenger (floppy and ramdisc) device on 1mhz bus 2016-09-23 11:53:24 +01:00
Nigel Barnes
b396019b8c bbc: added joyport slot device to Master Compact, defaulting to joystick 2016-09-23 10:55:28 +01:00
Vas Crabb
76a6b78008 Merge pull request #1413 from npwoods/coco_dragon_fdc
CoCo and Dragon FDC code overhaul
2016-09-17 12:32:38 +10:00
Nathan Woods
a2daca9f9d Split CoCo and Dragon FDC code, added save state support, fixed regression introduced on the Dragon FDC from 0.154 and general cleanup. 2016-09-16 21:07:32 -04:00