1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-25 07:32:16 +00:00
SixtyPical/eg/rudiments
2019-05-14 15:01:10 +01:00
..
errorful
support Extract utility routine to "support/stdlib.60p" source. 2018-12-25 18:10:58 +00:00
add.60p Final (for now) cleanup of the example sources. 2018-12-12 15:27:57 +00:00
buffer.60p Add reset instruction; much refactoring. 2019-05-14 08:56:35 +01:00
call.60p Add local load'n'go script. Fill in what each is expected to write. 2018-12-11 18:14:36 +00:00
cmp-byte.60p
cmp-litword.60p Add example test program for cmp-against-literal-word. Fix it. 2018-12-12 09:09:45 +00:00
cmp-word.60p
conditional2.60p Add local load'n'go script. Fill in what each is expected to write. 2018-12-11 18:14:36 +00:00
conditional.60p Add local load'n'go script. Fill in what each is expected to write. 2018-12-11 18:14:36 +00:00
example.60p Extract utility routine to "support/stdlib.60p" source. 2018-12-25 18:10:58 +00:00
forever.60p Final (for now) cleanup of the example sources. 2018-12-12 15:27:57 +00:00
goto.60p Add local load'n'go script. Fill in what each is expected to write. 2018-12-11 18:14:36 +00:00
loop.60p Add local load'n'go script. Fill in what each is expected to write. 2018-12-11 18:14:36 +00:00
memloc.60p Add local load'n'go script. Fill in what each is expected to write. 2018-12-11 18:14:36 +00:00
nested-for.60p Forbid nested with interrupts blocks, and more refactoring. 2019-05-14 15:01:10 +01:00
print.60p
README.md Replace --run option with terser --run-on option. 2019-04-16 10:35:59 +01:00
vector-table.60p
vector.60p Add local load'n'go script. Fill in what each is expected to write. 2018-12-11 18:14:36 +00:00
word-table.60p Make word-table print YY. 2018-12-12 09:13:13 +00:00

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 support/ should be included first, so that system entry points such as chrout are defined. In addition, some of these programs use "standard" support modules, so those should be included first too. For example:

sixtypical --run-on=x64 support/c64.60p support/stdlib.60p 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.)