Commit Graph

1546 Commits

Author SHA1 Message Date
Vas Crabb 0e73860daa and the CPU too (nw) 2017-01-25 16:15:41 +11:00
Vas Crabb 45d40fa8c4 fix build 2017-01-25 16:08:44 +11:00
Vas Crabb 145cd1618f Merge tag 'mame0182' of https://github.com/mamedev/mame
MAME 0.182

Conflicts:
	src/mame/drivers/aristmk5.cpp
2017-01-25 12:21:30 +11:00
R. Belmont 5bb61a8965 Merge pull request #2016 from pmackinlay/interpro
Interpro
2017-01-24 14:02:51 -05:00
Patrick Mackinlay 875f3c9d12 initial pull request 2017-01-24 21:53:51 +07:00
Vas Crabb 192c09b374 comma (nw) 2017-01-23 19:42:19 +11:00
Vas Crabb 2d6477f872 This isn't behaving how I expect, investigate another time (nw) 2017-01-23 19:37:51 +11:00
Vas Crabb 110bc692fa portaudio needs COM (nw) 2017-01-23 19:12:47 +11: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
Vas Crabb f249941f3a Merge pull request #2007 from JoakimLarsson/miniforce
Miniforce and fccpu20 slot device
2017-01-22 15:25:55 +11:00
Joakim Larsson Edstrom 615b815259 Added fccpu20 to Miniforce as a VME card 2017-01-21 22:03:21 +01:00
Dirk Best aea2c5e14a Add A1200 keyboard skeleton device (needs MC68HC05Cx support) 2017-01-21 02:28:00 +01:00
hap 41e4bb5797 added hlcd0515 skeleton device (nw) 2017-01-21 01:46:33 +01:00
R. Belmont da169d7fe0 Merge pull request #2002 from wilbertpol/hcd62121
hcd62121/cfx9850: several small cleanups (nw)
2017-01-20 15:29:12 -05:00
Vas Crabb 19a9122748 add logmacro.h inspired by Edstrom's log macros
* should be #included after other headers and after optionally #defining VERBOSE
* usage samples in z80scc.cpp and m68705.cpp

68705: add lots of logging to help trace issues
2017-01-20 16:53:12 +11:00
Wilbert Pol fc16e06975 hcd62121: several small cleanups (nw) 2017-01-19 22:50:30 +01:00
Vas Crabb 98b85af4a7 pitnrun: use new MC68705P5 device
m68705: expose more more internal registers through the state interface
* shows contents of registers that can't be read by program code

i8251: make receive more reliable clean up a little

zorba: meat on the bones
* create emulated keyboard device
  - 88 of 96 matrix keys identified, 6 of 8 DIP switches identified, 3 of 6 outputs identified
* connect IEEE-488, RS232 and Centronics ports
* hook up all IRQ sources and connect PIT to UARTs
* more notes

osborne1, gladiatr: use input changed member (nw)
2017-01-19 20:51:30 +11:00
Vas Crabb fbb99184b7 retofinv: use common Taito MCU hookup 2017-01-17 19:11:14 +11:00
R. Belmont 043005906d Merge pull request #1991 from ajrhacker/68561mpcc_fix
Fix build (nw)
2017-01-16 20:48:19 -05:00
AJR 293a840a93 Fix build (nw) 2017-01-16 20:10:11 -05:00
couriersud ca11021d73 Netlist:
- refactored reverse polish notation evaluator into own source files.
- added function parameter to current and voltage sources VS and CS.
  You can now use those to e.g. produce a sine wave.
- Changed code to allow devices to optionally be treated as dynamic or 
  timestepping devices.
[Couriersud]
2017-01-17 01:35:16 +01:00
Joakim Larsson Edström 976d3d5c7f Merge pull request #1990 from JoakimLarsson/mpcc_1
- WIP: Refactored device: MPCC 68561 (nw)
2017-01-16 23:55:05 +01:00
Joakim Larsson Edstrom a2f105b8e4 - WIP: Refactored device: MPCC 68561 (nw)
- 68230 PIT: Added support for the PSR register, H1-H4 sense and direct pin levels
- WIP: fccpu20: added mpcc device and serial interface (nw)
2017-01-16 23:49:55 +01:00
Nigel Barnes 2188df0263 apd_dsk: new floppy format 'Archimedes Protected Disk' 2017-01-16 20:44:43 +00:00
Curt Coder 9d371eb5ba cop400: Properly separated COP444L from COP444C. [Curt Coder] 2017-01-16 22:06:11 +02:00
hap 8dabc094da added novag68k skeleton driver, moved diablo68 to it (nw) 2017-01-16 19:59:30 +01:00
hap b72848be49 added novag base class (nw) 2017-01-16 19:28:56 +01:00
Curt Coder af0805d848 cop400: Removed non-working, incomplete COP440 code. (nw) 2017-01-16 20:13:31 +02:00
hap dae1284f9d renamed fidelity base class (nw) 2017-01-16 19:11:02 +01:00
R. Belmont 2fd881e559 Merge pull request #1973 from intealls/pafixes
PortAudio fixes
2017-01-14 23:40:30 -05:00
Vas Crabb b36d61fbf2 taito68705interface improvements:
* remove non-obvious mcu_status_r and semaphore_r members and move to drivers (varies by system)
* slap fight functionality can be safely folded into base class so do so
* remove leftover crud from driver state classes

