Previous 15994 Revisions Next

r4096 Friday 9th January, 2009 at 02:41:37 UTC by Robbbert
[WSWAN] Fixed multisession problem.
[src/mess/machine]wswan.c

src/mess/machine/wswan.c
r4095r4096
6969static struct RTC rtc;
7070static struct SoundDMA sound_dma;
7171static UINT8 *ws_ram;
72static UINT8 *ws_bios_bank = NULL;
72static UINT8 *ws_bios_bank;
7373static UINT8 wswan_bios_disabled;
7474UINT8 ws_portram[256];
7575static const UINT8 ws_portram_init[256] =
r4095r4096
212212}
213213
214214MACHINE_START( wswan ) {
215   ws_bios_bank = NULL;
215216   system_type = WSWAN;
216217   add_exit_callback( machine, wswan_machine_stop );
217   wswan_setup_bios();
218218}
219219
220220MACHINE_START( wscolor ) {
221   ws_bios_bank = NULL;
221222   system_type = WSC;
222223   add_exit_callback( machine, wswan_machine_stop );
223   wswan_setup_bios();
224224}
225225
226226MACHINE_RESET( wswan )
227227{
228228   const address_space *space = cpu_get_address_space( machine->cpu[0], ADDRESS_SPACE_PROGRAM );
229229
230   wswan_setup_bios();
231
230232   /* Intialize ports */
231233   memcpy( ws_portram, ws_portram_init, 256 );
232234

Previous 15994 Revisions Next


© 1998-2018 The MESS Team