Apple IIgs simple 40char buffer editor. Written in 658c16 assembly.
Go to file
David Stancu 31ae6bfcb5 Update README.md 2018-02-08 22:21:49 -05:00
src fully working buffer editor + count! some small bugs but otherwise wow 24 hour progress!! 2018-02-08 00:32:04 -05:00
LICENSE Initial commit 2017-12-26 18:55:18 -05:00
README.md Update README.md 2018-02-08 22:21:49 -05:00
assemble.sh working assemble -> deploy thanks to the FB group for some assist 2018-01-15 13:22:59 -05:00
blankdisk.po lots of learning the last 24h 2018-01-16 19:52:31 -05:00
build_env.sh Update README.md 2018-02-08 22:21:49 -05:00

README.md

mrbuffer

A small text editor for the 40 character buffer of the Apple IIgs I used to learn 65816 assembly.

mrbuffer

Getting Started

Requirements

I used BrutalDeluxe's Cross-Dev Tools: CADIUS for disk imaging and the Merlin32 assembler. We'll be building them from source since they are not large.

  • A *nix flavor would be helpful!
  • GNU build tools
  • Some patience (my scripts might not build everything right on your system)
  • An Apple IIGS emulator of your preference + the appropriate ROM (which you'll have to find)
    • The assemble script uses gsplus

OS X Users: Merlin has an issue with a65816_Line.c:L2412 that I crudely patch with sed, so if you have issues look there first. Works for me on Sierra with the XCode build tools.

Building

There are two scripts here which will get all the tools needed to assemble the game.

./build_env.sh # Downloads and builds Cadius and Merlin
./assemble.sh  # Assemble and launch

The assemble script runs the source through Merlin32, then changes the ProDOS file kind to S16, an executable format that is used for GS/OS applications. _FileInformation.txt is what cadius uses to manage the ProDOS metadata for each record (since obviously this information can't be mapped to your computer's filesystem).

References

There are a lot of good materials out there: here is what I used to make this. Additionally, thank you to the Apple IIGS Enthusiasts Facebook group and #a2chat over at irc.a2central.com for answering my questions.