qix.cpp, bub68705, changela: use new MC68705P3 core
2017-01-15 14:56:56 +11:00
intealls e74399a722 fix msvc compile 2017-01-14 23:34:33 +01:00
couriersud 674077f89f Prepare source for consistent error message usage. (nw) 2017-01-14 16:35:57 +01:00
Vas Crabb 59ea37367e m6805: fix state of input lines being lost on reset
m68705: fix pushed input ports, implement EPROM write (not saved yet)

New WORKING machines:
---------------------
Motorola MC68705P3 programmer
Motorola MC68705P5 programmer
Motorola MC68705U3 programmer
2017-01-13 23:53:09 +11:00
R. Belmont 32c13ad929 Merge pull request #1959 from intealls/pa_oct16
PortAudio library update and backend
2017-01-12 20:30:12 -05:00
Lord-Nightmare d04e7f7e62 fix arcade build (n/w) 2017-01-12 17:01:20 -05:00
Joakim Larsson Edstrom be76377dcf New device: BIM 68153 2017-01-12 10:39:55 +01:00
Vas Crabb 02d69ca65a m6805: refactoring and improvements
* Moved 68705 devices into their own file.
* Made P3, P5 and U3 variants and made them load bootstrap ROMs.
* Implemented EPROM control (write is stubbed out with a logerror).
* Implemented differences for open drain I/O ports.

