|★ APPLICATIONS ★ PROGRAMMATION ★ HEXER: MORE ABOUT HEXER|Computing With the Amstrad) ★|
We're now at the stage where you might want to start saving and loading back the machine code programs you've created with Hexer. (Hexer was first published in the February 1987 issue of Computing with the Amstrad.)
Program I shows the lines you have to either add or alter to add these options.
Also, we've featured RAW, a full Z80 assembler, in this issue.
This new version of Hexer and RAW can quite easily be combined to produce a useful toolkit for developing machine code programs. Both can reside in the memory at the same time, provided they have different line numbers, and a simple menu can be added to allow one or the other to be selected.
First load Hexer, renumber it so that it starts at 10000 and save it as an Ascii file. Load RAW and merge Hexer, as follows:
Next, type Program II.
Hexer needs altering very slightly to enable it to run as RAW takes up a fair chunk of memory. The machine code must be located higher in the memory so change any reference of &2FF8 to &7FF8, and change any &3000's or 3000's to &8000 or 8000.
At the start of Hexer MEMORY is set to &2FF8. This would need to be changed to &7FF8 and the start address is now &8000.
When you've made these changes the program can be saved and then run.