Post Reply 
4K HP 67 Games rom attached for testing
11-03-2016, 07:20 PM
Post: #87
RE: 4K HP 67 Games rom attached for testing
(11-03-2016 04:27 PM)Gene Wrote:  Ah, so add 3 bytes for each focal program as well, not just 2 bytes per label ?

If so, we have 25 global labels x 2 bytes + 3 bytes x 16 program files + 12 bytes = 110 bytes overhead.

4096 - 110 = 3986 bytes available.

Our 16 program files take 4022 bytes right now. Have to cut 36.

Add 2 bytes per program file (this is the COPY overhead).

Multiply global labels by 2 (for the FAT).

Other ROM overhead is 16 (for FAT, poll vectors, identity and checksum).

Then you have the header shown in CAT 2. It takes (number of characters) + 2, add 1 if you want it to RTN safely, otherwise it will crash (like HP modules tend to do) if you try to execute it.

Håkan
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP-67 AOS program to debug - Gene - 10-30-2016, 02:11 AM
RE: 4K HP 67 Games rom attached for testing - hth - 11-03-2016 07:20 PM



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