ROM routine A871

All aspects of programming on the Commander X16.
Post Reply
unartic
Posts: 145
Joined: Sat Oct 28, 2023 3:26 pm

ROM routine A871

Post by unartic »

Hi!

On c64 $A871 is the address of the basic rom routine 'RUN' (https://skoolkid.github.io/sk6502/c64rom/asm/A871.html). If I check that address in de cx16 ROM it seems it is not there.

Where can I find the address of the RUN command from basic in cx16 ROM?
User avatar
ahenry3068
Posts: 1194
Joined: Tue Apr 04, 2023 9:57 pm

Re: ROM routine A871

Post by ahenry3068 »

What are you planning on using this for ?. It's usually a bad idea to call these things directly at a hard coded address. To much chance it won't work on the next ROM update.
unartic
Posts: 145
Joined: Sat Oct 28, 2023 3:26 pm

Re: ROM routine A871

Post by unartic »

I'm aware :-)

in the meantimeI have found it at $CCC2 by searching rom bank 4 for the sequence of opcodes from the RUN routine. This way I can find it on the fly, as long as the RUN routine itself doesn't change.

I'll post a new question as follow up. It will make my intentions clear :-)
Post Reply