Tree @master (Download .tar.gz)
This directory contains example sources which demonstrate the rudiments of SixtyPical.
Examples that are meant to fail and produce an error message
when being compiled are in the errorful/ subdirectory.
The other sources are portable across architectures. They use
include directives to bring in architecture-dependent libraries
to produce output. Libraries for such are provided in the
architecture-specific subdirectories of the include directory
in the root directory of this repository; make sure it is on the
compiler's include search path. For example:
sixtypical --run-on=x64 -I../../include/c64/:../../include/stdlib/ 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.)
History of
eg
/
rudiments
@master
git clone https://git.catseye.tc/SixtyPical/
- Arrange license info in repo to follow REUSE 3.0 convention. Chris Pressey 2 years ago
- Update the errorful rudiments. Chris Pressey 6 years ago
- Update READMEs. Chris Pressey 6 years ago
- Establish an `include` directory and `--include-path` option. Chris Pressey 6 years ago
- Forbid nested `with interrupts` blocks, and more refactoring. Chris Pressey 7 years ago
- Add `reset` instruction; much refactoring. Chris Pressey 7 years ago
- Replace --run option with terser --run-on option. Chris Pressey 7 years ago
- Remove the "local" loadngo script from here as well. Chris Pressey 7 years ago
- The VICE emulators just keep going if they can't find the vicerc. Chris Pressey 7 years ago
- Checkpoint import of changes for version 0.19. Chris Pressey 7 years ago
- Extract utility routine to "support/stdlib.60p" source. Chris Pressey 7 years ago
- Final (for now) cleanup of the example sources. Chris Pressey 7 years ago
- Expand example with code that will likely become library support. Chris Pressey 7 years ago
- Make word-table print YY. Chris Pressey 7 years ago
- Add example test program for cmp-against-literal-word. Fix it. Chris Pressey 7 years ago
- Add local load'n'go script. Fill in what each is expected to write. Chris Pressey 7 years ago
- Move towards greater platform-agnosticism in these examples. Chris Pressey 7 years ago
- `inc` and `dec` on a known range usually keeps it known, now. Chris Pressey 7 years ago
- Small reorganization of example programs. Chris Pressey 7 years ago
- Fix order of operands in word-sized `cmp`. Chris Pressey 7 years ago
- Add another example. Even more convincing that the order is wrong. Chris Pressey 7 years ago
- Add example program that suggests we've got the arguments backwards. Chris Pressey 7 years ago
- More conversion. I think that's the last of it. Chris Pressey 7 years ago
- More conversion. Chris Pressey 7 years ago
- Partial conversion of example programs. Chris Pressey 7 years ago
- Describe the behaviour just implemented. Chris Pressey 8 years ago
- Beginnings of modularity. Chris Pressey 8 years ago
- Make loadngo.sh able to handle both C64 (x64) and VIC-20 (xvic). Chris Pressey 8 years ago
- Syntax errors have line numbers in them now. Chris Pressey 8 years ago
- Re-organize the example programs. Chris Pressey 8 years ago