1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

Various VAXen: Correct HELP ROM language and assure proper ROM load

- Support for built-in ROMs and dynamically loaded or fetched ROMs
  is supported
- Dynamic loading or fetching of VCB02 ROM support added.
This commit is contained in:
Mark Pizzolato
2023-04-09 11:02:07 -10:00
parent 1316482535
commit c540d2e3b1
6 changed files with 101 additions and 36 deletions

View File

@@ -601,13 +601,22 @@ return SCPE_OK;
t_stat rom_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr)
{
fprintf (st, "Read-only memory (ROM)\n\n");
fprintf (st, "The boot ROM consists of a single unit, simulating the 128KB boot ROM. It\n");
fprintf (st, "The boot ROM consists of a single unit, simulating the %uKB boot ROM. It\n", ROMSIZE >> 10);
fprintf (st, "has no registers. The boot ROM can be loaded with a binary byte stream\n");
fprintf (st, "using the LOAD -r command:\n\n");
fprintf (st, " LOAD -r KA655X.BIN load ROM image KA655X.BIN\n\n");
fprintf (st, " LOAD -r %s load ROM image %s\n\n", BOOT_CODE_FILENAME, BOOT_CODE_FILENAME);
fprintf (st, "When the simulator starts running (via the BOOT command), if the ROM has\n");
fprintf (st, "not yet been loaded, an internal 'buit-in' copy of the KA655X.BIN image\n");
fprintf (st, "will be loaded into the ROM address space and execution will be started.\n\n");
if (BOOT_CODE_ARRAY != NULL) {
fprintf (st, "not yet been loaded, an internal 'built-in' copy of the %s image\n", BOOT_CODE_FILENAME);
fprintf (st, "will be loaded into the ROM address space.\n");
}
else {
fprintf (st, "not yet been loaded, an attempt will be made to automatically load the\n");
fprintf (st, "ROM image from the file %s in the current working directory.\n", BOOT_CODE_FILENAME);
fprintf (st, "If that load attempt fails, then a copy of the missing ROM file is\n");
fprintf (st, "written to the current directory and the load attempt is retried.\n");
}
fprintf (st, "Once the ROM address space has been populated execution will be started.\n\n");
fprintf (st, "ROM accesses a use a calibrated delay that slows ROM-based execution to\n");
fprintf (st, "about 500K instructions per second. This delay is required to make the\n");
fprintf (st, "power-up self-test routines run correctly on very fast hosts.\n");