Commit Graph

76 Commits

Author SHA1 Message Date
Miodrag Milanovic
a822b12416 m68000 callbacks to delegates (nw) 2014-04-22 14:18:30 +00:00
cracyc
1971194148 (mess) x68k: remove trampolines and fix keyboard (nw) 2014-04-21 03:56:48 +00:00
Fabio Priuli
a2bdecb071 converted i8255 to devcb2. nw.
p.s. I tested several games/systems and I triple checked the diff to be sure I did not 
make any copy and paste mistake in the 195 files touched by this, but let me know 
if any system suddenly stops working!
2014-04-17 05:49:48 +00:00
cracyc
e448fa7269 mb89352: get the correct phase (nw)
(mess) x68k: cleanup (nw)
2014-04-16 17:08:45 +00:00
smf-
72d93bb509 Added serial printer, renamed centronics printer to match. Standardised the configuration of rs232 devices. All serial devices are now connected using an rs232 port. [smf] 2014-04-16 07:53:39 +00:00
Ivan Vangelista
61f179bdf9 x68k_expansion_slot_device: converted to devcb2 (nw) 2014-04-15 15:29:46 +00:00
smf-
a039e59ae2 SCSI Port using WRITELINE and DEVCB2. The slot number and SCSI ID are separate so you can for example have -harddisk1 as ID 6 and -harddisk 2 as ID 5. The HLE'd CD & HD have configuration switches to set the ID, real emulated hardware will specify the ID using it's own method. [smf] 2014-04-14 11:50:39 +00:00
Fabio Priuli
abac83b8dc okim6258: converted to use inline config. nw. 2014-04-11 05:59:33 +00:00
cracyc
f87bffdce2 (mess) x68k: reduce tag lookups and fix adpcm (nw)
hd63450: add drq lines (nw)
2014-04-09 02:55:40 +00:00
Ivan Vangelista
afb350dfc0 mb89352_device: converted to devcb2 (nw) 2014-04-08 15:25:57 +00:00
Miodrag Milanovic
fec65e0b57 Cleanups and version bump 2014-04-07 06:04:18 +00:00
cracyc
3a2d050486 (mess) x68k: rework bus errors (nw)
hd63450: don't set timer when transfer expects only drqs (nw)
upd765: x68k hangs when it receives polling irqs so can only guess the upd72065 doesn't send them (nw)
2014-04-06 16:03:17 +00:00
Ivan Vangelista
7e12918ace hd63450_device: converted to devcb2 (nw) 2014-03-22 14:33:09 +00:00
Ivan Vangelista
93306220a7 Modernized hd63450_device. devcb2 conversion is in the works. (nw) 2014-03-21 17:37:12 +00:00
Ivan Vangelista
7721c04301 rp5c15.c: converted to devcb2 (nw) 2014-03-19 12:25:59 +00:00
Curt Coder
4bba3f6e42 (MESS) Moved the remaining slot interfaces to emu/bus. (nw) 2014-03-17 22:06:26 +00:00
Curt Coder
f3fe1ab644 upd765: Refactored to use devcb2 callbacks. [Curt Coder] 2014-03-17 20:38:18 +00:00
Curt Coder
841b2cb5e9 8530scc: devcb2. (nw) 2014-03-17 14:16:27 +00:00
Miodrag Milanovic
a66aff27d6 primary_screen -> first_screen() (nw) 2014-03-15 13:00:23 +00:00
Ivan Vangelista
aa8f18efa3 Converted mc68901_device to devcb2 (nw) 2014-03-15 10:13:08 +00:00
Alex W. Jackson
25db822531 Checkpoint 2:
gfxdecode devices must now be assigned a palette in MCFG. Added palette devices to several MESS drivers and devices to comply with this requirement. This palette is assigned as a default to the gfx_elements created by the device (but still not used for drawing yet, except in the UI graphics viewer)

Tilemaps now have a pointer to a palette device and use that palette for rgb32 drawing, rather than the palette of the screen or bitmap they are drawing to (since rgb32 screens don't have palettes now). When a tilemap is created, it takes its palette from the gfxdecode device it was created with, but you can change a tilemap's palette device with set_palette() at any time (doing this does not mark the tilemap dirty, since all tilemaps use indexed bitmaps internally)
2014-03-15 07:34:54 +00:00
Miodrag Milanovic
b5a348c7c1 Made palette settings for screen explicit and mandatory for ind16 mode (nw) 2014-03-14 14:39:34 +00:00
Miodrag Milanovic
64ac8f6776 Huge update, palette is now device (nw)
note: Aaron please give more descriptive text for release log I have no more strength :)
2014-02-27 13:35:15 +00:00
Miodrag Milanovic
6eaf8f5560 x68k fix (nw) 2014-02-17 18:12:30 +00:00
Miodrag Milanovic
7cde79cd9c Created gfxdecode_device instead of using machine fixed gfxdecode [Miodrag Milanovic]
Updated all devices and drivers for using it.

