about summary refs log tree commit diff stats
path: root/103screen.subx
Commit message (Collapse)AuthorAgeFilesLines
* 6599Kartik Agaram2020-06-291-2/+2
|
* 6597Kartik Agaram2020-06-291-2/+2
|
* 6596Kartik Agaram2020-06-291-4/+4
|
* 6595Kartik Agaram2020-06-291-1/+1
|
* 6441Kartik Agaram2020-05-291-13/+1
| | | | Just always flush Stdout when printing numbers.
* 6440Kartik Agaram2020-05-291-6/+6
| | | | | Minor reordering; the hacky flush-stdout is now only needed if we ever call print-int32-to-screen.
* 6439Kartik Agaram2020-05-291-2/+11
| | | | | Make print-byte less error-prone to use. Now none of our screen primitives are buffered.
* 6437 - check screen/window dimensionsKartik Agaram2020-05-291-4/+0
| | | | | | | | This was why I was trying to use a different output register: a second function to call. And I managed to mess it up again, changing the output of load-file, but not how it was computed in the body.
* 6433 - render newlines correctlyKartik Agaram2020-05-291-0/+1
| | | | | | | | | | | | | There were three confounding issues to get past before this seemed to be working right: - row/col count from 1 rather than 0 - I was thinking in decimal rather than hex - print-byte buffers to stdout, but print-string does not. I didn't think this mattered, but it does matter to flush the current line before moving cursor again. Only one of these issues was a bug in the code. The first two were bugs in my mental model that necessitated no changes to code to be corrected.
* 6424Kartik Agaram2020-05-281-1/+2
|
* 6423 - done with sample app 'print-file'Kartik Agaram2020-05-281-0/+25
| | | | | | | | | | | Observations: - the orchestration from 'in' to 'addr-in' to '_in-addr' to 'in-addr' is quite painful. Once to turn a handle into its address, once to turn a handle into the address of its payload, and a third time to switch a variable out of the overloaded 'eax' variable to make room for read-byte-buffered. - I'm starting to use SubX as an escape hatch for features missing in Mu: - access to syscalls (which pass args in registers) - access to global variables
* 6419 - new primitive for opening filesKartik Agaram2020-05-281-1/+1
|
* 6415Kartik Agaram2020-05-271-7/+16
|
* 6409 - primitives for text-mode UIsKartik Agaram2020-05-271-0/+309