src/mess/drivers/a2600.c
| r8260 | r8261 | |
| 834 | 834 | } |
| 835 | 835 | memory_set_bankptr(space->machine, "bank1", bank_base[1] ); |
| 836 | 836 | memory_set_bankptr(space->machine, "bank2", bank_base[2] ); |
| 837 | | |
| 838 | | /* Check if we should stop the tape */ |
| 839 | | if ( cpu_get_pc(devtag_get_device(space->machine, "maincpu")) == 0x00FD ) |
| 840 | | { |
| 841 | | running_device *img = devtag_get_device(space->machine, "cassette"); |
| 842 | | if ( img ) |
| 843 | | { |
| 844 | | cassette_change_state(img, CASSETTE_MOTOR_DISABLED, CASSETTE_MASK_MOTOR); |
| 845 | | } |
| 846 | | } |
| 847 | 837 | } |
| 848 | 838 | else if ( offset == 0xFF9 ) |
| 849 | 839 | { |
| r8260 | r8261 | |
| 1882 | 1872 | modeSS_write_enabled = 0; |
| 1883 | 1873 | modeSS_byte_started = 0; |
| 1884 | 1874 | memory_set_direct_update_handler(space, modeSS_opbase ); |
| 1885 | | /* Already start the motor of the cassette for the user */ |
| 1875 | /* The Supercharger has no motor control so just enable it */ |
| 1886 | 1876 | cassette_change_state( devtag_get_device(machine, "cassette"), CASSETTE_MOTOR_ENABLED, CASSETTE_MOTOR_DISABLED ); |
| 1887 | 1877 | break; |
| 1888 | 1878 | |