I dropped a note to Steen who developed the code @VM - let’s see if he has something to add.
(09-06-2020 03:17 PM)Diego Diaz Wrote: Hi all,
As requested by the owner, here you are the CAT 2 listing of the HEPAX 0C prototype:
-HEPAX 0C
HAPPCHR
HAPPREC
HARCLRC
HASROOM
HCLFL
HCRFLAS
HCRFLD
HDELCHR
HDELREC
HEPDIR
HEPROOM
HFLSIZE
HGETR
HGETREC
HGETRX
HGETX
HINSCHR
HINSREC
HPURFL
HRCLPT
HRCLPTA
HRENAME
HSAVER
HSAVERX
HSAVEX
HSEC
HSEKPT
HSEKPTA
HUNSEC
CLRAM
CODE
COPYROM
DECODE
DECODYX
DISASS
HEPAX
HEPAXA
HEXEDIT
HPROMPT
RAMTEST
RAMTOG
READROM
ROMTEST
WRTROM
XF
XFA
As you can see, there are a number of differences with the production units and some function names were changed afterwards (some of them "fortunately" changed: e.g "DISASS" -> "DISASM" :-D
Although it has less functions there are a couple of them, that were removed from production modules: RAMTEST & ROMTEST.
To no one's surprise, RAMTEST checks if the RAM page "n" addressed in "X" register is ok . It shows "n:NO RAM" if pointed to a no RAM page. On a good RAM page it shows "n:RAM TESTING" (for quite a while) and then "n:RAM OK". It shows "n: WRT PRTCTED" if the RAMTOG commad has protected that page.
ROMTEST shows the code of the ROM in page "n" addressed in "X" register (in reverse sequence if there are several banks in that page: e.g. 4, 3, 2, 1 for HEPAX) and then CHECKSUM OK or CHECKCUM ERROR depending on the case.
Best wishes.
Diego.