+++++++++++++++++++++++++++++++++++++++++++++++++++++++++

JOLT TinyBasic Enhancement ROM Notes

Scott LaBombard
August 2025

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Just add the ROM at $D000. No SW/HW modifications are
required.


Commands added: MON, HSPTR, NEW, AND, OR, NOT, PEEK, POKE
                ABS, FRE, FOR, NEXT, LOAD, and SAVE


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++

AND

example:  PRINT AND(125,589)
output:   77


OR

example:  PRINT OR(125,589)
output:   637


NOT

example:  PRINT NOT(43)
output:   -44


ABS

example:  PRINT ABS(-43)
output:   43


FRE

Prints free memory.

Usage:    PRINT FRE(0)


HSPTR

Toggles between using the high speed paper-tape reader
or the console for input.


NEW

Clears the current program.


PEEK

Print the contents of the specified decimal memory address.

example:  PRINT PEEK(8192)


POKE

Store the specified value at the specified memory address.

example:  POKE 8192,44
result:   value 44 will be stored at address 8192


PEEK

example:  PRINT PEEK(8192)
output:   44


FOR/NEXT

Standard FOR/NEXT loop support. STEP is not supported,
however reverse order loops are:

FOR I=1 TO 10      FOR I=10 TO 1
PRINT I            PRINT I
NEXT I             NEXT I
END                END


SAVE

Will save the current Basic program in MOS Tech Hex format
to the console. After entering the SAVE command, you will
be at the TIM monitor prompt.

After the SAVE command has finished, you will be at the
TIM monitor prompt. Just enter the TIM 'G' command to
return to TinyBasic (via the TinyBasic warm start entry
point, so the Basic program remains intact).


LOAD

Will load a Basic program in MOS Tech Hex format from the
console or the high speed paper-tape reader (depending on
which is selected for program input by the HSPTR command
or via the TIM monitor's H command).

After the LOAD command has finished, you will be at the
TIM monitor prompt. Just enter the TIM 'G' command to
return to TinyBasic (via the TinyBasic warm start entry
point, so the Basic program remains intact).

