2018-03-26 12:16:53 +00:00
|
|
|
This directory contains SixtyPical example programs, categorized
|
2018-03-26 12:43:33 +00:00
|
|
|
in subdirectories by machine architecture.
|
2018-03-26 12:16:53 +00:00
|
|
|
|
2018-03-26 12:43:33 +00:00
|
|
|
### rudiments
|
|
|
|
|
|
|
|
In the [rudiments](rudiments/) directory are programs which are not for
|
|
|
|
any particular machine, but meant to demonstrate the features of SixtyPical.
|
|
|
|
Some are meant to fail and produce an error message. Others can run on
|
|
|
|
any architecture where there is a routine at 65490 which outputs the value
|
|
|
|
of the accumulator as an ASCII character.
|
|
|
|
|
|
|
|
### c64
|
|
|
|
|
|
|
|
In the [c64](c64/) directory are programs that run on the Commodore 64.
|
|
|
|
The directory itself contains some simple demos, for example
|
|
|
|
[hearts.60p](c64/hearts.60p), while there are subdirectories for more
|
|
|
|
elaborate demos:
|
2018-03-26 12:16:53 +00:00
|
|
|
|
|
|
|
* [demo-game](c64/demo-game/): a little game-like program written as a
|
|
|
|
"can we write something you'd see in practice?" test case for SixtyPical.
|
2018-03-26 12:33:07 +00:00
|
|
|
|
2018-03-26 12:16:53 +00:00
|
|
|
* [ribos](c64/ribos/): a well-commented example of a C64 raster interrupt
|
2018-03-26 12:33:07 +00:00
|
|
|
routine. Originally written with the P65 assembler (which has since
|
|
|
|
been reborn as [Ophis][]).
|
|
|
|
|
|
|
|
The second version of Ribos has been translated to SixtyPical.
|
|
|
|
|
2018-03-26 12:43:33 +00:00
|
|
|
* [petulant](c64/petulant/): "The PETulant Cursor", a tiny (44 bytes)
|
2018-03-26 12:16:53 +00:00
|
|
|
"display hack". Originally written in the late 80's. Rewritten with
|
2018-03-26 12:33:07 +00:00
|
|
|
the P65 assembler (now Ophis) and re-released on April 1st, 2008 (a
|
|
|
|
hint as to its nature).
|
|
|
|
|
2018-04-05 13:36:38 +00:00
|
|
|
Translated to SixtyPical (in 2018), after adding some optimizations
|
|
|
|
to the SixtyPical compiler, the resulting executable is still 44 bytes!
|
2018-03-26 12:16:53 +00:00
|
|
|
|
2018-03-26 12:43:33 +00:00
|
|
|
### vic20
|
|
|
|
|
|
|
|
In the [vic20](vic20/) directory are programs that run on the
|
|
|
|
Commodore VIC-20. The directory itself contains some simple demos,
|
|
|
|
for example [hearts.60p](vic20/hearts.60p).
|
2018-03-26 12:33:07 +00:00
|
|
|
|
2018-03-28 13:20:53 +00:00
|
|
|
### atari2600
|
|
|
|
|
2018-03-29 15:58:50 +00:00
|
|
|
In the [atari2600](atari2600/) directory are programs that run on the
|
2018-03-28 13:20:53 +00:00
|
|
|
Atari 2600 (4K cartridge). The directory itself contains a simple
|
2018-03-29 15:58:50 +00:00
|
|
|
demo, [smiley.60p](atari2600/smiley.60p) which was converted from an
|
|
|
|
older Atari 2600 skeleton program written in [Ophis][].
|
2018-03-28 13:20:53 +00:00
|
|
|
|
2018-03-26 12:33:07 +00:00
|
|
|
[Ophis]: http://michaelcmartin.github.io/Ophis/
|