src/mess/drivers/mz2500.c
| r9049 | r9050 | |
| 18 | 18 | - Dust Box vol. 4: window effect transition is bugged; |
| 19 | 19 | - Dust Box vol. n: three items returns "purple" text, presumably HW failures (DFJustin: joystick "digital", mouse "not installed", HDD "not installed"; |
| 20 | 20 | - LayDock: hangs by reading the FDC status and expecting it to become 0x81; |
| 21 | | - Moon Child: needs mixed 3+3bpp tvram supported; |
| 21 | - Moon Child: needs mixed 3+3bpp tvram supported, kludged for now (not a real test case); |
| 22 | - Moon Child: window masking doesn't mask bottom part of the screen? |
| 22 | 23 | - Moon Child: appears to be a network / system link game, obviously doesn't work with current MAME / MESS framework; |
| 23 | 24 | - Marchen Veil I: doesn't load if you try to run it, it does if you load another game first (for example Mappy); |
| 24 | 25 | - Mugen no Shinzou: returns an HW error if you attempt to do a new game, it seems to be a fdc writing issue; |
| r9049 | r9050 | |
| 51 | 52 | #include "emu.h" |
| 52 | 53 | #include "cpu/z80/z80.h" |
| 53 | 54 | #include "machine/z80pio.h" |
| 55 | #include "machine/z80sio.h" |
| 54 | 56 | #include "machine/i8255a.h" |
| 55 | 57 | #include "machine/wd17xx.h" |
| 56 | 58 | #include "machine/pit8253.h" |
| r9049 | r9050 | |
| 487 | 489 | |
| 488 | 490 | switch(tv_mode & 3) |
| 489 | 491 | { |
| 490 | | // case 0: mixed 6bpp mode |
| 492 | case 0: //mixed 6bpp mode, TODO |
| 493 | draw_40x25(machine,bitmap,cliprect,0,base_addr); |
| 494 | break; |
| 491 | 495 | case 1: |
| 492 | 496 | draw_40x25(machine,bitmap,cliprect,0,base_addr); |
| 493 | 497 | break; |
| r9049 | r9050 | |
| 1404 | 1408 | ADDRESS_MAP_GLOBAL_MASK(0xff) |
| 1405 | 1409 | // AM_RANGE(0x60, 0x63) AM_WRITE(w3100a_w) |
| 1406 | 1410 | // AM_RANGE(0x63, 0x63) AM_READ(w3100a_r) |
| 1407 | | // AM_RANGE(0xa0, 0xa3) AM_READWRITE(sio_r,sio_w) |
| 1411 | AM_RANGE(0xa0, 0xa3) AM_DEVREADWRITE("z80sio",z80sio_ba_cd_r,z80sio_ba_cd_w) |
| 1408 | 1412 | // AM_RANGE(0xa4, 0xa5) AM_READWRITE(sasi_r, sasi_w) |
| 1409 | 1413 | AM_RANGE(0xa8, 0xa8) AM_WRITE(mz2500_rom_w) |
| 1410 | 1414 | AM_RANGE(0xa9, 0xa9) AM_READ(mz2500_rom_r) |
| r9049 | r9050 | |
| 1970 | 1974 | mz2500_rtc_alarm_irq |
| 1971 | 1975 | }; |
| 1972 | 1976 | |
| 1977 | static const z80sio_interface mz2500_sio_intf = |
| 1978 | { |
| 1979 | NULL, |
| 1980 | NULL, |
| 1981 | NULL, |
| 1982 | NULL, |
| 1983 | NULL, |
| 1984 | NULL |
| 1985 | }; |
| 1986 | |
| 1973 | 1987 | static MACHINE_CONFIG_START( mz2500, driver_device ) |
| 1974 | 1988 | /* basic machine hardware */ |
| 1975 | 1989 | MDRV_CPU_ADD("maincpu", Z80, 6000000) |
| r9049 | r9050 | |
| 1981 | 1995 | |
| 1982 | 1996 | MDRV_I8255A_ADD( "i8255_0", ppi8255_intf ) |
| 1983 | 1997 | MDRV_Z80PIO_ADD( "z80pio_1", 6000000, mz2500_pio1_intf ) |
| 1998 | MDRV_Z80SIO_ADD( "z80sio", 6000000, mz2500_sio_intf ) |
| 1984 | 1999 | MDRV_RP5C15_ADD( "rp5c15" , rtc_intf) |
| 1985 | 2000 | MDRV_PIT8253_ADD("pit", mz2500_pit8253_intf) |
| 1986 | 2001 | |