mirror of
https://github.com/fadden/6502bench.git
synced 2025-01-22 12:33:56 +00:00
29 lines
1.4 KiB
Markdown
29 lines
1.4 KiB
Markdown
# SourceGen Examples #
|
|
|
|
These are some sample projects you can play with. The binaries are
|
|
accompanied by the original source code, so you can compare the SourceGen
|
|
project to the original.
|
|
|
|
* Tutorial: a simple project, intended for use with the tutorial in
|
|
the manual.
|
|
* A2-lz4fh: two functions for unpacking a simplified form of LZ4 compression.
|
|
One is 6502, the other is 65816.
|
|
[(Full project)](https://github.com/fadden/fhpack)
|
|
* A2-Amper-fdraw: 6502 code that provides an Applesoft BASIC interface
|
|
to a machine-language graphics library. The public interface of the
|
|
graphics library is defined in a .sym65 file.
|
|
[(Full project)](https://github.com/fadden/fdraw)
|
|
* A2-HP-CDA: HardPressed Classic Desk Accessory. This is 65816 code
|
|
in OMF loader format, which SourceGen doesn't support, so it's a little
|
|
rough.
|
|
[(Full project)](https://fadden.com/apple2/hardpressed.html)
|
|
* A2-Zippy: a program for controlling an Apple IIgs CPU accelerator card.
|
|
65816 sources, with a little bit of ProDOS 8 and IIgs toolbox usage.
|
|
[(Full project)](https://fadden.com/apple2/misc.html#zippy)
|
|
|
|
(You may be wondering why some of the example files have filenames with
|
|
things like "#061d60" in them. It's a method of preserving the file type
|
|
for Apple II files used by some utilities. The potential advantage here
|
|
for SourceGen is that the file type often determines the load address,
|
|
possibly removing some initial guesswork.)
|