src/mess/machine/wswan.c
| r4095 | r4096 | |
| 69 | 69 | static struct RTC rtc; |
| 70 | 70 | static struct SoundDMA sound_dma; |
| 71 | 71 | static UINT8 *ws_ram; |
| 72 | | static UINT8 *ws_bios_bank = NULL; |
| 72 | static UINT8 *ws_bios_bank; |
| 73 | 73 | static UINT8 wswan_bios_disabled; |
| 74 | 74 | UINT8 ws_portram[256]; |
| 75 | 75 | static const UINT8 ws_portram_init[256] = |
| r4095 | r4096 | |
| 212 | 212 | } |
| 213 | 213 | |
| 214 | 214 | MACHINE_START( wswan ) { |
| 215 | ws_bios_bank = NULL; |
| 215 | 216 | system_type = WSWAN; |
| 216 | 217 | add_exit_callback( machine, wswan_machine_stop ); |
| 217 | | wswan_setup_bios(); |
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | MACHINE_START( wscolor ) { |
| 221 | ws_bios_bank = NULL; |
| 221 | 222 | system_type = WSC; |
| 222 | 223 | add_exit_callback( machine, wswan_machine_stop ); |
| 223 | | wswan_setup_bios(); |
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | MACHINE_RESET( wswan ) |
| 227 | 227 | { |
| 228 | 228 | const address_space *space = cpu_get_address_space( machine->cpu[0], ADDRESS_SPACE_PROGRAM ); |
| 229 | 229 | |
| 230 | wswan_setup_bios(); |
| 231 | |
| 230 | 232 | /* Intialize ports */ |
| 231 | 233 | memcpy( ws_portram, ws_portram_init, 256 ); |
| 232 | 234 | |