Commit Graph

58909 Commits

Author SHA1 Message Date
Vas Crabb
4ea3cd0bc1 Streamline machine configuration macros - everyone's a device edition.
Start replacing special device macros with additional constructors,
starting with ISA, INTELLEC 4 and RS-232 buses.

Allow an object finder to take on the target of another object finder.

(For a combination of the previous two things in action, see either the
INTELLEC 4 driver, or the Apple 2 PC Exporter card.  Also check out
looping over a device finder array to instantiate devices in some
places.  Lots of things no longer need to pass tags around.)

Start supplying default clocks for things that have a standard clock or
have all clocks internal.

Eliminate the separate DEV versions of the DEVCB_ macros.  Previously,
the plain versions were a shortcut for DEVICE_SELF as the target.  You
can now supply a string tag (relative to current device being
configured), an object finder (takes on the base and relative tag), or
a reference to a device/interface (only do this if you know the device
won't be replaced out from under it, but that's a safe assumption for
your subdevices).  In almost all cases, you can get the effect you want
by supplying *this as the target.

Eliminate sound and CPU versions of macros.  They serve no useful
purpose, provide no extra checks, make error messages longer, add
indirection, and mislead newbies into thinking there's a difference.

Remove a lot of now-unnecessary ":" prefixes binding things relative to
machine root.

Clean up some miscellaneous rot.

