Previous 15994 Revisions Next

r7521 Saturday 6th March, 2010 at 17:22:16 UTC by Curt Coder
[TRS80M2] Fixed RAM mapping.
[src/mess/drivers]trs80m2.c

src/mess/drivers/trs80m2.c
r7520r7521
1010 
1111    TODO:
1212 
13   - z80dma RDY handling is broken, DMA from FDC fails
14   - wd17xx.c thinks the drive is always ready
1315   - NOT A SYSTEM DISK, RE-BOOT
1416    - keyboard CPU ROM
1517    - keyboard layout
16   - 2-sided diskette flag
1718    - graphics board
1819 
1920*/
r7520r7521
103104   if (state->boot_rom)
104105   {
105106      /* enable BOOT ROM */
106      memory_install_rom(program, 0x0000, 0x07ff, 0, 0x800, rom);
107      memory_install_ram(program, 0x1000, 0x7fff, 0, 0, ram + 0x1000);
107      memory_install_rom(program, 0x0000, 0x07ff, 0, 0, rom);
108      memory_install_ram(program, 0x0800, 0x7fff, 0, 0, ram + 0x800);
108109   }
109110   else
110111   {
r7520r7521
743744   DEVCB_NULL,
744745   DEVCB_NULL,
745746   DEVCB_NULL,
746   FLOPPY_DRIVE_SS_80,
747   FLOPPY_DRIVE_DS_80,
747748   FLOPPY_OPTIONS_NAME(default),
748749   DO_NOT_KEEP_GEOMETRY
749750};
r7520r7521
787788   state->z80pio = devtag_get_device(machine, Z80PIO_TAG);
788789   state->mc6845 = devtag_get_device(machine, MC6845_TAG);
789790   state->centronics = devtag_get_device(machine, CENTRONICS_TAG);
791   state->floppy = devtag_get_device(machine, FLOPPY_0);
790792 
793   /* Shugart SA-800 motor spins constantly */
794   floppy_mon_w(state->floppy, CLEAR_LINE);
795 
791796   /* register for state saving */
792797   state_save_register_global(machine, state->boot_rom);
793798   state_save_register_global(machine, state->bank);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team