mirror of
https://github.com/open-simh/simh.git
synced 2026-05-02 14:30:22 +00:00
ISYS80XX, IMDS-225: Extended device functions and debug cleanup
a) Added sim_debug statements, formatted console messages. b) Removed old debugging statements and redundant byte/word mask operations. c) Added more device commands. d) Added zx-200a and changed nulldev to return 0 vice 0xff. e) Added commands and corrected RTYPE and RBYTE behavior so ISIS-II would boot. f) Corrected device calls in SBC_reset, corrected get_mbyte and put_mbyte to match control bits from ipc_cont.c.
This commit is contained in:
@@ -154,10 +154,10 @@ t_stat EPROM_reset (DEVICE *dptr, uint16 size)
|
||||
sim_debug (DEBUG_flow, &EPROM_dev, " EPROM_reset: base=0000 size=%04X\n", size);
|
||||
if ((EPROM_unit.flags & UNIT_ATT) == 0) { /* if unattached */
|
||||
EPROM_unit.capac = size; /* set EPROM size to 0 */
|
||||
sim_printf(" EPROM: Configured, Not attached\n");
|
||||
sim_printf(" EPROM: Configured, Not attached\n");
|
||||
sim_debug (DEBUG_flow, &EPROM_dev, "Done1\n");
|
||||
} else {
|
||||
sim_printf(" EPROM: Configured %d bytes, Attached to %s\n",
|
||||
sim_printf(" EPROM: Configured %d bytes, Attached to %s\n",
|
||||
EPROM_unit.capac, EPROM_unit.filename);
|
||||
}
|
||||
sim_debug (DEBUG_flow, &EPROM_dev, "Done2\n");
|
||||
|
||||
Reference in New Issue
Block a user