Virgil Dupras
a3d3e0ce37
zasm: can now assemble the shell!
2019-05-17 19:36:32 -04:00
Virgil Dupras
b499d320de
zasm: can now assemble stdio!
2019-05-17 15:43:44 -04:00
Virgil Dupras
b8ece0bf98
blockdev: make zasm-friendly
2019-05-17 14:06:10 -04:00
Virgil Dupras
013a3b74c8
Add the concept of unit tests
...
Will be much much easier to tests new core routines without having to
re-create their context first.
Also, extract parse.asm from core.asm
2019-05-17 09:33:20 -04:00
Virgil Dupras
e4ffe669a1
acia: make zasm-friendly
2019-05-17 08:33:22 -04:00
Virgil Dupras
45b8e84e2a
shell: de-macro-ize
2019-05-17 08:21:37 -04:00
Virgil Dupras
56760b5aba
stdio: de-macro-ize
2019-05-17 08:14:19 -04:00
Virgil Dupras
2f0dd5d668
zasm: iiiiiiiincluuuuuuudes!!1!
2019-05-16 21:15:00 -04:00
Virgil Dupras
ede228374c
fs: allow fsNext to skip more than one block
...
When B>1, fsNext failed because HL was changed in the Seek call.
2019-05-16 13:59:52 -04:00
Virgil Dupras
df67a38f81
Extract fs_cmds.asm from fs.asm
2019-05-16 13:20:29 -04:00
Virgil Dupras
a994867a86
Wohoo! zasm assembles core.asm!!!
2019-05-14 16:50:35 -04:00
Virgil Dupras
23fd493013
core: make a bit more zasm-friendly
2019-05-14 16:42:44 -04:00
Virgil Dupras
72d2a8f073
zasm: add support for + expressions
2019-05-14 15:26:29 -04:00
Virgil Dupras
4f44d3de63
parts/z80/fs: add "fopn" command
2019-05-12 15:38:58 -04:00
Virgil Dupras
51bab80a4c
parts/z80/fs: fix fsInitMeta writing to ROM
2019-05-12 14:31:35 -04:00
Virgil Dupras
1ea5bedb4f
blockdev: fix broken blkSeek/blkTell
...
scas didn't warn about this, but it seems that `jr` calls were out of
range. Seek and Tell was broken. Replacing `jr` with `jp` does the
trick.
2019-05-12 13:57:37 -04:00
Virgil Dupras
c77d96da22
blockdev: clarify routines specs
2019-05-12 11:45:08 -04:00
Virgil Dupras
34ee91a0d7
zasm: use blkdev IDs as input and output
...
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.
2019-05-10 19:33:34 -04:00
Virgil Dupras
d8bc9c2bdd
parts/z80/sdc: implement blockdev's GetC
2019-05-09 10:47:57 -04:00
Virgil Dupras
54d0286486
parts/z80/sdc: add sdcSetBlkSize and sdcReadBlk
2019-05-08 20:08:17 -04:00
Virgil Dupras
12ca2bd53e
parts/z80/sdc: add sdcInitialize
...
Also, adjust SD card recipe. Straightforward initialization and read!
2019-05-08 16:03:54 -04:00
Virgil Dupras
ef11059382
parts/z80/sdc: new part
...
Incomplete, but what it does *does* work. I could handshake CMD0+CMD8 on
a MicroSD HC.
2019-05-07 14:50:24 -04:00
Virgil Dupras
59b0c83b0e
shell: add iowr and iord
2019-05-02 15:18:47 -04:00
Virgil Dupras
57c3dfece8
zasm: assemble multiple lines at once
2019-04-30 15:51:39 -04:00
Virgil Dupras
055e0d7a31
Split parts in two: z80 and avr
...
Also, clarify the role of recipes.
2019-04-25 16:03:45 -04:00