Previous 15994 Revisions Next

r6375 Sunday 15th November, 2009 at 01:39:28 UTC by Robbbert
[ORIC] Fixed banking error in Telestrat
[src/mess/machine]oric.c

src/mess/machine/oric.c
r6374r6375
465465   const device_config *fdc = devtag_get_device(machine, "fdc");
466466   const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM);
467467
468   if (oric_is_telestrat)
469      return;
470
468471   memory_install_read8_handler(space, 0x0300, 0x030f, 0, 0, oric_IO_r);
469472   memory_install_read8_device_handler(space, fdc, 0x0310, 0x031f, 0, 0, applefdc_r);
470473   memory_install_read8_handler(space, 0x0320, 0x03ff, 0, 0, SMH_BANK(4));
r6374r6375
479482{
480483   int i;
481484   const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM);
485
486   if (oric_is_telestrat)
487      return;
482488   for (i = low; i <= high; i++)
483489   {
484490      switch(i) {
r6374r6375
514520static WRITE8_HANDLER(apple2_v2_interface_w)
515521{
516522   /* data is ignored, address is used to decode operation */
523   if (oric_is_telestrat)
524      return;
517525
518526/*  logerror("apple 2 interface v2 rom page: %01x\n",(offset & 0x02)>>1); */
519527
r6374r6375
588596    2. If os is enabled, and overlay ram is enabled, all 16k can be accessed.
589597    3. if os is disabled, and overlay ram is enabled, jasmin rom takes priority.
590598    */
599   if (oric_is_telestrat)
600      return;
591601
592602   /* the ram is disabled in the jasmin rom which indicates that jasmin takes
593603    priority over the ram */
r6374r6375
10651075{
10661076   int disc_interface_id = input_port_read(machine, "FLOPPY") & 0x07;
10671077   const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM);
1078   if (oric_is_telestrat)
1079      return;
10681080
10691081   switch (disc_interface_id)
10701082   {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team