Previous 15994 Revisions Next

r8744 Sunday 8th August, 2010 at 14:22:39 UTC by Angelo Salese
[PC-6001Mk2]: Added bankswitch read-back registers, fixes Galaxian crash when you enter into gameplay
[src/mess/drivers]pc6001.c

src/mess/drivers/pc6001.c
r8743r8744
2727   - Hydlide (MK2): pressing down makes the player to die instantly
2828   - American Truck (MK2): Screen is offset at the loading screen
2929   - Castle Excellent (MK2): copyright text drawing is quite bogus.
30   - Pac-Man (MK2): gameplay is too fast
3031
3132========================================================================================================================================================
3233
r8743r8744
10821083   timer_irq_vector = data;
10831084}
10841085
1086static READ8_HANDLER( pc6001m2_bank_r0_r )
1087{
1088   return bank_r0;
1089}
1090
1091static READ8_HANDLER( pc6001m2_bank_r1_r )
1092{
1093   return bank_r1;
1094}
1095
1096static READ8_HANDLER( pc6001m2_bank_w0_r )
1097{
1098   return bank_w;
1099}
1100
1101
10851102static ADDRESS_MAP_START(pc6001m2_map, ADDRESS_SPACE_PROGRAM, 8)
10861103   ADDRESS_MAP_UNMAP_HIGH
10871104   AM_RANGE(0x0000, 0x1fff) AM_ROMBANK("bank1") AM_WRITE(work_ram0_w)
r8743r8744
11171134
11181135   AM_RANGE(0xe0, 0xe3) AM_MIRROR(0x0c) AM_READWRITE(upd7752_reg_r,upd7752_reg_w)
11191136
1120   AM_RANGE(0xf0, 0xf0) AM_WRITE(pc6001m2_bank_r0_w)
1121   AM_RANGE(0xf1, 0xf1) AM_WRITE(pc6001m2_bank_r1_w)
1122   AM_RANGE(0xf2, 0xf2) AM_WRITE(pc6001m2_bank_w0_w)
1137   AM_RANGE(0xf0, 0xf0) AM_READ(pc6001m2_bank_r0_r) AM_WRITE(pc6001m2_bank_r0_w)
1138   AM_RANGE(0xf1, 0xf1) AM_READ(pc6001m2_bank_r1_r) AM_WRITE(pc6001m2_bank_r1_w)
1139   AM_RANGE(0xf2, 0xf2) AM_READ(pc6001m2_bank_w0_r) AM_WRITE(pc6001m2_bank_w0_w)
11231140   AM_RANGE(0xf3, 0xf3) AM_WRITE(pc6001m2_0xf3_w)
11241141//   AM_RANGE(0xf4
11251142//   AM_RANGE(0xf5

Previous 15994 Revisions Next


© 1998-2018 The MESS Team