src/mess/machine/mbee.c
| r9358 | r9359 | |
| 29 | 29 | |
| 30 | 30 | ************************************************************/ |
| 31 | 31 | |
| 32 | | static void mbee_pio_interrupt(running_device *device, int state) |
| 33 | | { |
| 34 | | cputag_set_input_line(device->machine, "maincpu", 0, state ); |
| 35 | | } |
| 36 | | |
| 37 | 32 | static WRITE8_DEVICE_HANDLER( pio_ardy ) |
| 38 | 33 | { |
| 39 | 34 | /* devices need to be redeclared in this callback for some strange reason */ |
| r9358 | r9359 | |
| 81 | 76 | |
| 82 | 77 | const z80pio_interface mbee_z80pio_intf = |
| 83 | 78 | { |
| 84 | | DEVCB_LINE(mbee_pio_interrupt), /* callback when change interrupt status */ |
| 79 | DEVCB_CPU_INPUT_LINE("maincpu", INPUT_LINE_IRQ0), |
| 85 | 80 | DEVCB_NULL, |
| 86 | 81 | DEVCB_HANDLER(pio_port_a_w), |
| 87 | 82 | DEVCB_HANDLER(pio_ardy), |
src/mess/drivers/mbee.c
| r9358 | r9359 | |
| 68 | 68 | - Fix Paste (it loses most of the characters) |
| 69 | 69 | - Fix the rtc (it's in as per the manuals, but it is completely ignored) |
| 70 | 70 | - Get details on the many other models not currently emulated |
| 71 | - 256TC keyboard IRQ is active all the time, it needs to be fully understood. |
| 71 | 72 | |
| 72 | 73 | Notes about the printer: |
| 73 | 74 | - When computer turned on, defaults to 1200 baud serial printer |
| r9358 | r9359 | |
| 279 | 280 | AM_RANGE(0x000b, 0x000b) AM_MIRROR(0xff00) AM_READWRITE(mbee_0b_r, mbee_0b_w) |
| 280 | 281 | AM_RANGE(0x000c, 0x000c) AM_MIRROR(0xff00) AM_READWRITE(m6545_status_r, m6545_index_w) |
| 281 | 282 | AM_RANGE(0x000d, 0x000d) AM_MIRROR(0xff00) AM_READWRITE(m6545_data_r, m6545_data_w) |
| 282 | | AM_RANGE(0x0018, 0x0018) AM_MIRROR(0xff00) AM_READ(mbee256_18_r) |
| 283 | | AM_RANGE(0x001c, 0x001c) AM_MIRROR(0xff00) AM_READWRITE(mbeeppc_1c_r,mbee256_1c_w) |
| 283 | // AM_RANGE(0x0010, 0x0013) AM_MIRROR(0xff00) Optional SN76489AN audio chip |
| 284 | AM_RANGE(0x0018, 0x001b) AM_MIRROR(0xff00) AM_READ(mbee256_18_r) |
| 285 | AM_RANGE(0x001c, 0x001f) AM_MIRROR(0xff00) AM_READWRITE(mbeeppc_1c_r,mbee256_1c_w) |
| 284 | 286 | AM_RANGE(0x0044, 0x0047) AM_MIRROR(0xff00) AM_DEVREADWRITE("wd179x", wd17xx_r, wd17xx_w) |
| 285 | | AM_RANGE(0x0048, 0x0048) AM_MIRROR(0xff00) AM_READWRITE(mbee_fdc_status_r, mbee_fdc_motor_w) |
| 286 | | AM_RANGE(0x0050, 0x0050) AM_MIRROR(0xff00) AM_WRITE(mbee256_50_w) |
| 287 | AM_RANGE(0x0048, 0x004f) AM_MIRROR(0xff00) AM_READWRITE(mbee_fdc_status_r, mbee_fdc_motor_w) |
| 288 | AM_RANGE(0x0050, 0x0057) AM_MIRROR(0xff00) AM_WRITE(mbee256_50_w) |
| 289 | // AM_RANGE(0x0058, 0x005f) AM_MIRROR(0xff00) External options: floppy drive, hard drive and keyboard |
| 290 | // AM_RANGE(0x0060, 0x0067) AM_MIRROR(0xff00) Reserved for file server selection (unused) |
| 291 | // AM_RANGE(0x0068, 0x006f) AM_MIRROR(0xff00) Reserved for 8530 SCC (unused) |
| 287 | 292 | ADDRESS_MAP_END |
| 288 | 293 | |
| 289 | 294 | static INPUT_PORTS_START( mbee ) |