Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2345

8-bit acorn software: other • Re: Value of Y register after *-command

$
0
0
No problem, now I know that and I have a work-around. You don't have to implement this unless you have really no other project to work on :lol:
I do have other projects but..

All done! I have modified OSARGS to implement the call when Y=0 and A=1.

Now after *COMMAND PARAMETERS

You can run:
LDA #1
LDY #0
LDX #&zp
JSR &FFDA

to get the 4 byte address of the PARAMETERS string in zp.

You should be able to do *UPDATE to get the new version.

John.

Statistics: Posted by iwasjafa — Fri Sep 20, 2024 11:04 pm



Viewing all articles
Browse latest Browse all 2345

Trending Articles