src/mess/drivers/super80.c
| r2839 | r2840 | |
| 413 | 413 | |
| 414 | 414 | z80pio_p_w(0,1,in_fa); |
| 415 | 415 | |
| 416 | | if (cassette_input(cassette_device_image()) > +0.03) wave_state+=2; |
| 416 | if (cassette_input(cassette_device_image()) > +0.03) wave_state+=6; |
| 417 | 417 | |
| 418 | 418 | if (wave_state == last_wave_state) |
| 419 | 419 | wave_length++; |
| r2839 | r2840 | |
| 440 | 440 | { |
| 441 | 441 | UINT8 data = input_port_read(machine, "DSW") & 0xf0; // dip switches on pcb |
| 442 | 442 | data |= cass_out; // bit 0 = output of U1, bit 1 = current wave_state |
| 443 | | data |= 0x0c; // bits 2,3 - not used |
| 443 | data |= 0x08; // bits 2,3 - not used |
| 444 | 444 | return data; |
| 445 | 445 | } |
| 446 | 446 | |