Commit Graph

1677 Commits

Author SHA1 Message Date
smf-
104fe318ac don't use -static on msys2 clang 4.0.0 as it's currently broken, also removed -static-libgcc & -static-libstdc++ on gcc builds as they have no effect if you use -static (nw) 2017-05-25 11:02:24 +01:00
arbee
1dbbb778c3 New machines added as MACHINE_NOT_WORKING
-----------------------------------------
Acorn Communicator [R. Belmont]
2017-05-24 23:05:28 -04:00
Michael Zapf
1e77ec65c1 ti99: Added console connector "ioport" with PEB as slot option 2017-05-25 00:34:17 +02:00
arbee
e8aa0ab5df New games added as GAME_NOT_WORKING:
Shoot Away II [R. Belmont, Surgeville, Sean Sutton, Smitdogg, The Dumping Union]
2017-05-23 21:41:29 -04:00
R. Belmont
fbd2e33023 Merge pull request #2332 from DavidHaywood/nesvt2
preliminary steps for basic VT03 (NES clone) support
2017-05-23 21:22:07 -04:00
Michael Zapf
50b20ddf23 ti99: Wrapped into namespaces; minor rearrangement 2017-05-23 23:22:06 +02:00
David Haywood
7eeae7892d basic VT03 support 2017-05-23 21:12:26 +01:00
Vas Crabb
099dd26e89 fix regular builds (single-driver builds were working) (nw) 2017-05-23 23:50:49 +10:00
Vas Crabb
96c9112785 general cleanup:
* move rarely-used output and pty interfaces out of emu.h
* consolidate and de-duplicate forward declarations, also remove some obsolete ones
* clean up more #include guard macros
* scope down a few more things