out of whatsnew:
Note that it is made to work same as before, in some cases it can be more
logic to move gfxdevice into subdevice itself then to keep it in main driver.
2014-02-16 17:32:10 +00:00
smf-
b37d92de72 created src\emu\bus\rs232 & src\emu\bus\midi directories and separated rs232 and midi devices, changed h89 to use an rs232 port to communicate with the serial terminal to instead of connecting it directly. [smf] 2014-02-15 01:29:27 +00:00
smf-
93188e310b Removed MC68901 polling for gpio bits. [smf] 2013-12-29 00:14:05 +00:00
smf-
966ae37d90 Converted x68000 keyboard into a separate serial device. This allows the removal of the uart hle in the driver (which didn't work, it was always two characters behind). diserial cannot sync with the start bit properly when using an external clock, so for now I've added a hack that is only enabled when using the MC68901 (setting the flag ignores the extra spurious bit that was getting shifted in). [smf] 2013-12-28 02:21:13 +00:00
smf-
33705d99d4 removed some more unused mfp code (nw) 2013-12-27 10:31:12 +00:00
smf-
a47d26686e fixed wrong tag name (nw) 2013-12-27 10:18:06 +00:00
smf-
63ae866195 simplified x68k RP5C15 hookup (nw) 2013-12-27 00:40:44 +00:00
smf-
206948e26e removed mfp_init() and the variables it sets as they aren't used. keyboard reading is still hacked and doesn't go through 68901 device. (nw) 2013-12-26 23:15:53 +00:00
smf-
3358cf506c removed unused code & variables (nw) 2013-12-26 23:05:12 +00:00
smf-
2279ff026a replaced read rx callback in MC68901 with a write handler, which allows multiple chips to be connected together without using glue methods. Removed a load of unused code from MC68901, probably left over when it was converted to use diserial. [smf] 2013-12-22 19:01:57 +00:00
Olivier Galibert
671ba32470 diserial: Remove defines, cleanup clocks/timers, add sync support [O. Galibert] 2013-11-18 21:05:30 +00:00
cracyc
98652587d8 dim_dsk: add modern support [Carl]
x68k: make floppies work again [Carl]
hd63450: make it easier for external drq support (nw)
---
esq5505 is the only other user of the hd63450, needs to be tested
2013-10-14 17:44:51 +00:00
Ivan Vangelista
4fd28feaf9 Last batch of updates regarding commented out code, forgotten during past device modernizations. There are some more left, but I'm not sure how to proceed. (nw) 2013-09-07 18:48:50 +00:00
smf-
459b30be0f Moved default card config, device inputs and clock off the slot interface so they can be specified for all cards [smf] 2013-05-29 13:52:16 +00:00
Andrew Gardner
df8ca739fb MESS anonymous timers this time. (nw) 2013-05-23 04:38:53 +00:00
Miodrag Milanovic
6de13d280a made BEEP and RAM devices initialize in constructor of driver classes (nw) 2013-04-23 07:11:57 +00:00
Miodrag Milanovic
1cf6d1965d few more removed (nw) 2013-04-19 13:20:47 +00:00
Miodrag Milanovic
f30a311780 moving some static functions in driver state for MESS drivers plus some other modernization (nw) 2013-04-18 08:44:08 +00:00
Miodrag Milanovic
28cc0d1c7d various cpu lookup cleanup (nw) 2013-04-15 13:41:27 +00:00
Miodrag Milanovic
0d3153e113 various cpu lookup cleanup (nw) 2013-04-15 11:28:28 +00:00
Miodrag Milanovic
bd4514adde Removal of machine().root_device() where appropriate (nw) 2013-04-14 10:46:03 +00:00
Miodrag Milanovic
3f9cbe01c5 cleanup (nw) 2013-04-14 08:03:10 +00:00
Miodrag Milanovic
10d146a6be changed machine().device("maincpu") with m_maincpu in mess tree part (nw) 2013-04-10 11:31:17 +00:00
Andrew Gardner
813c964a96 Modernized CRT, okim6285, and ZSG2 devices. [Andrew Gardner] 2013-03-13 16:16:46 +00:00
Miodrag Milanovic
bfb62eeb19 IRQ_CALLBACK modernization part 2, this should give some speed to pc drivers (no whatsnew) 2013-01-31 12:47:07 +00:00
smf-
1940866c70 output of new srcclean changes that are relatively small [smf] 2013-01-11 19:43:14 +00:00