about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 6443Kartik Agaram2020-05-303-311/+488
|
* 6442Kartik Agaram2020-05-302-1/+0
|
* 6441Kartik Agaram2020-05-292-13/+1
| | | | Just always flush Stdout when printing numbers.
* 6440Kartik Agaram2020-05-292-6/+6
| | | | | Minor reordering; the hacky flush-stdout is now only needed if we ever call print-int32-to-screen.
* 6439Kartik Agaram2020-05-292-4/+11
| | | | | Make print-byte less error-prone to use. Now none of our screen primitives are buffered.
* 6438 - multiple pages on screenKartik Agaram2020-05-291-7/+28
| | | | At the moment the number of pages is hard-coded to my screen width.
* 6437 - check screen/window dimensionsKartik Agaram2020-05-292-10/+11
| | | | | | | | 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.
* 6436Kartik Agaram2020-05-291-2/+0
|
* 6435Kartik Agaram2020-05-291-2/+13
|
* 6434Kartik Agaram2020-05-291-3/+3
|
* 6433 - render newlines correctlyKartik Agaram2020-05-292-0/+4
| | | | | | | | | | | | | 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.
* 6432 - paginator starting to take shapeKartik Agaram2020-05-291-2/+56
|
* 6431 - Mu function blocks can double as loopsKartik Agaram2020-05-291-7/+5
|
* 6430Kartik Agaram2020-05-291-4/+3
| | | | | Perhaps the lack of safety just forces us to make smaller functions, like Forth.
* 6429Kartik Agaram2020-05-291-0/+35
| | | | | Baby steps. I managed to mess up even this tiny refactoring of print-file.mu. Wish output registers were already checked in calls.
* 6428Kartik Agaram2020-05-291-1/+1
|
* 6427Kartik Agaram2020-05-291-7/+13
|
* 6426Kartik Agaram2020-05-282-32/+44
|
* 6425Kartik Agaram2020-05-285-7654/+7917
|
* 6424Kartik Agaram2020-05-283-1/+2
|
* 6423 - done with sample app 'print-file'Kartik Agaram2020-05-283-6/+35
| | | | | | | | | | | 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
* 6422 - size-of for handlesKartik Agaram2020-05-286-6/+26
|
* 6421Kartik Agaram2020-05-281-0/+0
|
* 6420Kartik Agaram2020-05-281-2/+5
| | | | | | | Starting to feel the need for more static checks, like when I must use a register, or when a variable has been clobbered. The good news: I thought I'd found a bug in apps/mu, but I hadn't.
* 6419 - new primitive for opening filesKartik Agaram2020-05-283-1/+59
|
* 6418Kartik Agaram2020-05-281-2/+14
|
* 6417Kartik Agaram2020-05-281-0/+8
|
* 6416Kartik Agaram2020-05-281-2/+8
|
* 6415Kartik Agaram2020-05-272-7/+16
|
* 6414Kartik Agaram2020-05-272-0/+629
|
* 6413Kartik Agaram2020-05-271-0/+0
| | | | Fix CI.
* 6412Kartik Agaram2020-05-271-1/+1
|
* 6410Kartik Agaram2020-05-271-0/+91
|
* 6410 - primitives for raw keyboard inputKartik Agaram2020-05-272-0/+205
|
* 6409 - primitives for text-mode UIsKartik Agaram2020-05-2730-1/+335
|
* 6408Kartik Agaram2020-05-272-2/+4
|
* 6407Kartik Agaram2020-05-251-9/+10
|
* 6406 - primitive 'copy-handle'Kartik Agaram2020-05-2514-0/+23
|
* 6405Kartik Agaram2020-05-252-2/+2
|
* 6404Kartik Agaram2020-05-251-10/+39
|
* 6403Kartik Agaram2020-05-242-1/+1
|
* 6402Kartik Agaram2020-05-241-1/+1
|
* 6401 - have scripts follow the Unix wayKartik Agaram2020-05-242-20/+0
| | | | | | | Stay silent if all is well. I don't agree with this, but it's not like the messages I was printing out were particularly useful.
* 6400Kartik Agaram2020-05-242-1/+9
|
* 6399 - make mu.vim work better out of the boxKartik Agaram2020-05-241-2/+6
| | | | | | Adding some more colors will improve the experience, but the choices depend on colorscheme, and first impressions should at least not seem to have degraded things.
* 6398Kartik Agaram2020-05-242-4/+4
|
* 6397Kartik Agaram2020-05-2428-1336/+1336
| | | | | Drop '---' section boundaries from filenames. I noticed them confusing tab-completion for certain advanced shell setups.
* 6396Kartik Agaram2020-05-245-14130/+14707
|
* 6395Kartik Agaram2020-05-241-0/+2
|
* 6394 - a catastrophic bugKartik Agaram2020-05-243-1/+14
| | | | | | | How did new-literal ever work?! Somehow we had eax silently being clobbered without affecting behavior over like 5 apps. Unsafe languages suck. Anyways, factorial.mu is now part of CI.