src/mess/drivers/bml3.c
| r8673 | r8674 | |
| 239 | 239 | // else if(offset == 0xc4) { /* system latch, writes 0x53 -> 0x51 when a tape is loaded */} |
| 240 | 240 | else if(offset == 0xc6 || offset == 0xc7) { bml3_6845_w(space,offset-0xc6,data); } |
| 241 | 241 | else if(offset == 0xd0) { bml3_hres_reg_w(space,0,data); } |
| 242 | | else if(offset == 0xd3) { /* every time that the user presses a key, unknown purpose */ } |
| 242 | else if(offset == 0xd3) { beep_set_state(space->machine->device("beeper"),!(data & 0x80)); } |
| 243 | 243 | else if(offset == 0xd6) { bml3_vres_reg_w(space,0,data); } |
| 244 | 244 | else if(offset == 0xd8) { attr_latch = data; } |
| 245 | 245 | else |
| r8673 | r8674 | |
| 433 | 433 | static MACHINE_START(bml3) |
| 434 | 434 | { |
| 435 | 435 | timer_pulse(machine, ATTOTIME_IN_HZ(240/8), NULL, 0, keyboard_callback); |
| 436 | | beep_set_frequency(machine->device("beeper"),300); //guesswork |
| 436 | beep_set_frequency(machine->device("beeper"),1200); //guesswork |
| 437 | 437 | beep_set_state(machine->device("beeper"),0); |
| 438 | 438 | } |
| 439 | 439 | |