Previous 15994 Revisions Next

r9957 Friday 7th January, 2011 at 20:55:09 UTC by Michael Zapf
Added configurable v9938 memory size
[src/mess/drivers]geneve.c ti99_4x.c
[src/mess/machine/ti99]videowrp.c

src/mess/machine/ti99/videowrp.c
r9956r9957
245245   {
246246      running_machine *machine = device->machine;
247247      VIDEO_START_CALL(generic_bitmapped);
248      v9938_init(machine, 0, *machine->primary_screen, machine->generic.tmpbitmap,
249         MODEL_V9938, 0x20000, conf->callback);   /* v38 with 128 kb of video RAM */
250248   }
251249}
252250
r9956r9957
262260      TMS9928A_reset();
263261   }
264262   else
265   {
263   {     
264      running_machine *machine = device->machine;
265      int memsize = (input_port_read(machine, "V9938-MEM")==0)? 0x20000 : 0x30000;
266     
267      v9938_init(machine, 0, *machine->primary_screen, machine->generic.tmpbitmap,
268         MODEL_V9938, memsize, conf->callback);
266269      v9938_reset(0);
267270   }
268271}
src/mess/drivers/geneve.c
r9956r9957
279279      PORT_DIPSETTING( 0xaa, "40 track, 8 ms")
280280      PORT_DIPSETTING( 0x55, "80 track, 2 ms")
281281      PORT_DIPSETTING( 0xff, "80 track HD, 2 ms")
282     
283   PORT_START( "V9938-MEM" )
284   PORT_CONFNAME( 0x01, 0x00, "V9938 RAM size" )
285      PORT_CONFSETTING(   0x00, "128 KiB" )
286      PORT_CONFSETTING(   0x01, "192 KiB" )   
282287
283288   PORT_START( "DRVSPD" )
284289   PORT_CONFNAME( 0x01, 0x01, "Floppy and HD speed" ) PORT_CONDITION( "DISKCTRL", 0x07, PORTCOND_EQUALS, 0x03 )
src/mess/drivers/ti99_4x.c
r9956r9957
327327   PORT_DIPNAME( 0x01, 0x00, "EVPC Configuration" )
328328      PORT_DIPSETTING(    0x00, "DIP" )
329329      PORT_DIPSETTING(    0x01, "NOVRAM" )
330     
331   PORT_START( "V9938-MEM" )
332   PORT_CONFNAME( 0x01, 0x00, "V9938 RAM size" )
333      PORT_CONFSETTING(   0x00, "128 KiB" )
334      PORT_CONFSETTING(   0x01, "192 KiB" )   
330335
331336INPUT_PORTS_END
332337

Previous 15994 Revisions Next


© 1998-2018 The MESS Team