src/mess/machine/oric.c
| r6374 | r6375 | |
| 465 | 465 | const device_config *fdc = devtag_get_device(machine, "fdc"); |
| 466 | 466 | const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM); |
| 467 | 467 | |
| 468 | if (oric_is_telestrat) |
| 469 | return; |
| 470 | |
| 468 | 471 | memory_install_read8_handler(space, 0x0300, 0x030f, 0, 0, oric_IO_r); |
| 469 | 472 | memory_install_read8_device_handler(space, fdc, 0x0310, 0x031f, 0, 0, applefdc_r); |
| 470 | 473 | memory_install_read8_handler(space, 0x0320, 0x03ff, 0, 0, SMH_BANK(4)); |
| r6374 | r6375 | |
| 479 | 482 | { |
| 480 | 483 | int i; |
| 481 | 484 | const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM); |
| 485 | |
| 486 | if (oric_is_telestrat) |
| 487 | return; |
| 482 | 488 | for (i = low; i <= high; i++) |
| 483 | 489 | { |
| 484 | 490 | switch(i) { |
| r6374 | r6375 | |
| 514 | 520 | static WRITE8_HANDLER(apple2_v2_interface_w) |
| 515 | 521 | { |
| 516 | 522 | /* data is ignored, address is used to decode operation */ |
| 523 | if (oric_is_telestrat) |
| 524 | return; |
| 517 | 525 | |
| 518 | 526 | /* logerror("apple 2 interface v2 rom page: %01x\n",(offset & 0x02)>>1); */ |
| 519 | 527 | |
| r6374 | r6375 | |
| 588 | 596 | 2. If os is enabled, and overlay ram is enabled, all 16k can be accessed. |
| 589 | 597 | 3. if os is disabled, and overlay ram is enabled, jasmin rom takes priority. |
| 590 | 598 | */ |
| 599 | if (oric_is_telestrat) |
| 600 | return; |
| 591 | 601 | |
| 592 | 602 | /* the ram is disabled in the jasmin rom which indicates that jasmin takes |
| 593 | 603 | priority over the ram */ |
| r6374 | r6375 | |
| 1065 | 1075 | { |
| 1066 | 1076 | int disc_interface_id = input_port_read(machine, "FLOPPY") & 0x07; |
| 1067 | 1077 | const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM); |
| 1078 | if (oric_is_telestrat) |
| 1079 | return; |
| 1068 | 1080 | |
| 1069 | 1081 | switch (disc_interface_id) |
| 1070 | 1082 | { |