Posts: 1,841
Threads: 54
Joined: Jul 2005
Hi,
the ENBANK3 opcodes don't automatically mean there's a third page, they could simply be data, or part of an instruction.
Regarding disassembling bank switched ROMs, I think the HEPAX manual talks about this topic.
Which ROM are you talking about?
Maybe a query of Matthias' module list (at www.hp-collection.org) could answer some questions .
Raymond
Posts: 858
Threads: 80
Joined: Feb 2009
You have to find a way to enable that second bank _before_ disassembling it. IIRC the secondary banks may be enabled/disabled idependently, as such you may *not* call the switch routine of the HP-41CX in page 5 to switch the secondary page of the Advantage Module for example. You have to find the switch routine of your module. Be careful, as Raymond remarked, the ENBANK 3 in your disassembly may be wrong interpreted by your disassembler.
Ciao.....Mike
Posts: 1,253
Threads: 117
Joined: Nov 2005
A common mistake is FOCAL programs being "disassembled", generating lots of ENBK3 mnemonics but obviously not being such.
The HEPAX function "HEXEDIT" (included in your NoVRAM) can switch between banks, just press the "+" and "-" keys as requested. The appropriate flag indicator (1-4) will also come up to let you know which bank it's looking at.(Unfortunately this function is "disabled" for itself, so you wan't see the HEPAX ROM contents).
A couple of examples are the IR_Printer module, and of course the Advantage.
You can also use the nice MCODE program posted in T.O.S.
Best,
ÁM