Hi!
I was searching very small and short commented ROM/RAM disassemply/map for
- value for A, X, Y register for SYS command
- value for Z register for SYS command
- value SR for SYS command
- value SP for SYS command
- value of Bank for SYS command
- SYS routine address
- LO and HI byte for use with SYS command as address
But nothing found - C65 is more undocumented than documented, Mega65 ROM/RAM description Ithink is not final so notapplicable.
Like we know SYS command can be performed with preloaded register values and even preform in ML code using LO and HI byte - since Basic 7on Commodore 128 can be called
SYS <address>, A,X,Y,S
So,where to findthese values an/or good resources?
For complete found info:
C128
-----
0005 SR value for SYS
0006 A reg. value for SYS
0007 X reg. value for SYS
0008 Y reg. value for SYS
0009 SP value for SYS
0002 Bank value for SYS
0003 LO-byte SYS address
0004 HI-byte SYS address
22661 / $5885 SYS
C64
----
780 $030C A value for SYS
781 $030D X value for SYS
782 $030E Y value for SYS
783 $030F SP value for SYS
20 $0014 LO-byte SYS address
21 $0015 HI-byte SYS address
57642 $E12A SYS
VIC20
-----
780 $030C A value for SYS
781 $030D X value for SYS
782 $030E Y value for SYS
783 $030F SR value for SYS
57639 $E127 SYS
C16+4
-----
2034 $07F2 A value for SYS
2035 $07F3 X value for SYS
2036 $07F4 Y value for SYS
2037 $07F5 SR value for SYS
Thank you for help.
Miro