collapseos/tools/tests/zasm
Virgil Dupras ae028e3a86 blockdev: make implementors "random access"
This huge refactoring remove the Seek and Tell routine from blockdev
implementation requirements and change GetC and PutC's API so that they
take an address to read and write (through HL/DE) at each call.

The "PTR" approach in blockdev implementation was very redundant from
device to device and it made more sense to generalize. It's possible
that future device aren't "random access", but we'll be able to add more
device types later.

Another important change in this commit is that the "blockdev handle" is
now opaque. Previously, consumers of the API would happily call routines
directly from one of the 4 offsets. We can't do that any more. This
makes the API more solid for future improvements.

This change forced me to change a lot of things in fs, but overall,
things are now simpler. No more `FS_PTR`: the "device handle" now holds
the active pointer.

Lots, lots of changes, but it also feels a lot cleaner and solid.
2019-06-04 15:36:20 -04:00
..
errtests.sh blockdev: make implementors "random access" 2019-06-04 15:36:20 -04:00
geninstrs.py Move apps/zasm/tests to tools/tests/zasm 2019-05-16 11:23:15 -04:00
runtests.sh zasm: includes CFS is now built on-the-fly by zasm.sh 2019-06-02 19:57:40 -04:00
test1.asm zasm: add support for "$" symbol 2019-05-20 09:17:50 -04:00
test2.asm Move apps/zasm/tests to tools/tests/zasm 2019-05-16 11:23:15 -04:00
test3.asm Move apps/zasm/tests to tools/tests/zasm 2019-05-16 11:23:15 -04:00
test4.asm zasm: allow single quote to contain whitespace 2019-05-17 17:22:16 -04:00
test5.asm zasm: add multiplication expressions 2019-05-17 22:22:10 -04:00
test6.asm Make userspace parse args the same way the shell does 2019-06-02 14:05:20 -04:00
test7.asm blockdev: make implementors "random access" 2019-06-04 15:36:20 -04:00
test8.asm zasm: add support for .org directive 2019-05-19 14:40:42 -04:00