Commit Graph

8 Commits

Author SHA1 Message Date
Virgil Dupras
942ff37bf8 shell: implement load command 2019-04-14 14:53:16 -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
902c6a5dd3 shell: add count arg to peek
Also, fix seek reversed endianness.
2019-04-14 11:54:18 -04:00
Virgil Dupras
e4e7db8e23 shell: cleanup 2019-04-14 11:22:45 -04:00
Virgil Dupras
21168f6c4e shell: implement seek and peek
This introduces `core.asm` which includes routines used by other parts.
2019-04-14 11:17:38 -04:00
Virgil Dupras
9580cc3994 shell: add "seek" and "peek" dummy commands
This change introduces a command name matching algo.
2019-04-13 22:39:28 -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