summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/bus.lua
Commit message (Collapse)AuthorAgeFilesLines
* ti99: Created bus gromport, split monster file gromport Michael Zapf2017-05-251-2/+11
|
* ti99: Added console connector "ioport" with PEB as slot option Michael Zapf2017-05-251-0/+2
|
* ti99: Wrapped into namespaces; minor rearrangement Michael Zapf2017-05-231-11/+13
|
* Merge branch 'master' into games_master_cartridge tim lindner2017-05-141-48/+49
|\
| * Move static data out of devices into the device types. This is a ↵ Vas Crabb2017-05-141-48/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Emulation of Games Master Cartridge tim lindner2017-05-131-0/+2
|/
* electron: Added Power Software joystick interface Nigel Barnes2017-04-211-0/+2
|
* electron: Added First Byte joystick interface Nigel Barnes2017-03-231-0/+2
|
* Merge pull request #2172 from kazblox/master R. Belmont2017-03-211-0/+2
|\ | | | | Additions/improvements to nes driver and softlist
| * nes: Add Subor Type 2 board. (nw) kazblox2017-03-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | ti99/geneve: Bus mouse now a separate device, may also be used with evpc. Michael Zapf2017-03-191-0/+4
| |
* | Merge pull request #2154 from shattered/_b85368c ajrhacker2017-03-161-0/+17
|\ \ | | | | | | hp_ipc: de-skeletonize.
| * | hp_ipc: de-skeletonize. Sergey Svishchev2017-03-161-0/+17
| | |
* | | agat: split from apple2, implement basic agat7 hardware (take 2). Sergey Svishchev2017-03-161-0/+4
|/ /
* / ie15: convert to a device with frontends (standalone driver and rs232 slot ↵ Sergey Svishchev2017-03-131-0/+2
|/ | | | device) (take 2)
* ti85.cpp: Convert TI-8x link port to a bus with emulated peripherals, should ↵ Vas Crabb2017-03-011-0/+20
| | | | | | | | | | | | | | | | | | | | | | 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
* Self-registering devices prep: Vas Crabb2017-02-271-0/+1
| | | | | | | | | | | | | | * 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.
* Revert "ie15: convert to a device with frontends (standalone driver and ↵ Vas Crabb2017-02-271-2/+0
| | | | rs232…"
* ie15: convert to a device with frontends (standalone driver and rs232 slot ↵ Sergey Svishchev2017-02-271-0/+2
| | | | device)
* Merge pull request #2086 from kazblox/master ajrhacker2017-02-241-0/+2
|\ | | | | iNES Mapper 190 support, miscellanous cleanups in some drivers
| * nes: Add Magic Kid Googoo board. Kaz2017-02-241-0/+2
| |
* | Get rid of now-deprecated a2lang (nw) arbee2017-02-061-2/+0
| |
* | vic20: Emulated the Data 20 Display Manager 40/80 column video cartridge. ↵ Curt Coder2017-02-061-0/+2
| | | | | | | | [Curt Coder]
* | Amiga keyboard updates: Vas Crabb2017-02-051-0/+2
|/ | | | | | | * 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
* c64: Emulated the PPP Speakeasy 64 (Votrax SC-01-A) cartridge. [Curt Coder] Curt Coder2017-02-011-0/+2
|
* vic20: Emulated the PPP SpeakEasy (Votrax SC-01-A) cartridge. [Curt Coder] Curt Coder2017-02-011-0/+2
|
* Convert the Amiga keyboards to a bus interface with slot devices Dirk Best2017-01-221-0/+16
|
* srcclean (nw) Vas Crabb2017-01-221-12/+12
|
* Added fccpu20 to Miniforce as a VME card Joakim Larsson Edstrom2017-01-211-0/+2
|
* Merge pull request #1926 from fulivi/hp9845_dev9 R. Belmont2017-01-051-0/+2
|\ | | | | HP9895 dual-floppy drive (WIP)
| * hp9845: draft of HP9895 floppy drive. PHI passes POST. fulivi2017-01-051-0/+2
| |
* | - Force Computers VME boards: Converted fcisio1 and fcscsi1 board drivers to ↵ Joakim Larsson Edstrom2017-01-051-2/+4
|/ | | | | | | VME slot devices and added VME interface to the fccpu30 board driver - hd63450.h: Added harness against multiple inclusions - Cleaned up LOG macro usage
* VME: converted mvme350 board driver to slot device and a general cleanup Joakim Larsson Edstrom2017-01-041-4/+2
|
* Moved and renamed mame/bus/vme files to devices/bus/vme for now Joakim Larsson Edstrom2017-01-021-4/+4
|
* Slightly better solution to the VME issue. (nw) couriersud2016-12-281-0/+10
|
* Fix linking issues due to VME commits. All vme bus objects files are now couriersud2016-12-281-6/+0
| | | | | | 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)
* Added VME device and divided mzr8105 in board and card devices. Naughty ↵ Joakim Larsson Edstrom2016-12-261-0/+17
| | | | segfault needs to be fixed (nw)
* Added coco2 clone t4426 (nw) (#1819) Joakim Larsson Edström2016-12-161-0/+1
| | | | * Added coco2 clone t4426 (nw)
* hp9845: implemented 98034 module (HPIB interface) fulivi2016-11-221-2/+3
|
* Fix some single driver builds (nw) Miodrag Milanovic2016-11-081-1/+1
|
* srcclean (nw) Vas Crabb2016-10-231-1/+1
|
* hp9845: handling of I/O slots added. Implemented HP98035 RTC card. fulivi2016-10-121-0/+12
|
* bbc: added opus challenger (floppy and ramdisc) device on 1mhz bus Nigel Barnes2016-09-231-0/+2
|
* bbc: added joyport slot device to Master Compact, defaulting to joystick Nigel Barnes2016-09-231-0/+15
|
* Merge pull request #1413 from npwoods/coco_dragon_fdc Vas Crabb2016-09-171-0/+1
|\ | | | | CoCo and Dragon FDC code overhaul
| * Split CoCo and Dragon FDC code, added save state support, fixed regression ↵ Nathan Woods2016-09-161-0/+1
| | | | | | | | introduced on the Dragon FDC from 0.154 and general cleanup.
* | mcd: add incomplete Mitsumi ISA CDROM emulation [Carl] cracyc2016-09-161-0/+2
|/
* pc1512: Added mouse port slot interface. [Curt Coder] Curt Coder2016-09-051-0/+12
|
* bbc: moved joystick to analogue port slot device Nigel Barnes2016-09-051-0/+2
| | | | - added Voltmace self-centering joysticks
* bbcb: moved fdc to slot device to support various controller boards: Nigel Barnes2016-09-051-0/+21
| | | | | | | | - Acorn 8271 and 1770, supporting Acorn, Amcom, Watford DFS's - Cumana QFS (8877a) - Opus DDOS and EDOS (1770, 2793, 2791) - Watford DDFS (1770 and 1772) - removed fake bbcb1770 machine