Previous 15994 Revisions Next

r9359 Monday 11th October, 2010 at 08:04:00 UTC by Robbbert
[MBEE] mbee256 - documented unemulated ports. Removed trampoline.
[src/mess/drivers]mbee.c
[src/mess/machine]mbee.c

src/mess/machine/mbee.c
r9358r9359
2929
3030************************************************************/
3131
32static void mbee_pio_interrupt(running_device *device, int state)
33{
34   cputag_set_input_line(device->machine, "maincpu", 0, state );
35}
36
3732static WRITE8_DEVICE_HANDLER( pio_ardy )
3833{
3934   /* devices need to be redeclared in this callback for some strange reason */
r9358r9359
8176
8277const z80pio_interface mbee_z80pio_intf =
8378{
84   DEVCB_LINE(mbee_pio_interrupt),   /* callback when change interrupt status */
79   DEVCB_CPU_INPUT_LINE("maincpu", INPUT_LINE_IRQ0),
8580   DEVCB_NULL,
8681   DEVCB_HANDLER(pio_port_a_w),
8782   DEVCB_HANDLER(pio_ardy),
src/mess/drivers/mbee.c
r9358r9359
6868    - Fix Paste (it loses most of the characters)
6969    - Fix the rtc (it's in as per the manuals, but it is completely ignored)
7070    - 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.
7172
7273    Notes about the printer:
7374    - When computer turned on, defaults to 1200 baud serial printer
r9358r9359
279280   AM_RANGE(0x000b, 0x000b) AM_MIRROR(0xff00) AM_READWRITE(mbee_0b_r, mbee_0b_w)
280281   AM_RANGE(0x000c, 0x000c) AM_MIRROR(0xff00) AM_READWRITE(m6545_status_r, m6545_index_w)
281282   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)
284286   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)
287292ADDRESS_MAP_END
288293
289294static INPUT_PORTS_START( mbee )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team