RAMTOOL.DOC

(2 KB) Pobierz
RAMTOOL DOCS.                                                         WSoft
1995 
 This file documents the program "RAMTOOL". It covers the syntax of the
program.RAMTOOL is a program which allows C64 users (equipped with a
commodore ram-expander) to utilize commands such as STASH, FETCH and SWAP,
otherwise found only on
the C-128.
  
  STASH transfers computer memory into the expander.
  FETCH transfers memory from the expander to the computer.
  SWAP  exchanges memory content between the expander and the computer.
 
There is a fourth command called VERIFY, supported by the hardware, but not 
implemented on the C-128's Basic 7.0 (or RAMTOOL).
 
Since this program is re-locatable, you can use it almost anywhere there is
roomfor it. The normal starting address is $033c or (828).
  The command works much like this:
 
SYS828,command,C64-start,bytecount,REUstart,bank,port
 
Explanation of parameters:
 
Command (first comma): enter a 1 to STASH, a 2 to FETCH, and a 3 to SWAP.
C64-start (second comma): Enter the decimal address of the starting point in
memory which has to do with the computer here.
bytecount (third comma): Enter the number of bytes you wish to transfer here.
REUstart (fourth comma): Enter the address within the REU to access during
the transfer.
bank (fifth comma): Enter a number between 0 and the existing number of 64K
chunks of memory your REU has availiable (minus 1).
port (fifth comma) enter a number between 0 and 7, depicting the state of the

memory of the C64. This is merely a 3-bit word (bits 0-2) inside the memory
location 1. You can access any area of the C64 that you wish (even the RAM
underthe I/O area of $d000-$dfff. Here is a short data table for this purpose
for youto reference:
 
value       $a000-$bfff         $d000-$dfff         $e000-$ffff
0               ram                 ram                 ram
1               ram               charset               ram
2               ram               charset               rom
3               rom               charset               rom
4               ram                 ram                 ram
5               ram                 I/O                 ram
6               ram                 I/O                 rom
7               rom                 I/O                 rom
 
... example:
       Do it like this if you want to stash a charset...
          sys828,1,53248,4096,0,0,1
             (this will stash 2048 bytes from the charset ROM to the bank 0 
              of your ram-expander)
 
Sid (WS95)
102541,420
 
Zgłoś jeśli naruszono regulamin