src/mess/machine/mbee.c
| r9385 | r9386 | |
| 197 | 197 | |
| 198 | 198 | READ8_HANDLER( mbee256_18_r ) |
| 199 | 199 | { |
| 200 | | UINT8 i; |
| 201 | | UINT8 data = mbee256_q[0]; // get oldest key |
| 200 | UINT8 i, data = mbee256_q[0]; // get oldest key |
| 202 | 201 | |
| 203 | 202 | if (mbee256_q_pos) |
| 204 | 203 | { |
| r9385 | r9386 | |
| 699 | 698 | memory_configure_bank(machine, "boot", 4, 1, &RAM[0x0000], 0x0000); // rom at boot for 4usec |
| 700 | 699 | memory_configure_bank(machine, "bank8l", 0, 1, &RAM[0x0000], 0x0000); // rom |
| 701 | 700 | memory_configure_bank(machine, "bank8h", 0, 1, &RAM[0x0800], 0x0000); // rom |
| 701 | |
| 702 | mbee_size = 0x8000; |
| 702 | 703 | } |
| 703 | 704 | |
| 704 | 705 | DRIVER_INIT( mbee256 ) |
| r9385 | r9386 | |
| 720 | 721 | |
| 721 | 722 | timer_pulse(machine, ATTOTIME_IN_HZ(1),NULL,0,mbee_rtc_irq); /* timer for rtc */ |
| 722 | 723 | timer_pulse(machine, ATTOTIME_IN_HZ(25),NULL,0,mbee256_kbd); /* timer for kbd */ |
| 724 | |
| 725 | mbee_size = 0x8000; |
| 723 | 726 | } |
| 724 | 727 | |
| 725 | 728 | |