Main Menu
- The Library NEW
A FORUM FOR THE MASSES
C64FORUM.COM
My VGP.ca Referral Code Get $5 off your first purchase!
A FORUM FOR THE MASSES
C64FORUM.COM
My VGP.ca Referral Code Get $5 off your first purchase!
To pass values to the registers when SYS'ing to an ML routine, you can poke to certain memory locations in zero page. They are:
Register | C64 | C128 | |||
Accumulator | 780 | 6 | |||
X | 781 | 7 | |||
Y | 782 | 8 | |||
Process Status Register | 783 | 5 |
Of course, the 128 makes it easier… just SYS [address],A,X,Y,P