Apple IIgs simple 40char buffer editor. Written in 658c16 assembly.
Go to file
David Stancu f708f131f4
fix gif
2018-02-08 22:27:46 -05:00
src fix backspace behavior, click speaker! 2018-02-08 22:23:54 -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
LICENSE
README.md fix gif 2018-02-08 22:27:46 -05:00

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).

I also extracted the Merlin16 macros from the original images. I'm not using them yet but I imagine I will need to in order to implement quitting, etc.

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.