MAIN MENU


DOCS, EXAMPLES, and HELP

PORTING CBM BASIC PROGRAMS TO KIM-1 BASIC (KB9) Some notes on what I’ve learned about translating between PET, VIC-20, and Commodore 64 programs and the original “MOS TECH BASIC v1.1” for the KIM-1. This covers converting PETSCII cursor controls, differences in the two flavors of BASIC (surprisingly few!), and tools and techniques used for porting programs.  See cbm2asc.zip for a great old tool to detokenize CBM .prg files and make them plain text (runs under DOSBox).

COMPARISON OF 7 HIGH-LEVEL LANGUAGES FOR 6502 MACHINES –A PDF file of a slide presentation, the goal of which was to show that there's more out there than MS BASIC/KB9.

SETTING UP A TWO-DIMENSIONAL ARRAY IN TINY BASIC -- Included in this ZIP file is a BASIC program listing and documentation that shows how to create a limited two-dimensional array with Tiny BASIC on a small single board computer with limited RAM.  The game the routines are in is not all that great, but the technique may prove useful for other things.

FOR VTL-2: BETTER 'RETURNS' , PEEK-n-POKE, ML THOUGHTS -- A text outlining a way around the #=! return-from-subroutine limitation, how to implement PEEK and POKE commands (ala Tiny BASIC), plus notes on reliably passing values between VTL-2 and machine language.

Apple BASIC (A1B): USING STRINGS AS DATA HOLDERS -- Some notes on embedding machine code into a string and then storing it for use, plus thoughts on using strings in place of DATA statements, which A1B lacks.  And a game!  "Stronghold of the Dwarven Lords" uses both techniques mentioned above.