Jump to content

TomXP411

Super Administrators
  • Posts

    1172
  • Joined

  • Last visited

  • Days Won

    98

Files posted by TomXP411

  1. BASIC Line Number tool in Python

    This is a simple Python utility to add line numbers to BASIC programs.
    GOTO and GOSUB use labels instead of line numbers, like this:

    GOTO @HELLO 
    END
    @HELLO 
    PRINT "HELLO WORLD"
    In addition, the special @@ label resolves to "current line", like this:

    GET A$:IF A$="" THEN @@ 
    This will resolve to something like
    100 GET A$:IF A$="" THEN 100
    I have included a little Morse Code translator as a proof of concept and simple test program.
    This program and the Morse demo are open source, distributed under CC-BY license. 
     

    18 downloads

       (0 reviews)

    Submitted

  2. Menu program (WIP)

    This is an unofficial concept program for a CX16 menu. Modify the DATA statements to add your submenus and commands. 
    This is currently just a demo to explore the look and and feel of a basic, BASIC menu. Since it does not clear the screen, it is useful as an autoboot menu. 
    New: uses a new API to push keys into the keyboard buffer. This allows the LOAD and RUN to operate outside of the running program, preventing problems that occur when chaining programs in BASIC. 

    141 downloads

       (0 reviews)

    Updated

  3. PRG Load Address Fix

    I wrote this to let you transfer BASIC programs between the Commander X16 and the Commodore PET (and MINI PET). 
    If the program's load address is NOT $801, PRG Fix adjusts it to 801 and saves a copy of the file. 
    If the file has the load address set to $801 (Commander X16, Commodore 64), it will change the load address to $401 for the Commodore PET.
    This does not change any of the program's code, so any commands in the program must be compatible across both systems. ie: don't use BASIC 4 keywords like "CATALOG" or CXBASIC keywords like "DOS". 

    8 downloads

       (0 reviews)

    Submitted

  4. Read Directory in BASIC

    This reads the disk directory in BASIC. This is a super simple example and doesn't actually parse the files... it's just smart enough to read "$" and print it to the screen. 
     

    87 downloads

       (1 review)

    0 comments

    Updated

×
×
  • Create New...

Important Information

Please review our Terms of Use