Commit graph

5 commits

Author SHA1 Message Date
Toby Jaffey
76fba39a21 Rework syscall ABI.
Syscalls now accept two parameters, allowing for things like "int count = read(buf, len)"
Rather than providing safe signatures for syscalls, the user is now given helper functions to safely parse incoming values, c-strings and slices.
2025-12-09 21:51:35 +00:00
Toby Jaffey
9d6e6790e1 Cleanup syscall numbers 2025-12-08 12:53:33 +00:00
Toby Jaffey
a305fce466 zigtris is > 16KB, so use 32KB for default host. 2025-12-07 21:12:48 +00:00
Toby Jaffey
9e6f6c5a67 Added IOREQ_MILLIS and IOREQ_GETC to get current time and poll keyboard.
IOREQ_GETC implemented inefficiently, but is fine for demo purposes.
2025-12-07 20:29:10 +00:00
Toby Jaffey
3e4c87fa1d Rename emulator to host, for clarity 2025-12-06 22:37:10 +00:00
Renamed from emulator/Makefile (Browse further)