.. | ||
errorful | ||
support | ||
add-pass.60p | ||
add-word.60p | ||
buffer.60p | ||
call.60p | ||
cmp-byte.60p | ||
cmp-litword.60p | ||
cmp-word.60p | ||
conditional2.60p | ||
conditional.60p | ||
copy.60p | ||
example.60p | ||
forever.60p | ||
goto.60p | ||
loadngo.sh | ||
loop.60p | ||
memloc.60p | ||
print.60p | ||
README.md | ||
vector-table.60p | ||
vector.60p | ||
word-table.60p |
This directory contains example sources which demonstrate the rudiments of SixtyPical.
Examples that are meant to fail and produce an error message
are in the errorful/
subdirectory.
These files are intended to be architecture-agnostic.
For the ones that do produce output, an appropriate source
under platform/
, should be included first, like
sixtypical platform/c64.60p vector-table.60p
so that system entry points such as chrout
are defined.
There's a loadngo.sh
script in this directory that does this.
./loadngo.sh c64 vector-table.60p
chrout
is a routine with outputs the value of the accumulator
as an ASCII character, disturbing none of the other registers,
simply for the purposes of producing some observable output.
(There is a KERNAL routine which does this on both the Commodore 64 and the Commodore VIC-20. It should not be hard to find or write such a routine for most other architectures.)