1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-22 01:32:13 +00:00
SixtyPical/eg/rudiments
2018-12-11 17:55:08 +00:00
..
errorful Small reorganization of example programs. 2018-12-11 17:17:15 +00:00
support Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
add-pass.60p Partial conversion of example programs. 2018-09-07 23:00:29 +01:00
add-word.60p More conversion. 2018-09-09 15:03:43 +01:00
buffer.60p More conversion. 2018-09-09 15:03:43 +01:00
call.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
cmp-byte.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
cmp-word.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
conditional2.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
conditional.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
copy.60p Partial conversion of example programs. 2018-09-07 23:00:29 +01:00
example.60p More conversion. I think that's the last of it. 2018-09-09 15:31:35 +01:00
forever.60p More conversion. 2018-09-09 15:03:43 +01:00
goto.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
if.60p More conversion. I think that's the last of it. 2018-09-09 15:31:35 +01:00
loop.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
memloc.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
print.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
README.md Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
vector-table.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
vector.60p Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
word-table.60p Partial conversion of example programs. 2018-09-07 23:00:29 +01: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 platform/, should be included first, like

sixtypical platform/c64.60p vector-table.60p

so that system entry points such as chrout are defined.

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.)