Post Reply 
Help identifying 41C custom ROM module
02-18-2022, 06:39 AM (This post was last modified: 02-18-2022 06:40 AM by Massimo Gnerucci.)
Post: #7
RE: Help identifying 41C custom ROM module
(02-18-2022 05:09 AM)dmh Wrote:  So what is the best way to extract the FOCAL and machine code from the ROM and making it human readable?

I ended up using lifutils and then rom2raw and there's lots of XROM calls and it doesn't appear to have a mapping option to the actual name to make it more readable like decomp41 and decomp41 just lists the first program.

Interestingly the FOCAL code also includes synthetic programming.

I want to extract and disassemble the machine code too.

Sample output from rom2raw:
Code:
37▸LBL "JN"
38 CLA
39 ARCL 00
40 ALENG
41 X=0?
42 STO 00
43 RCL 00
44 SIGN
45 XROM 25,32                 Non-local XROM
46 "◆◆◆)◆α◆"
47 X<> M                      Synthetic
48 STO d                      Synthetic
49 CLX
50 X<> M                      Synthetic
51 XROM 25,45                 Non-local XROM
52 SF 25
53 ARCL L
54 XROM 25,15                 Non-local XROM
55 FC? 25
56 GTO 08
57 "JOB:""

Those XROM 25 should be X functions: 25,32=RCLFLAG, 25,45=STOFLAG and 25,15=FLSIZE

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Help identifying 41C custom ROM module - Massimo Gnerucci - 02-18-2022 06:39 AM



User(s) browsing this thread: 1 Guest(s)