mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 03:38:05 +11:00
34ee91a0d7
This will soon allow use to seek and tell on input, which is necessary for a second pass which is necessary for forward symbol references. This require making `blkSel` a bit more flexible. Rather than having one global selected blkdev, each app can select its own, in its own memory space. |
||
---|---|---|
.. | ||
tests | ||
directive.asm | ||
instr.asm | ||
io.asm | ||
literal.asm | ||
main.asm | ||
parse.asm | ||
README.md | ||
symbol.asm | ||
util.asm |
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.