Compare commits

...

2 Commits

Author SHA1 Message Date
Virgil Dupras
8a696a1e23 Add "See it in action" section to README
closes #15
2019-10-31 20:49:35 -04:00
Virgil Dupras
a86234c87e Fix typo in shell's emul{Get,Put}C 2019-10-31 18:49:02 -04:00
2 changed files with 13 additions and 4 deletions

View File

@ -19,6 +19,14 @@ manage to build and install Collapse OS without external resources (i.e.
internet) on a machine of her design, built from scavenged parts with low-tech
tools.
## See it in action
Michael Schierl has put together [a set of emulators running in the browser that
run Collapse OS in different contexts][jsemul].
Using those while following along with the [User Guide](doc/) is your quickest
path to giving Collapse OS a try.
## Organisation of this repository
* `kernel`: Pieces of code to be assembled by the user into a kernel.
@ -39,3 +47,4 @@ for more information.
[libz80]: https://github.com/ggambetta/libz80
[web]: https://collapseos.org
[jsemul]: https://schierlm.github.io/CollapseOS-Web-Emulator/

View File

@ -84,8 +84,8 @@ init:
; setup stack
ld hl, KERNEL_RAMEND
ld sp, hl
ld hl, emulGetB
ld de, emulPutB
ld hl, emulGetC
ld de, emulPutC
call stdioInit
call fsInit
ld a, 0 ; select fsdev
@ -97,13 +97,13 @@ init:
ld (SHELL_CMDHOOK), hl
jp shellLoop
emulGetB:
emulGetC:
; Blocks until a char is returned
in a, (STDIO_PORT)
cp a ; ensure Z
ret
emulPutB:
emulPutC:
out (STDIO_PORT), a
ret