Re: Getting HEXEDIT to work on the HEPAX itself Message #2 Posted by Ángel Martin on 29 Jan 2012, 6:42 a.m., in response to message #1 by Ángel Martin
Just occured to me that I should make a couple of additional remarks:
1. HEXEDIT on the HEPAX will only work while you stay on Bank'1, for obvious reasons
2. DISASM on the hepax will show the second bank code, as this is where the currently excecuting code resides.
On the DISASM patch, there is a simpler alternative to Monte´s solution. The FOCAL program below does all three patches for you, assuming the HEPAX ROM is plugged on page A and also using the same CL sRAM addresses as in Monte´s document.
01 LBL "HPXPTCH"
02 "HEPX"
03 PLUG2L
04 "030>83F"
05 AVIEW
06 YMCPY
07 "83F08D-0000" - patches the DISASM glitch
08 YPOKE
09 "8040AC-883F" - maps the patched bank'4 to the MMU
10 YPOKE
11 "02D<83E"
12 AVIEW
13 YMCPY
14 "83E12F-0033" - patches the self-DISASM limitation
15 YPOKE
16 "83E474-010B" - patches the self-HEXEDIT limitation
17 YPOKE
18 "8040A0-883E" - maps the patched bank'1 to the MMU
19 YPOKE
20 "DONE"
21 AVIEW
22 END
Enjoy,
'AM
Edited: 29 Jan 2012, 6:54 a.m.
|