Rca cosmac elf file format
This file takes the form of one or more RCA Cosmac Elf monitor commands, also known as the IDIOT/4 monitor. Only the change memory command (W!M) is allowed.
The general form of the W!M command takes the form
!Maaaa dd ... dd
The W!M command writes data byte bytes (represented by character pairs dd) into successive memory locations, started at address aaaa. Spaces between data bytes are ignored.
Using the comma (W,) line continuation character resumes from the next address in sequence.
!Maaaa dd ... dd, dd ... dd
Using the semicolon (W;) line continuation character takes an address on the next line
!Maaaa dd ... dd; aaaa dd ... dd
It is also possible to have the semicolon immediately after the command.
!M; aaaa dd ... dd
All of these forms may be used in combination.
In general, binary data will expand in size by approximately 2.0 times when represented with this format.
Here is an example Cosmac file. It contains the data \[lq]Hello, World[rq] to be loaded at address 0x1000.
!M1000 48656C6C6F2C20576F726C640A
\*(n) version \*(v)
Copyright \*(Y) Peter Miller
The \*(n) program comes with ABSOLUTELY NO WARRANTY; for details use the '\*(n) -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the '\*(n) -VERSion License' command.
Peter Miller | E\[hy]Mail: | [email protected] |
---|---|---|
/\ | /\ | * |
WWW: | http://miller.emu.id.au/pmiller/ |