1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-07-23 08:52:34 +10:00
Commit Graph

5 Commits

Author SHA1 Message Date
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
Virgil Dupras
e4c23b4270 shell: echo types letters right away
Easier to use this way...
2019-04-14 15:18:41 -04:00
Virgil Dupras
461c09f1e5 Decouple shell from acia 2019-04-14 14:24:29 -04:00
Virgil Dupras
8ccddbcb0e Separate shell and acia input buffers
They serve a different purpose. The goal of the ACIA buffer is to ensure
that we don't miss an input. The goal of the shell buffer is to wait
until the user presses return.

The ACIA buffer has been moved to shell and replaced with a circular
buffer, a more appropriate data structure for this kind of purpose.

Also, introduce `aciaGetC`.
2019-04-14 14:04:31 -04:00
Virgil Dupras
6bb454232a Extract "acia.asm" from shell
Also, come up with a way to make parts play well together memory-wise.
2019-04-13 16:01:20 -04:00