trunk/src/mess/machine/c64_stardos.c
| r18728 | r18729 | |
| 191 | 191 | |
| 192 | 192 | int c64_stardos_cartridge_device::c64_game_r(offs_t offset, int sphi2, int ba, int rw, int hiram) |
| 193 | 193 | { |
| 194 | | return !(ba & rw & ((offset & 0xe000) == 0xe000) & hiram); |
| 194 | return !(sphi2 && ba & rw & ((offset & 0xe000) == 0xe000) & hiram); |
| 195 | 195 | } |
| 196 | |
| 197 | |
| 198 | //------------------------------------------------- |
| 199 | // c64_exrom_r - EXROM read |
| 200 | //------------------------------------------------- |
| 201 | |
| 202 | int c64_stardos_cartridge_device::c64_exrom_r(offs_t offset, int sphi2, int ba, int rw, int hiram) |
| 203 | { |
| 204 | return (BIT(offset, 13)) ? 1 : m_exrom; |
| 205 | } |
trunk/src/mess/machine/c64_stardos.h
| r18728 | r18729 | |
| 46 | 46 | virtual UINT8 c64_cd_r(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2); |
| 47 | 47 | virtual void c64_cd_w(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2); |
| 48 | 48 | virtual int c64_game_r(offs_t offset, int sphi2, int ba, int rw, int hiram); |
| 49 | virtual int c64_exrom_r(offs_t offset, int sphi2, int ba, int rw, int hiram); |
| 49 | 50 | |
| 50 | 51 | private: |
| 51 | 52 | inline void charge_io1_capacitor(); |