Post Reply 
41C ROMs: LBL linkages
08-28-2019, 12:21 AM
Post: #1
41C ROMs: LBL linkages
I'm trying to understand something in the 41C ROM format, particularly where it includes USER code.

I understand the ROM structure, and I know that UCODE areas of the ROM have a 2 word "prefix" that specifies (among other things) the number of regisers and how many bytes in the first register are required to copy the code from ROM to RAM.

Also, the LBL/END chain is calculated correctly for global labels and ENDs in the ROM ... except for the first LBL after a UCODE prefix. It appears that the first global LBL after a UCODE prefix can have any value for the bbbr rrrr rrrr values (hex C bbbr rrrr rrrr F nnnn kkkk ...).

PRINTER ROM, first label after first previx is LBL "PRPLOT", has "C8 00 ..." implying a 4 byte/0 register link.

PPCL ROM, first label after first prefix is LBL "MK", has "C6 00 ...", implying a 3 byte/0 register link.
PPCL ROM, first label after second prefix is LBL "LF", has a "C6 00 ...", also implying a 3 byte/0 register link.
PPCL.ROM, first label after third prefix is LBL "ML", has a "CA 00 ...", implying a 5 byte/0 register link.

Does anyone know the meaning of the first link values after a UCODE prefix in 41C ROMs?

Thanks,
-RobertM
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
41C ROMs: LBL linkages - RobertM - 08-28-2019 12:21 AM
RE: 41C ROMs: LBL linkages - Ángel Martin - 08-28-2019, 04:56 AM
RE: 41C ROMs: LBL linkages - RobertM - 08-28-2019, 01:57 PM
RE: 41C ROMs: LBL linkages - hth - 09-01-2019, 04:42 AM
RE: 41C ROMs: LBL linkages - RobertM - 09-04-2019, 08:41 PM
RE: 41C ROMs: LBL linkages - hth - 09-04-2019, 09:45 PM
RE: 41C ROMs: LBL linkages - RobertM - 09-05-2019, 12:10 AM
RE: 41C ROMs: LBL linkages - hth - 09-05-2019, 01:27 AM
RE: 41C ROMs: LBL linkages - Ángel Martin - 09-05-2019, 07:50 AM
RE: 41C ROMs: LBL linkages - hth - 09-05-2019, 04:32 PM



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