1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-06-14 08:29:33 +00:00

Add notes for Apple II target.

This commit is contained in:
Chris Pressey 2018-09-05 12:59:38 +01:00
parent 51b98df829
commit 3675a186a1
2 changed files with 16 additions and 4 deletions

14
doc/Apple II Notes.md Normal file
View File

@ -0,0 +1,14 @@
Notes for building SixtyPical programs for Apple II
===================================================
And running them on `linapple`.
We'll do `eg/rudiments/add-pass.60p`. It does nothing.
bin/sixtypical --origin=0x2000 --output-format=raw eg/rudiments/add-pass.60p > add-pass.bin
cp ~/scratchpad/linapple/res/Master.dsk sixtypical.dsk
a2in B sixtypical.dsk ADD-PASS add-pass.bin
a2ls sixtypical.dsk
linapple -d1 sixtypical.dsk -autoboot
Next... we should do one that does something.

View File

@ -8,8 +8,7 @@ Output Formats
The file contains only the emitted bytes of the compiled SixtyPical
program.
The default origin is $0000; it is not unlikely you will want to
override this.
The default origin is $0000; you will likely want to override this.
Note that the origin is not stored in the output file in this format;
that information must be recorded separately.
@ -20,8 +19,7 @@ The first two bytes of the file contain the origin address in
little-endian format. The remainder of the file is the emitted bytes
of the compiled SixtyPical program, starting at that origin.
The default origin is $C000; it is likely you will want to
override this.
The default origin is $C000; you will likely want override this.
This format coincides with Commodore's PRG format for disk files,
thus its name.