mirror of
https://github.com/catseye/SixtyPical.git
synced 2025-01-08 19:30:29 +00:00
Add notes for Apple II target.
This commit is contained in:
parent
51b98df829
commit
3675a186a1
14
doc/Apple II Notes.md
Normal file
14
doc/Apple II Notes.md
Normal 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.
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user