Page 1 of 1

Can you turn off the basic ?

Posted: Mon Feb 26, 2024 9:35 pm
by funkheld
Hi good afternoon.

Can you turn "off" the basic if you just
plays with asm?

Thanks.

Re: Can you turn off the basic ?

Posted: Mon Feb 26, 2024 9:53 pm
by TomXP411
For starters, you can just drop into Supermon with the MON command.

Here's the full documentation: https://github.com/X16Community/x16-doc ... Monitor.md

You'll get a prompt that looks something like this:
   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 D3 
the 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 $9B
The A command to assemble:
.A 0400 LDA #$20
.A0400 A9 20    LDA #$20
G 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,0400
The K command sets the RAM bank and the O command sets the ROM bank. You must use 2 digits with either command:
O01
K02

Re: Can you turn off the basic ?

Posted: Mon Feb 26, 2024 10:57 pm
by funkheld
hello , thanks for the help

greeting.