collapseos/apps/zasm
Virgil Dupras b4694225c5 blockdev: change GetC API
Instead of waiting, GetC always return immediately, with Z indicating if
something was fetched. The "wait" loop is implemented by the called (and
in the new `blkGetCW`).

This simplifies out-of-bounds verifications for storage blockdevs.
2019-04-22 14:26:16 -04:00
..
emul zasm: extract tok.asm from zasm.asm 2019-04-21 09:25:52 -04:00
tests zasm: add a bunch of instructions 2019-04-21 14:49:33 -04:00
README.md
tok.asm zasm: add support for IX/IY with displacement 2019-04-21 10:55:47 -04:00
zasm.asm blockdev: change GetC API 2019-04-22 14:26:16 -04:00

z80 assembler

This is probably the most critical part of the Collapse OS project. If this app can be brought to completion, it pretty much makes the project a success because it ensures self-reproduction.

Running on a "modern" machine

To be able to develop zasm efficiently, libz80 is used to run zasm on a modern machine. The code lives in emul and ran be built with make, provided that you have a copy libz80 living in emul/libz80.

The resulting zasm binary takes asm code in stdin and spits binary in stdout.