Mark Baldwin has hacked out a program to help out all you hackers in your hacking. It adds six new RSX's to Basic, and should help out when you're looking around memory, because it's much better than using peek and poke. These new commands consist of: - |MDUMP, address, lines, rom : Dumps the contents of RAM or a ROM to the screen from the given address. The lines parameter is the number of lines to dump and must be in the range 0-255. (0 is treated as 255.) The upper rem number can be included.
- |MTYPE, address : Similar to imdump: prints memory contents in Ascii format. Press any Key to stop the dump.
- |MFILL,address,length,byte : Fills the contents of memory from the given address with the byte value. The length must be from 0-65535.
- |BMOVE, source, destination, length : Moves a block of code. The source is the start address, the destination is the target address and the length is the size of the block in bytes.
- |DOKE,address,integer : Places a 16 bit integer value in the the given address. Can handle values from 0-65535. and pokes them in low byte first, then high byte.
- |DEEK,address,@variable : reads a 16 bit value into an integer variable from the address. Declare the variable before you use the command!
Program Notes This is a standard RSX loader. Line 10 reserves memory and then starts a looping procedure. Lines 20-50 continue this loop, with line 40 checking each line against the checksum at the end. Line 50 calls the machine code and clears the machine using NEW. The machine code data statements run from 60-250. AA ★ AMSTRAD CPC ★ DOWNLOAD ★ |
|
CPCrulez[Content Management System] v8.7-desktop/c Page créée en 510 millisecondes et consultée 1494 foisL'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko. |
|
|