src/mess/drivers/a2600.c
| r952 | r953 | |
| 788 | 788 | } |
| 789 | 789 | memory_set_bankptr( 1, bank_base[1] ); |
| 790 | 790 | memory_set_bankptr( 2, bank_base[2] ); |
| 791 | |
| 792 | /* Check if we should stop the tape */ |
| 793 | if ( cpu_getactivecpu() >= 0 && activecpu_get_pc() == 0x00FD ) { |
| 794 | mess_image *img = image_from_devtype_and_index(IO_CASSETTE, 0); |
| 795 | if ( img ) { |
| 796 | cassette_change_state(img, CASSETTE_MOTOR_DISABLED, CASSETTE_MASK_MOTOR); |
| 797 | } |
| 798 | } |
| 791 | 799 | } else if ( offset == 0xFF9 ) { |
| 792 | 800 | /* Cassette port read */ |
| 793 | 801 | double tap_val = cassette_input( image_from_devtype_and_index( IO_CASSETTE, 0 ) ); |