about summary refs log tree commit diff stats
path: root/subx/019syscalls.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4442Kartik Agaram2018-07-271-1/+1
| | | | Clean up trace levels everywhere in SubX.
* 4434Kartik Agaram2018-07-271-1/+1
| | | | | | | | Key core data structures by hex bytes in text rather than opcode numbers. Saves us round trips of having to parse and reparse strings, and also allows us to more easily ignore unexpected non-hex words in each transform. We'll use this ability next when we start inserting labels.
* 4407 - error message on unimplemented syscallsKartik Agaram2018-07-251-0/+2
| | | | Fixes #9.
* 4386 - start of syntax-checkingKartik Agaram2018-07-221-1/+1
|
* 4380 - single-byte opcodes all documentedKartik Agaram2018-07-201-0/+3
|
* 4364Kartik Agaram2018-07-171-1/+0
|
* 4363 - subx: first program using the stack segmentKartik Agaram2018-07-161-0/+2
| | | | | We allocate space for a local variable, read() a character from stdin to it, and write() it out to stdout.
* 4352 - subx: write() syscallKartik Agaram2018-07-161-1/+4
|
* 4333Kartik Agaram2018-07-101-1/+1
| | | | Fix a warning in CI.
* 4331Kartik Agaram2018-07-081-0/+3
| | | | Fix CI.
* 4327Kartik Agaram2018-07-081-2/+1
| | | | Encapsulate RAM management.
* 4326 - new example: read() from stdinKartik Agaram2018-07-071-0/+5
| | | | | Currently only runs in emulated mode. Likely a paging issue, writing data to code page. I'm not checking the return value.
* 4284 - implement first syscall for subxKartik Agaram2018-06-281-0/+19
Hopefully I won't need much more than exit, read and write.