This is a version of Steve Wozniak's Integer BASIC for the Apple II, with a wrapper that allows it to be loaded under ProDOS. It operates in two modes:
-
When invoked directly, the Integer BASIC
>prompt is shown and you can type in and execute programs. The following additional commands are available at the prompt:SAVE pathsaves the current program as anINTprogram file.LOAD pathloads anINTprogram file.RUN pathloads and runs anINTprogram file.CHAIN pathloads and runs anINTprogram file, without clearing variables.PREFIXshows the current ProDOS prefix.PREFIX pathsets the current ProDOS prefix.CATorCATALOGshows the contents of the current directory.CAT pathorCATALOG pathshows the contents of the specified directory.DELETE pathdeletes the specified file.RENAME path,newpathrenames the specified file.BSAVE path,A<address>,L<length>saves aBINfile.BLOAD path[,A<address>]loads aBINfile.BRUN path[,A<address>]runs aBINfile.LOCK pathandUNLOCK pathlock/unlock the specified file.STORE pathandRESTORE pathsave/load variables to the specifiedIVRfile.-pathrunsINT,BINorSYSfilesBYEexits back to ProDOS.
-
When invoked as an "interpreter" for an
INTfile from a program selector (such as Bitsy Bye or Apple II DeskTop), the file is loaded and executed.- When the program ends normally or encounters an error, control is returned to ProDOS and the program selector.
- Pressing Control+C will usually exit a program as well.
- Optionally, hold down Open Apple or Solid Apple when starting to allow exiting the program to remain at the
>prompt.
-
When invoked directly, if a
INTfile namedHELLOis present, will be run automatically.
⚠️ Note that while Integer BASIC programs do have the ability to execute commands from BASIC withPRINT "<control-D>...", only the above commands are supported. Commands for operating on text files (OPEN,READ, etc) are not supported.
See Integer BASIC on Wikipedia or Apple II BASIC Programming Manual to learn more about the language.
This uses the Integer BASIC disassembly by Paul R. Santa-Maria from: https://6502disassembly.com/a2-rom/ (utilizing the SourceGen format conversion by Andy McFadden)
Modifications:
- Target address commented out (defined by includer)
SYNTABLE-118is corrected toSYNTABLE>>1- Dead code is ifdef'd out
Notes:
- At runtime, the
GRcommand is modified to ensure the hires screen is not shown. - At runtime,
CALL -10473is intercepted to support the Programmer's Aid Music Subroutine.
As a convenience, and since they were used by some Integer BASIC programs, the Programmer's Aid #1 Music Subroutine by Gary J. Shannon is included. This uses the annotated disassembly by James Davis from https://6502disassembly.com/a2-rom/PA1.html#A2PA1.6
Modifications:
- Target address commented out (defined by includer)
- Padding bytes commented out