Skip to content

Thank you Steve Wozniak :-) it was the dream machine of my early 20's. Getting back into it with some awesome tools.

Notifications You must be signed in to change notification settings

balmerd/Apple-II

Repository files navigation

Apple ][ Programming

Re-learning 6502 assembler using FREE modern tools on Windows.

Installation

  • NodeJS (for the build task)
  • Visual Studio Code (VSCode)
  • Merlin 32 (cross compiler)
  • AppleWin (Apple ][ emulator for Windows)
  • Create and manage disk images using AppleCommander (requires Java)

VSCode Setup

  • Install the "Beeb VSC" extension for syntax highlighting
  • See the README file in the "VSCode Extensions" folder for futher instructions
  • Use .vscode/tasks.json to setup your VSCode tasks to build and deploy using NodeJS
    • add your own source files to the "pickString" options
    • make one of them the "default"
  • Ctrl+Shift+P to open Command Palette
  • Select Tasks: Configure Default Build Task and choose "Merlin32 compile"

Development

  • Make sure that disk-images/MYDISK.do has write permissions.
  • Ctrl+Shift+B to invoke the Default Build Task (above) and select "hello" from the list to:
    • Compile, create a "hello" BIN file and a "hello_Output.txt file with compilation details.
    • Delete existing BIN file from the "MYDISK" disk image.
    • Copy compiled BIN file to the "MYDISK" disk image.
    • Delete the compiled BIN file from your source folder.
    • Run the AppleWin emulator with the "MYDISK" disk image in Drive 1.
  • IMPORTANT: Disk image must be ejected from AppleWin first or you will get a file access error.

Testing

In AppleWin:

  • Type CATALOG to see your files on the "MYDISK" disk.
  • Type "BRUN HELLO" to run.

Create an autorun disk

  1. Run AppleWin and load the "MYDISK" disk image into Drive 1
  2. Reboot
  3. Type the following (without the comments) which will create an AppleSoft Basic program that runs when the disk is booted:
NEW
10 HOME
20 PRINT CHR$(4)"BRUN HELLO" (the BIN file)
30 END
INIT HELLO (to create an autorun BAS file)
  1. Eject the disk image from Drive 1.
  2. Build and deploy using the steps in the Development section.

To make changes to the "MYDISK" disk boot script:

LOAD HELLO
LIST
20 PRINT "HI DAVE"
SAVE

References

Books and Docs

Apple ][ Disk Images

Apple ][ Software Manuals

About

Thank you Steve Wozniak :-) it was the dream machine of my early 20's. Getting back into it with some awesome tools.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published