Can you turn off the basic ?
Posted: Mon Feb 26, 2024 9:35 pm
Hi good afternoon.
Can you turn "off" the basic if you just
plays with asm?
Thanks.
Can you turn "off" the basic if you just
plays with asm?
Thanks.
Commander X16 Community Forums
https://cx16forum.com/forum/
PC RA RO AC XR YR SP NV#BDIZC .;E3BB 01 04 00 00 00 F7 ........ .█From there, you can use the M command to view memory:
.M 0400 0420 .:0400 B3 BE C8 5D F3 E5 DE B1 .:0408 72 33 D6 6D 92 13 B5 91 .:0410 26 9B 8E F2 7A 78 A7 D4 .:0418 95 29 D7 BA BA 6C 32 7D .:0420 35 F6 E9 9C 54 67 6B D3the D command to disassemble:
D 0400 0410 .,0400 B3 NOP .,0401 BE C8 5D LDX $5DC8,Y .,0404 F3 NOP .,0405 E5 DE SBC $DE .,0407 B1 72 LDA ($72),Y .,0409 33 NOP .,040A D6 6D DEC $6D,X .,040C 92 13 STA ($13) .,040E B5 91 LDA $91,X .,0410 26 9B ROL $9BThe A command to assemble:
.A 0400 LDA #$20 .A0400 A9 20 LDA #$20G to run code at an address:
G 0400 PC RA RO AC XR YR SP NV#BDIZC .;0403 01 04 20 00 00 F6 ..**.... .And the L command to load a file:
L "MYFILE.PRG",8,0400The K command sets the RAM bank and the O command sets the ROM bank. You must use 2 digits with either command:
O01 K02