From 5f3694133a6ba6659bf8329eece496c0f40b9de6 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Mon, 17 Oct 2016 11:18:18 -0700 Subject: [PATCH] Updated READMEs regarding RAM image support --- devices/pc8080/ram/README.md | 14 ++++++++------ devices/pc8080/rom/README.md | 11 +++++------ devices/pdp11/ram/README.md | 13 +++++++++++++ modules/pc8080/lib/rom.js | 1 - 4 files changed, 26 insertions(+), 13 deletions(-) diff --git a/devices/pc8080/ram/README.md b/devices/pc8080/ram/README.md index e5ebd5ab2..95e98bc53 100644 --- a/devices/pc8080/ram/README.md +++ b/devices/pc8080/ram/README.md @@ -7,15 +7,17 @@ permalink: /devices/pc8080/ram/ 8080-Based RAM Images --------------------- -RAM images are added to machines by including a ** component in the machine XML configuration file -with the *file* attribute set to the filename of the image; eg: +RAM images are added to machines by including a `` component in the machine XML configuration file +with the *file* attribute set to the filename of the image, along with optional *load* and *exec* addresses; eg: ```xml - + ``` -The project currently contains the following 8080-based ROMs: +If no *load* address is specified, the `` component relies on the "load" property of the JSON-encoded RAM image; +otherwise, the starting RAM address is used. If no *exec* address is specified, the CPU will begin execution at its usual +reset address. + +The project currently contains the following 8080-based RAM images: * [8080 Exerciser Tests](exerciser/) -* [Space Invaders (1978)](invaders/) -* [DEC VT100 Terminal](vt100/) diff --git a/devices/pc8080/rom/README.md b/devices/pc8080/rom/README.md index 0288823ff..dc09e6fd8 100644 --- a/devices/pc8080/rom/README.md +++ b/devices/pc8080/rom/README.md @@ -1,21 +1,20 @@ --- layout: page -title: 8080-Based ROMs +title: 8080-Based ROM Images permalink: /devices/pc8080/rom/ --- -8080-Based ROMs ---- +8080-Based ROM Images +--------------------- -ROMs are added to machines by including one *[ROM](/docs/pcx86/rom/)* component in the machine XML configuration file +ROMs are added to machines by including one `` component in the machine XML configuration file for each ROM in the machine; eg: ```xml ``` -The project currently contains the following 8080-based ROMs: +The project currently contains the following 8080-based ROM images: -* [8080 Exerciser Tests](exerciser/) * [Space Invaders (1978)](invaders/) * [DEC VT100 Terminal](vt100/) diff --git a/devices/pdp11/ram/README.md b/devices/pdp11/ram/README.md index 20cbf01d6..e35d850f2 100644 --- a/devices/pdp11/ram/README.md +++ b/devices/pdp11/ram/README.md @@ -7,5 +7,18 @@ permalink: /devices/pdp11/ram/ PDP-11 RAM Images ----------------- +RAM images are added to machines by including a `` component in the machine XML configuration file +with the *file* attribute set to the filename of the image, along with optional *load* and *exec* addresses; eg: + +```xml + +``` + +If no *load* address is specified, the `` component relies on the "load" property of the JSON-encoded RAM image; +otherwise, the starting RAM address is used. If no *exec* address is specified, the CPU will begin execution at its usual +reset address. + +The project currently contains the following PDP-11 RAM images: + * [PDP-11 Boot Demo](bootdemo/) * [PDP-11 Bootstrap Loader](bootstrap/) diff --git a/modules/pc8080/lib/rom.js b/modules/pc8080/lib/rom.js index a25ecfcae..c4e04132a 100644 --- a/modules/pc8080/lib/rom.js +++ b/modules/pc8080/lib/rom.js @@ -65,7 +65,6 @@ function ROM8080(parmsROM) this.addrROM = parmsROM['addr']; this.sizeROM = parmsROM['size']; - /* * The new 'alias' property can now be EITHER a single physical address (like 'addr') OR an array of * physical addresses; eg: