Assembly Interpreter
For ROM and RAM address, please consult the Really Bored
Productions II 86 Header File
Seklorean OS, Basic Library Function 46:
This allows a Basic program to make any ROM call, given an offset from 4000h.
Example:
:A82h→W
:46:SWS
It only clears the screen. The bold letters are hexadecimal, so press [2nd],
then [1] to find them. W is the offset from 4000h, and SWS is a small program storing Ans to S and running the shell. Here's that code:
:Ans→S
:Asm(Seklorea
Seklorean OS, Basic Library Function 47:
This allows a Basic program to store a value to any RAM address, given an offset
from C000h.
Example:
:6→Q
:113Dh→W
:47:SWS
This particular example stores Q to D13Dh, which is 113Dh
from C000h. That address is an argument for the last example.
Seklorean OS, Basic Library Function 48:
This allows a Basic program to store a value to a screen address, given an offset
from FC00h.
Example:
:255→Q
:512→W
:48:SWS
Guess. It stores 255 to FC00h + 512. It's right in the middle of the screen.
Final, Big Example:
:ClLCD
:Disp "ABCDEF","GHIJKL","MNOPQR","STUVWX","YZabcd","efghij","klmnop
:Pause
:2→Q
:113Dh→W
:47:SWS
:5→Q
:113Eh→W
:47:SWS
:A86h→W
:46:SWS