Changes

Dk'tronics memory expansion

79 bytes added, 19:16, 6 February 2010
The available memory could be switched in and out of the Z80 64K address block in banks of 16K using either RSX (bar) commands within basic or within an assembly code program.
 
== RSX Commands ==
 
The additional bar commands were:
 
* |Bank, n - Map a 16K bank directly into memory space (where n is the bank No.)
* |Swap - Alternate between high and low screens
* |Low - Change to the low screen
* |High - Change to the high (default) screen
* |Saves, n - Store a screen to a 16K bank (where n is the bank No.)
* |Loads, n - Retrieve a screen from a 16K bank (where n is the bank No.)
* |Savew, w, n - Stores a windows contents into a 16K bank (where n is the bank No.)
* |Loadw, w, n - Load a window with the data from a 16K bank (where n is the bank No.)
* |Saved, n, s, l - Transfer original RAM to expansion RAM
* |Loadd, n, s, l - Load original RAM from expansion RAM
* |Peek, n, s, v - Read the value of a byte in the expansion RAM
* |Poke, n, s, v - Write to a byte in the expansion RAM
 
A further command which was considered to be only for 'advanced' users was also described later in the handbook:
 
* |Askram, E, V (E=enquiry No. V=variable) could be used to request information from the expansion card, including the amount of RAM available (where E=1), return the number of banks available (where E=2) or (E=3) returned a 0 or 1 to indicate whether the expansion card 'had a problem'.
== Technical ==
See [[Dk'tronics Memory Expansion Gallery]].
 
== RSX Commands ==
 
Bank Switch Software (with RSX commands) is included on tape or disc.
The Bank Switch Software RSX commands are:
 
* |Bank, n - Map a 16K bank directly into memory space (where n is the bank No.)
* |Swap - Alternate between high and low screens
* |Low - Change to the low screen
* |High - Change to the high (default) screen
* |Saves, n - Store a screen to a 16K bank (where n is the bank No.)
* |Loads, n - Retrieve a screen from a 16K bank (where n is the bank No.)
* |Savew, w, n - Stores a windows contents into a 16K bank (where n is the bank No.)
* |Loadw, w, n - Load a window with the data from a 16K bank (where n is the bank No.)
* |Saved, n, s, l - Transfer original RAM to expansion RAM
* |Loadd, n, s, l - Load original RAM from expansion RAM
* |Peek, n, s, v - Read the value of a byte in the expansion RAM
* |Poke, n, s, v - Write to a byte in the expansion RAM
 
A further command which was considered to be only for 'advanced' users was also described later in the handbook:
 
* |Askram, E, V (E=enquiry No. V=variable) could be used to request information from the expansion card, including the amount of RAM available (where E=1), return the number of banks available (where E=2) or (E=3) returned a 0 or 1 to indicate whether the expansion card 'had a problem'.
== Manuals ==
6,388
edits