(nw) Base device with peripherals should really derive from the 6805
device directly, not the 68705 devices, as I/O ports are present on mask
devices (e.g. 6805P2).  All drivers and devices that were using
M68705_NEW have been changed to M68705P5 - someone who knows the drivers
better should fix them up.
2017-01-12 19:05:12 +11:00
cracyc 36301281fe New not working
-----------------
Compugraphic MCS PowerView 10 [Carl, Al Kossow]
2017-01-11 17:14:09 -06:00
inte alls cd03a64284 Initial PortAudio backend with build script changes to support library version 20161030 2017-01-11 20:24:00 +01:00
AJR 5e442a887f Fix build (nw) 2017-01-10 00:07:47 -05:00
R. Belmont a9143f121e Merge pull request #1949 from shattered/_6b4b431
IBM 6580 Displaywriter de-skeletonization [shattered]
2017-01-09 21:36:12 -05:00
Sergey Svishchev a1b75af694 IBM 6580 Displaywriter de-skeletonization [shattered] 2017-01-10 00:30:56 +03:00
couriersud 9d3d07b771 Move netlists into macro folder. (nw) 2017-01-09 00:28:31 +01:00
Joakim Larsson Edstrom 9bd33d0082 WIP: miniFORCE 2P21 chassi 2017-01-06 00:18:04 +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 Edström 34c3e7866b Merge pull request #1927 from JoakimLarsson/vme_1
Converted fcisio1 and fcscsi1 boards to VME slot devices
2017-01-05 17:37:59 +01: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
R. Belmont d58d1fa0ec Merge pull request #1923 from ajrhacker/efo_zsu
Cedar Magnet/EFO ZSU
2017-01-04 21:16:49 -05:00
couriersud 02c3f45bff Fix clang "-Wno-weak-vtables" warnings in netlist source. Refactored
code along the way. (nw)
2017-01-05 01:43:31 +01:00
AJR 6f8c39e442 Cedar Magnet/EFO ZSU
- Conversion of the Cedar Magnet board from a base device class to a mix-in interface
- Emulate EFO ZSU as main variant of the Cedar Magnet sound board
- Hook up ZSU1 to Skill Flight and Phantom Ship
- Modernize ZSU soundlatch/IRQ mechanism
- More hardware notes (nw)
- Various associated code cleanups (nw)
2017-01-04 17:43:31 -05:00
Joakim Larsson Edström 7907229e28 Merge pull request #1922 from JoakimLarsson/vme1
VME: converted mvme350 board driver to slot device and a general cleanup
2017-01-04 20:31:55 +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
couriersud 78ef96336e Added SIGFPE enabling code to plib/pexception.*. Moved plib exceptions
into these files as well. The code uses <cfenv> which is part of c++11
standard. Non-standard glib extensions are currently only used on linux
and (i386 or x86_64). (nw)
2017-01-04 18:01:22 +01:00
Miodrag Milanovic 63e3f48775 Added initial HTTP/HTTPS webserver/websocket server support (nw) 2017-01-04 16:15:57 +01:00
David Haywood d2877791fd new NOT WORKING - Happy Fish (V2 PCB, 302-in-1) [The Dumping Union]
we've been sitting on this for a while, progress was shown a few years ago, but is apparently lost.  Smitdogg should be able to clarify the exact part numbers, they're not readable in the pictures.
2017-01-04 00:29:13 +00: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
angelosa 358271ab3f Merge branch 'master' into c148_rewrite
# Conflicts:
#	hash/ibm5150.xml
#	src/mame/drivers/gsword.cpp
#	src/mame/drivers/rm380z.cpp
#	src/mame/drivers/rohga.cpp
2017-01-02 04:15:37 +01:00
angelosa 294efe0d36 Bulk rename video/c116.cpp into namco_c116.cpp 2017-01-01 23:55:05 +01:00
R. Belmont 94de598e97 Merge pull request #1886 from mamehaze/281216
Taito 68705 refactoring
2017-01-01 12:01:04 -05:00
R. Belmont e7bc92d930 Merge pull request #1897 from npwoods/introduce_utf8proc
Introduced utf8proc and created wrapper code to expose a prettier API
2017-01-01 08:32:39 -05:00
Nathan Woods 123ccb1790 Heh missed these too 2016-12-31 20:07:30 -05:00
angelosa 0387005c1e Added dummy C139 device for debug, fixed target compile. 2016-12-31 23:54:15 +01:00
Nathan Woods 4f08110c53 Introduced 'ext_lib("utf8proc")' to a number of the tools builds 2016-12-31 17:07:14 -05:00
couriersud 47f788ed2d Hook up luigi walking sound in netlist mario sound implementation.
Mario driver now uses netlist audio implementation instead of discrete
implementation. The previous discrete sound emulation has not been
removed yet because it still contains a lot of documentation.
[Couriersud]
2016-12-31 22:20:34 +01:00
Brad Hughes 3e9a6118eb Move special windows.h include directives to build defines (nw) 2016-12-31 22:18:38 +01:00
Nathan Woods 5be1b8e6e0 Introduced utf8proc and created wrapper code to expose a prettier API 2016-12-31 11:17:07 -05:00
couriersud 3a4bc804c0 Hook up luigi walking sound in netlist mario sound implementation.
Mario driver now uses netlist audio implementation instead of discrete
implementation. The previous discrete sound emulation has not been
removed yet because it still contains a lot of documentation.
[Couriersud]
2016-12-31 15:21:05 +01:00
David Haywood 9893cff3ac use generic code for lkage.cpp 2016-12-28 22:07:31 +00:00
Brad Hughes b47ec24df6 Move special windows.h include directives to build defines (nw) 2016-12-28 15:07:28 -05:00
angelosa e252486d17 Written a device core for the Namco 6-speed gearbox [Angelo Salese]
(Used by Driver's Eyes, Ridge Racer DX and Ace Driver)
2016-12-28 19:52:06 +01:00
David Haywood 878f436343 taito refactoring pt1. 2016-12-28 16:20:38 +00: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
couriersud 63f4e52dae Moved proxy code into separate file. (nw) 2016-12-28 13:48:48 +01:00
MooglyGuy 92820ea460 Merge pull request #1880 from JoakimLarsson/VME_1
-mzr8105: Added VME device and divided mzr8105 in board and card devices. [Edstrom]
2016-12-26 23:38:40 +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
MooglyGuy 538d76efe3 -stuntcyc: Added netlist. Currently does not show anything on-screen. [Ryan Holtz] 2016-12-26 12:48:39 +01:00
MooglyGuy 7e6aad38e8 Ho ho ho (nw) 2016-12-24 23:53:07 +01:00
MooglyGuy fbb8ee0fe8 -netlist: Added 82S123 256-bit (32x8) TTL bipolar PROM. [Ryan Holtz] 2016-12-24 22:09:59 +01:00
Joakim Larsson Edström 5aae452f2c Merge pull request #1870 from JoakimLarsson/fccpu20
Fccpu20
2016-12-24 17:50:36 +01:00
smf- d64195a2d0 * New games added
---------------
Eeekk! [Andrew Welburn, Craig Anstett, smf]

Dumped PAL10H8 for Beastie Feastie (conversion kit) [Andrew Welburn, Craig Anstett]
EPOS decryption simplification WIP [smf]
2016-12-24 16:21:02 +00:00
Joakim Larsson Edstrom 9ac003b23d fccpu20: slight clean up 2016-12-24 15:13:41 +01:00
Olivier Galibert 2c79c1ed0d votrax sc01: Simulate [O. Galibert] 2016-12-24 12:08:40 +01:00
couriersud f98ed8bedb Add hazl1500 to mamenl build. (nw) 2016-12-24 00:58:35 +01:00
therealmogminer@gmail.com 9c4c4d0a5b -netlist: Added 82S126 4kbit (512x8) TTL bipolar PROM. [Ryan Holtz] 2016-12-23 23:29:45 +01:00
AJR 9537974530 Preliminary work towards improving emulation of Cedar Magnet sound board (nw)
- MSM5205 hooked up through 40105 FIFO
- Various notes based on Z80 code and schematics for related pinball sound board

40105 device improvements (nw)
- Split up configuration macros
- Tweaked device name and device type name
- New callback for automatic output write
- A few bug fixes for so_w
- Many comments and pinout added
2016-12-22 23:45:47 -05:00
Vas Crabb f5bc78c211 netlist: Added 4316 bilateral switch pack. 2016-12-23 14:54:54 +11:00
therealmogminer@gmail.com ab0525cc27 Split stuntcyc into its own netlist, (nw) 2016-12-23 04:51:56 +01:00
therealmogminer@gmail.com 677aaaec3d -netlist: Added 74165, 74194, 7475, 7485, and DM9322 devices. [Ryan Holtz] 2016-12-22 19:39:52 +01:00
R. Belmont 4d73ed0072 Merge pull request #1847 from ajrhacker/devcb_chain
Overhaul of devcb (nw)
2016-12-22 12:08:46 -05:00
Lord-Nightmare 3094b15185 fix separate arcade and mess builds (nw) 2016-12-22 03:48:24 -05:00
AJR ff68193741 Overhaul of devcb (nw)
- Allow stringing multiple callbacks together recursively. Chained callbacks will be read or written in sequence, and each can be configured with its own type and mask/shift/XOR parameters.
- Chained input callbacks cannot have overlapping masks (there's no such thing as a free multiplex). Chained output callbacks have no such restriction.
- Remove the constant parameter for the LOGGER callback type: it makes no sense for output, was always zero in existing usage, and is now unnecessary with callback chaining.
- Change LOGGER behavior for writes to log the user-defined message only if the output as masked is nonzero. With callback chaining, this can be used to monitor when individual bits become active.
- Constant read callbacks can no longer have MCFG_DEVCB_XOR or MCFG_DEVCB_INVERT specified (makes no sense in this context).
- Add a MEMBANK callback type to allow output bits to be used for bank-switching.
- Add ASSERTLINE and CLEARLINE callback types that raise or lower an interrupt line if the selected bit of the written value is active. These are intended for where periodic or ready-pulse signals from devices are used to trigger IRQs that the CPU program will independently acknowledge.
- Add MCFG_DEVCB_BIT as shorthand for masking and shifting out an individual bit for a callback.
- Removed DEVCB_LINE_DISPATCH_<n>. Where we're going, we don't need line dispatcher devices.

The incompatibility of compilers with regard to post-C90 printf string formats is shockingly bad. There seems to be no easy way to format a 64-bit value and please both gcc and clang, let alone MSVC.
2016-12-21 15:20:54 -05:00
therealmogminer@gmail.com 1410c438b7 -hazeltin: Added netlist-based video board emulation. [Ryan Holtz] 2016-12-21 20:32:50 +01:00
therealmogminer@gmail.com 66abfa8e6d -netlist: Added shared RAM pointer, for use by netlist RAM devices which need updating by non-netlist driver code. [Ryan Holtz]
-netlist: Added new devices: [Ryan Holtz]
 * Intel 2102A 1Kbit (1024 x 1) Static RAM
 * 74365 Hex Bus Driver with 3-State Outputs
 * Generic 2- and 3-terminal Tristate device
 * Note: Tristate device and 74365 do not actually tristate, they are simply a way of combining multiple outputs + chip enables.
2016-12-21 20:32:49 +01:00
therealmogminer@gmail.com 4a71e6bdcf -netlist: Added 74166 Parallel-Load 8-Bit Shift Register device. [Ryan Holtz] 2016-12-21 20:32:48 +01:00
therealmogminer@gmail.com e3e38025c3 -netlist: Added 2716 16 Kbit (2 Kbit x 8) UV EPROM. [Ryan Holtz] 2016-12-21 20:32:47 +01:00
therealmogminer@gmail.com 32d0f10418 -netlist: Added 74174 Hex D-Type Flip-Flop with Clear [Ryan Holtz] 2016-12-21 20:32:47 +01:00