Examples of new functionality in use in (some more subtle than others):
* src/mame/drivers/intellec4.cpp
* src/mame/drivers/tranz330.cpp
* src/mame/drivers/osboren1.cpp
* src/mame/drivers/zorba.cpp
* src/mame/devices/smioc.cpp
* src/devices/bus/a2bus/pc_xporter.cpp
* src/devices/bus/isa/isa.h
* src/devices/bus/isa/isa.h
* src/devices/bus/intellec4/intellec4.h
2018-05-06 00:51:27 +10:00
AJR
bba5127d7a simpbowl: Separate state class and use required_device_array (nw) 2018-05-05 10:15:11 -04:00
AJR
fca6501b56 magictg: Who do? (nw) 2018-05-05 10:06:20 -04:00
AJR
adf11afca4 39in1: Use finder array for DMADAC (nw) 2018-05-05 09:59:49 -04:00
AJR
adc6c47d9a iq151: Use finder array for slots; misc. cleanup (nw) 2018-05-05 09:59:25 -04:00
AJR
916e4663a3 MT06960 fix 2018-05-05 09:30:19 -04:00
Michael Zapf
ac59132f33 hexbus: Adding connectors to the HX5102, allowing to attach a second drive to the controller in the case. 2018-05-05 14:27:49 +02:00
Nigel Barnes
1f8b752924 remove bad unicode (nw) 2018-05-05 13:12:39 +01:00
Ivan Vangelista
a07a540e5d fixed MT06958, MT06962, MT06963 (nw) 2018-05-05 08:35:13 +02:00
Ivan Vangelista
5c89a9ca2b arcade.flt: add y2.cpp (nw) 2018-05-05 08:14:55 +02:00
braintro
6012bb75ec namcos2.cpp: Correct and unify rom names for the Final Lap 3 sets (nw) 2018-05-05 00:52:24 -05:00
braintro
dc73ce8b05 aerofgt.cpp: Updated information on Karate Blazers sets (nw) 2018-05-04 23:29:20 -05:00
Nigel Barnes
a1bcf4035f bbc: Added Beeb Speech Synthesiser device. 2018-05-04 22:09:41 +01:00
R. Belmont
cc4996ff5b
Merge pull request #3516 from DavidHaywood/030518_2
new machines marked as NOT WORKING
2018-05-04 16:38:19 -04:00
R. Belmont
23501a8c5c
Merge pull request #3520 from sschnelle/add_gpib_to_hp9k3xx
hp9k_3xx: add internal TMS9914 GPIB
2018-05-04 16:37:42 -04:00
Sven Schnelle
b2b1e995f7 hp9k_3xx: add internal TMS9914 GPIB
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2018-05-04 22:13:02 +02:00
Michael Zapf
5a8ec54a1e ti99: Fixed disk creation via OSD 2018-05-04 21:59:16 +02:00
hap
263b9e6ebe fidel6502: copypaste error (nw) 2018-05-04 21:25:10 +02:00
hap
8a276ce3c6 fidel6502: added other language versions of prestige (nw) 2018-05-04 21:13:47 +02:00
hap
60fee3db40 New working machine added
-----------
Fidelity Prestige Challenger (several versions) [hap, Berger, yoyo_chessboard]
2018-05-04 20:56:06 +02:00
David Haywood
6627a9e480 start looking at the extra opcodes in the SSD 2000 type XaviX chip (s… (#3514)
* start looking at the extra opcodes in the SSD 2000 type XaviX chip (seems some undocumented 6502 opcodes are replaced with more custom ones)

* (nw)

* the xavix memory mapping gets stranger with each piece of new evidence (nw)
2018-05-04 12:22:18 -04:00
hap
1b686eb6b1 fidel6502: prestige WIP (nw) 2018-05-04 18:10:15 +02:00
ajrhacker
d6ec6061c8
Merge pull request #3518 from fulivi/hpipc_dev2
tms9914: added methods to read ACCRQ & CONT output lines
2018-05-04 09:54:47 -04:00
AJR
1ae8286955 cit101: Somewhat major improvements
- High level emulation of serial keyboard (only sort of works; probably should be less sophisticated)
- Add double height and double width attributes
- Adjustable start of screen pointer (necessary for SET-UP mode)
- Reconfigure screen for 80/132-column and 50/60 Hz modes

dikeyboard: Add scan_complete callback (nw, sort of hacky but cit101 keyboard works worse without it)
2018-05-04 09:52:49 -04:00
hap
b44de7e85f nes.xml: add romlabel comments (nw) 2018-05-04 15:33:28 +02:00
hap
e5d0d8ec02 nes.xml: remove problematic filename trailing dots (nw) 2018-05-04 14:58:55 +02:00
Nigel Barnes
cf60fc3782 bbcm512: Added mouse, and promoted to working.
bbcmaiv: Added tracker ball.
2018-05-04 13:24:22 +01:00
fulivi
0f86f547c6 tms9914: added methods to read ACCRQ & CONT output lines 2018-05-04 14:11:27 +02:00
Nigel Barnes
1e76d5fd5e bbc: Added various pointer devices on userport:
- AMX Mouse
- Acorn Master 512 Mouse
- Marconi RB2 Tracker Ball
2018-05-04 12:41:01 +01:00
cracyc
0b17c32492 pc9801: fix 9821 detection? (nw) 2018-05-03 22:02:55 -05:00
AJR
7a0645cfdd asteroid, astdelux: Add cocktail configuration that flips screen for 2nd player 2018-05-03 18:49:18 -04:00
DavidHaywood
ee0469ad4a new NOT WORKING 2018-05-03 21:30:25 +01:00
Justin Kerk
f857d267f5 rm dead code (nw) 2018-05-03 19:30:24 +00:00
Vas Crabb
e54e6ee3d6 MT06934 (nw) 2018-05-04 05:22:37 +10:00
Vas Crabb
a34f2334a7 (nw) let's have some fun with the new functionality, and fix poor casper while we're at it 2018-05-04 04:53:10 +10:00
cam900
501e1b3efb rohga.cpp Update
rohga.cpp : Fix background color of title screen in wolffang
2018-05-04 03:56:09 +10:00
Vas Crabb
32a73f450d Make MCFG_DEVICE_ADD and callable device types more flexible:
* Allows defaulted clocks (see subtle example with vboy)
* Allows additional constructors (see RS232 port in tranz330)
* Allows use of device finder in place of tag in MCFG_DEVICE_ADD
* Requires out-of-line destructor for devices using incomplete types
* Requires XTAL or explicit u32 for clocks for devices with private types

Devices must still define the standard constructor.  When writing
additional constructors, be aware that the constructor runs before
device_add_mconfig in the context of the existing device, not the new
device.  See osborne1, zorba, tranz330, and vboy for examples of this in
use.  Compilation is a bit slower, but this is temporary while
refactoring is in progress.

Eliminated the need for MCFG_SOUND_ROUTE_EX.

Removed macros from slot option configuration - they just obfuscated
code and slowed it down with needless dynamic casts, but didn't actually
simplify it.
2018-05-04 03:01:32 +10:00
AJR
aa96f47092 asteroid: Swap start LEDs and suppress logging for many spurious writes
asteroid, astdelux, llander: Configure all lamp/LED outputs as line callbacks (nw)
2018-05-03 12:37:04 -04:00
Ivan Vangelista
6a1bd4e29e galaxi.cpp, mil4000.cpp: output_finder (nw)
galaxian.cpp: removed outdated note (nw)
2018-05-03 18:28:57 +02:00
angelosa
df5c50cb86 stvvdp2.cpp: fixed potential bug with window Y sizes when double density interlace is enabled [Angelo Salese] 2018-05-03 04:18:24 +02:00
arbee
8fc27ad928 Apple II: added 13-sector version of Disk II controller [R. Belmont] 2018-05-02 21:50:34 -04:00
braintro
a1f49b25d6 meritm.cpp: Correct rom label (nw) 2018-05-02 18:37:45 -05:00
braintro
291d02e233 new clone added - Pit Boss Superstar III 30 CA
New Clone Added
------------------------------------------------
Pit Boss Superstar III 30 (9233-00-06, California version) [Brian Troha, The Dumping Union]
2018-05-02 18:33:33 -05:00
angelosa
1f07c3e5ec stvvdp1.cpp: disable transmask code for mode 2 sprites, fix Sasissu racing stage background clouds color [Angelo Salese] 2018-05-02 23:16:42 +02:00
angelosa
de8a9428a6 stvvdp1.cpp: fix transparent sprite shadows (Pretty Fighter X, Game Tengoku) [Angelo Salese] 2018-05-02 23:16:38 +02:00
hap
c6ff6c7770 novag68k: verified irq/beeper timing (nw) 2018-05-02 22:17:11 +02:00
R. Belmont
445b359c1c
Merge pull request #3502 from sjy96525/patch-16
Correct Pop'n Music 2, Pop'n Music 3 years
2018-05-02 15:19:14 -04:00
Wintermute 0110
c9d7570023 Fix Acorn SL names so they show in the right position in front-ends. (#3503)
* Fix Acorn SL names so they show in the right position in front-ends.

* Fix mistake in BBC Bridge Companion. Thanks to Pernod70.

* Fixed more names. Thanks to Pernod70.

* Some more name fixes.

* Fix names for hardware manufactured by Casper and Torch.

* SL title disc lowercase for coherence.
2018-05-02 15:18:52 -04:00
R. Belmont
9547a341b7
Merge pull request #3512 from fulivi/hpipc_dev1
tms9914: improved emulation
2018-05-02 15:18:06 -04:00
cam900
fd6b212119 fmtowns.cpp : Accurate sound outputs (#3511)
* fmtowns.cpp : Accurate sound outputs

fmtowns.cpp : Accurate sound outputs from real hardware (real one has seperated left/right audio out (supports stereo))

* fmtowns.cpp : Fix PCM output level
2018-05-02 15:17:11 -04:00