(nw) Everyone, please keep forward declarations for src/emu in src/emu/emufwd.h -
this will make it far easier to keep them in sync with declarations than having
them scattered through all the other files.
2017-05-23 15:01:11 +10:00
dankan1890
f09ba1e562 Fixed some inaccuracies in file names in lua scripts. 2017-05-21 15:22:03 +10:00
fulivi
e2b9e11da0 Hp9845: Support for HPI floppy format (#2310)
hp9845: Support for HPI floppy format [F. Ulivi, A.Kückes]
2017-05-16 09:52:31 +02:00
smf-
dc1dcd260b fix MSVC debug builds by specifying /bigobj (needed for mpu4). Release builds don't seem to require it. (nw) 2017-05-16 07:56:04 +01:00
Dirk Best
94dc282a8f megaphx: Remove PIC MCU simulation, emulate it instead
* It's now emulated using the existing PIC16C54 dump
* Proper 8255 PPI hookup
* Clean up dip switches, add dip locations
* Add documentation
2017-05-16 00:24:29 +02:00
Dirk Best
85c01f5721 New device: SN54/74166 8-Bit Parallel-In/Serial-Out Shift Register 2017-05-16 00:24:08 +02:00
cracyc
40e1e3e698 Merge pull request #2303 from cracyc/linenoise_new
linenoise work
2017-05-15 11:41:06 -05: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
dankan1890
0e638ad0a2 Lua scripts cleanup. 2017-05-14 14:20:38 +10:00
cracyc
4ebc18aeec linenoise: replace linenoise-ng with a different port that is simpler and uses a different UTF8 parser [Carl]
plugins/console: better completions [Carl]
2017-05-13 16:57:47 -05:00
Ted Green
d2224d2eee vrc5074: Added new Nile 4 System Controller device 2017-05-13 14:30:06 -06:00
tim lindner
06d430fbcb Emulation of Games Master Cartridge 2017-05-13 13:29:53 -07:00
Ivan Vangelista
0ae2e886e1 acchi.cpp: corrected game title and renamed driver patapata.cpp (nw) 2017-05-10 17:37:49 +02:00
Lord-Nightmare
3d18cb2faa Add preliminary Sharp SM590 CPU core [Lord Nightmare, hap] 2017-05-09 14:24:39 -04:00
yz70s
1b1c4cfa0f xbox: third step in removing the legacy pci system in favor of the new one (nw) 2017-05-07 15:47:29 +02:00
hap
94776accf5 New Working machine added
--------
Fidelity Sensory Chess Challenger 6 [hap, yovan]
2017-05-02 19:32:50 +02:00
Dirk Best
cbca538ae9 chinsan: Merge mayumi driver
* Interrupt enable and flip screen hooked up for chinsan
* NVRAM support for chinsan
2017-05-01 13:06:10 +02:00
Jean-François DEL NERO
7b5cea4f76 New machine support : The French Minitel 2 Terminal. (#2261)
* TS9347 variant support added
* New machine support : Minitel 2 (Radiotechnique Portenseigne / Philips)
2017-04-29 13:34:19 +10:00
hap
885740752f moved nupogodi to another driver (nw) 2017-04-27 19:03:09 +02:00
Olivier Galibert
9d5d0a2205 (nw) 2017-04-25 21:17:14 +02:00
Olivier Galibert
2b066459bd k054321: Implement as a device [O. Galibert, Phil Bennett] 2017-04-25 19:54:17 +02:00
Lord-Nightmare
91bb0eb6e0 New NOT_WORKING driver added
---------
BPM Microsystems BP-1200 [Lord Nightmare]
2017-04-25 03:04:17 -04:00
Ivan Vangelista
419debe4ed New not working machine
-----------------------------------
Space Cyclone [David Haywood, Nicolas Francfort, Sean Sutton, Tourniquet, ShouTime, Anonymous Donator, ranger_lennier, David Stevens, Mr. Goodwraith, John Wilke, Paul Vining, Ryan Gatto, rtw, Jan Stuhler, Rod_Wod, Elliott Kipper, Greg Stout, *=/STARRIDER\=*, Ross Esposito, Paul Gaulton, Chris Heflin, Anonymous Donator from Switzerland, Fabien Marsaud, Surgeville, krick, B2K24, Anonymous Donator from Italy, David Jorge, Andrea Babich, Ciacchi Stefano, Mucci, gamez fan, Brian Troha, VFR750P, anonymous, Mr. Anonymous from Outer Space, InsertMoreCoins, Game Preservation Society, dax_PL, Russell Howard, Peter Wilhelmsen, Sébastien Monassa, f205v, Smitdogg, Gerald (COY), Brian Sutherland, The Dumping Union]
2017-04-24 16:17:45 +02:00
Vas Crabb
dac6dc4f62 srcclean (nw) 2017-04-23 12:27:42 +10:00
Ivan Vangelista
9c4188fd82 New not working machine
-----------------------------------
Acchi Muite Hoi [David Haywood, Surgeville, Sean Sutton, Jred, Mike Krug, Smitdogg, The Dumping Union]
2017-04-22 07:40:14 +02:00
hap
2c622f1f67 skeleton driver for novag presto (nw) 2017-04-22 04:01:10 +02:00
Nigel Barnes
735ab4f355 electron: Added Power Software joystick interface 2017-04-21 16:42:52 +01:00
AJR
8bd261ec38 Build list fixes (nw) 2017-04-18 13:38:23 -04:00
AJR
e807eef14a New NOT WORKING:
* Super Star (Recreativos Franco) [AJR, Akiles500]
2017-04-17 00:10:22 -04:00
AJR
498fc34641 Add VS9209 I/O device for various Video System games 2017-04-15 00:09:00 -04:00
AJR
0188b4e80b segaybd.cpp, srallyc: Add OKI MSM6253 device 2017-04-12 23:09:13 -04:00
cracyc
490d00afb7 ds1205: Add Dallas DS1205 Multikey [Carl] 2017-04-12 17:32:22 -05:00
Robbbert
7f9b1a42e5 (nw) Hopefully fixed arcade-only build. 2017-04-12 17:21:38 +10:00
angelosa
dab0378933 crospuzl belongs to crystal.cpp (nw) 2017-04-12 04:55:51 +02:00
AJR
32984a5a51 segaxbd.cpp: Rewrite CXD1095 as a device and also add it to megatech.cpp 2017-04-10 22:55:00 -04:00
AJR
5f29d0b1a3 Fix OS X tools build when MAME_DIR includes spaces (nw) 2017-04-09 10:36:18 -04:00
Ivan Vangelista
a3083cd361 fixed build (nw) 2017-04-09 08:21:36 +02:00
AJR
8fe18e9ecc New device interface for palettes
- Create device_palette_interface, which takes over most functionality from palette_device except for the initialization/decoding routines and RAM interface.
- Update screen_device and device_gfx_interface to use a device_palette_interface object rather than a palette_device. This necessitates slight alterations to a few drivers and devices.
- Modify v9938 and v9958 to use the new device_palette_interface rather than a subdevice. This entails breaking a cyclic dependency between device_video_interface and screen_device for this case.
2017-04-06 11:30:40 +10:00
Ivan Vangelista
da69e8daac New not working machine
-----------------------------------
Gaelco Championship Tuning Race [Mark F., Smitdogg, The Dumping Union]

Also renamed the driver from tokyocop.cpp to gaelcopc.cpp. Other game on this hardware is Ring Riders. (nw)
2017-04-04 19:58:47 +02:00
arbee
63e52ca1f4 New games added as GAME_NOT_WORKING:
Otomedius [R. Belmont, dopefishjustin, G. Paziouros, S. Fauveau, R. Higashi, R. Howard, B. Munger, S. S. Neilson, Tormod, Smitdogg, The Dumping Union]
2017-04-02 15:05:41 -04:00
arbee
9c963f9b53 New games added as GAME_NOT_WORKING:
Pirate Ship [Phil Bennett, R. Belmont, (dump credits?)]
2017-04-01 16:53:24 -04:00
arbee
7dcec7ba76 New games added as GAME_NOT_WORKING:
GI-Classic EX [R. Belmont, Jacob Kesinger, Surgeville, Paul Vining, Smitdogg, The Dumping Union]
2017-04-01 08:54:34 -04:00
Ariane Fugmann
c8554aabcb vicdual: add 97269-P-B and 97271-P daughterboards for nsub (#2192) 2017-03-31 09:52:42 +11:00
Miodrag Milanovic
eb04392728 well issue is on any gcc 5.x (nw) 2017-03-30 08:50:24 +02:00
Miodrag Milanovic
3fff3faf6c proper fix (nw) 2017-03-30 08:36:15 +02:00
Miodrag Milanovic
0921d7aaae 2nd try (nw) 2017-03-29 18:14:35 +02:00
Miodrag Milanovic
456d9e3b47 Fix linux compile (nw) 2017-03-29 17:58:36 +02:00
Branimir Karadžić
49f7c99c77 Update BGFX and BX (nw) 2017-03-29 17:09:40 +02:00
Ivan Vangelista
015cb391ce New not working machine added
-----------
Unknown Poker Game by Chain Leisure [Gerald (COY), The Dumping Union]

My name as the copyright holder is a placeholder. Please remove as soon as someone fleshes this driver out. (nw)
2017-03-27 18:56:36 +02:00
Nigel Barnes
3ee922ace8 electron: Added First Byte joystick interface 2017-03-23 20:47:26 +00:00
Nigel Barnes
f224898523 archimedes: Added JFD floppy format as used by JASPP (Archimedes Software Preservation Project) 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
Miodrag Milanovic
ad2bedf06b Refactored HTTP handling to be easier to extend and use (nw) 2017-03-19 18:35:05 +01: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
AJR
cd7babc775 Add skeleton device for Video System C7-01 GGA
(nw) This has uncovered what might be a core bug: AM_SELECT does not work properly with masked handlers.
2017-03-18 12:00:39 -04:00
Vas Crabb
558e7f0f9a rebalance arcade libs a little (nw) 2017-03-18 19:37:05 +11: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
Lord-Nightmare
cb1a5c91e8 build fix for separate builds (nw) 2017-03-15 19:18:08 -04:00
hap
7f5c0d8703 fix compile (nw) 2017-03-15 16:57:45 +01:00
R. Belmont
b72b363175 Merge pull request #2142 from shattered/_9a6d02f
ie15: convert to a device with frontends (take 2)
2017-03-15 10:47:12 -04: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
Sergey Svishchev
8fd315da7e eurocom2, waveterm: new skeleton drivers (Eltec EurocomII SBC, PPG Waveterm A) 2017-03-12 17:17:06 +03:00
hap
3e867504c1 added hlcd0538 device (nw) 2017-03-10 16:44:33 +01:00
cracyc
c86d1d1c9a New not working
------------------
Ampro Computers Little Board/186 [Carl, Al Kossow]

Out of WN
Requires "Monitor Busy" IRQs from the 5380 to read the SCSI HDD.
2017-03-04 19:23:09 -06:00
Ivan Vangelista
c51e402aad New not working games
___________________
Space Ship [PinMAME]
White Force [PinMAME]
2017-03-01 18:50:04 +01: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
cac5699162 back this out, too (nw) 2017-02-27 19:35:36 +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
AJR
995388d469 Fix MESS build (nw) 2017-02-26 20:42:36 -05:00
ajrhacker
80f207f79d Merge pull request #2096 from shattered/_52bb574
ie15: convert to a device with frontends (standalone driver and rs232…
2017-02-26 19:12:01 -05: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
Dirk Best
663c789014 blockade: Rewrite driver
* Remove fake interrupts and rewrite coin handling
* Use correct CPU type
* Use screen raw parameters
* Use generic 8x8x1 gfx layout
* Update ROM filenames
2017-02-26 15:34:32 +01:00
hap
ba7e8fb8ee moved fphantom to fidel6502 driver (nw) 2017-02-25 20:24:20 +01:00
Mark Garlanger
9533352c6b Fix Heath H19 keyboard (#2066)
* Fix Heath H19 keyboard
* Fix how enable/disable of 25th line is handled.
* Updated to use internal ROM in MM5740.
2017-02-25 11:58:16 +11: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
hap
fad0f4eb67 skeleton driver for cxg chess 2001 (nw) 2017-02-21 21:53:30 +01:00
AJR
d31f08ef77 docastle.cpp: Read inputs through TMS1025
tms1024/tms1025: Add input callbacks and read handler; clean up code a little
2017-02-19 19:38:55 -05:00
Vas Crabb
8f15315a52 srcclean (nw) 2017-02-19 11:40:55 +11:00
couriersud
2acad1f854 Add prodigy to mamenl build. Fix clang5 warnings. (nw) 2017-02-19 01:00:48 +01:00
Dirk Best
1341bc5321 ambush: Rewrite driver.
- Use tilemap system to draw background/foreground characters (and use
generic gfx_8x8x2_planar layout)
- Add mario and dkong3 bootlegs running on extended hardware (color
PROMs for those haven't been dumped, using the PROMs from the original
currently)
- Update and correct dip switches
- Document tile attribute RAM and sprite RAM layout bits
- Use screen raw parameters
- Add connector layout
- Update TODO list
- Update ROM filenames

New working driver:
-------------------
Donkey Kong 3 (bootleg on Ambush hardware)
2017-02-18 16:29:19 +01:00
R. Belmont
7b193346a8 Merge pull request #2068 from JoakimLarsson/prodigy_display
Prodigy display
2017-02-17 21:59:51 -05:00
couriersud
0716d96514 Reworked truthtables a bit.
- Moved 9312 and 74279 to ttl macro library.
- Renamed TTL_9312_* to DM9312. This is more appropriate.
- Fixed a number of warnings from latest ubuntu clang-5.0.
2017-02-17 20:10:15 +01:00
Joakim Larsson Edstrom
520e693dc2 prodigy: added new devices to script files 2017-02-17 09:05:30 +01:00
Joakim Larsson Edstrom
f0da6bbf69 prodigy: Netlist for BCD display 2017-02-17 09:05:30 +01:00
Scott Stone
96468022ed Get MAME a-compiling finally (nw) 2017-02-16 03:14:57 -05:00
R. Belmont
1835b25d6d Merge pull request #2062 from shattered/_fb4f4dd
ms0515.cpp -- hook up keyboard and floppy, improve video emulation etc. (take 2)
2017-02-15 21:58:06 -05:00