about summary refs log tree commit diff stats
path: root/html/subx
Commit message (Collapse)AuthorAgeFilesLines
* 4923Kartik Agaram2019-01-122-282/+283
| | | | | We want slice-equal? for length-prefixed strings, not null-terminated "kernel" strings.
* 4922Kartik Agaram2019-01-111-6/+7
|
* 4921Kartik Agaram2019-01-1112-1118/+1201
|
* 4920Kartik Agaram2019-01-113-337/+690
|
* 4919Kartik Agaram2019-01-1011-2222/+2739
|
* 4914Kartik Agaram2019-01-0715-444/+1575
|
* 4901Kartik Agaram2019-01-033-0/+0
|
* 4900Kartik Agaram2018-12-301-353/+347
| | | | | | | | | | | Finally really fix the CI failure of commit 4894. This is a remainder to forget my knowledge of stack addresses in the SubX VM when writing SubX programs. Otherwise my programs will work in the VM but not natively. The only assumptions a SubX program should make about its segment addresses are what's encoded in the ELF binary. Thanks to https://en.wikipedia.org/wiki/Address_space_layout_randomization, it can't know anything else.
* 4899Kartik Agaram2018-12-3030-156/+156
| | | | Bug in my linkify tool introduced in commit 4891.
* 4898Kartik Agaram2018-12-302-2/+2
|
* 4897Kartik Agaram2018-12-304-400/+564
|
* 4895Kartik Agaram2018-12-3027-48/+48
|
* 4892Kartik Agaram2018-12-301-12/+15
|
* 4891Kartik Agaram2018-12-3059-341/+400
| | | | | | | | | | | Couple more tweaks to html rendering: a) SubX definitions no longer link redundantly to themselves. This long-standing issue turns out to be tractable to solve for SubX files since the syntax is so simple. b) Fix links to SubX definitions in other directories. I forgot that I have to always generate tags from the directory of the file being linkified. c) Fix link colors. Before we lost all syntax highlighting for functions and Globals. Now they maintain their colors, just add an underline.
* 4890 - new html renderingsKartik Agaram2018-12-2963-3756/+4075
| | | | | | | a) Switch to a light background. b) Linkify calls in .subx files. c) Keep all colorization in the Vim colorscheme, get rid of hacky special-cases in update_html.
* 4880Kartik Agaram2018-12-2823-42/+40
|
* 4879Kartik Agaram2018-12-286-32/+32
|
* 4878Kartik Agaram2018-12-271-1/+1
|
* 4877Kartik Agaram2018-12-271-2/+2
|
* 4869Kartik Agaram2018-12-1642-1210/+1195
|
* 4865Kartik Agaram2018-12-101-14/+14
| | | | More mnemonic register usage in write-stream.
* 4864Kartik Agaram2018-12-101-213/+266
| | | | Our first buffer overflow!
* 4863Kartik Agaram2018-12-102-2/+2
|
* 4862Kartik Agaram2018-12-091-145/+144
|
* 4860 - stage 1 of SubX compiler in SubX is done!Kartik Agaram2018-12-091-1511/+1568
| | | | | | | | | I'm imagining 3 core stages total: 1. convert text hex bytes -> binary (✓) 2. pack and reorder operands 3. compute label addresses (Not including extras like error-checking.)
* 4858 - debugging tipsKartik Agaram2018-12-083-0/+0
|
* 4855Kartik Agaram2018-12-061-1147/+1634
|
* 4849Kartik Agaram2018-12-061-1010/+1099
|
* 4848Kartik Agaram2018-12-061-904/+903
|
* 4847Kartik Agaram2018-12-0611-23/+23
|
* 4846Kartik Agaram2018-12-063-883/+1147
| | | | | | | | | | | | | | Clean up a few things: a) Call scan-next-byte in hex.subx with the right number of args. Turns out tests continue to work fine if they never use the other args. b) Tear down a test for 'stop' in the right order. Not important since we have no EBP to restore. But can still be misleading. c) Have 'check-ints-equal' return nothing. Handy for it to not mess up EAX. I never use the result anyway, and the name also is imperative suggesting callers won't expect a return value.
* 4845Kartik Agaram2018-12-061-630/+627
|
* 4845Kartik Agaram2018-12-061-0/+892
| | | | Making progress on hex1 (http://web.archive.org/web/20061108010907/http://www.rano.org/bcompiler.html)
* 4844Kartik Agaram2018-12-062-4/+4
|
* 4842Kartik Agaram2018-12-053-484/+500
|
* 4841Kartik Agaram2018-12-041-0/+161
| | | | New helper: print an error message, then a numeric byte, then abort.
* 4840Kartik Agaram2018-12-044-16/+306
| | | | New helper: printing a string to a buffered file.
* 4839Kartik Agaram2018-12-041-2/+2
|
* 4838Kartik Agaram2018-12-041-10/+10
| | | | Better to use EDI as a mnemonic for 'destination'.
* 4837Kartik Agaram2018-12-042-2/+2
| | | | Let's standardize to use opcode 39 rather than 3b by default.
* 4836Kartik Agaram2018-12-041-1/+1
|
* 4835Kartik Agaram2018-12-041-1/+1
|
* 4834Kartik Agaram2018-12-041-73/+64
| | | | Fix CI since 4827.
* 4832Kartik Agaram2018-12-0411-1781/+1800
| | | | | | Let's start adding ':end' labels in all functions, just because it helps us visualize where function calls end in traces, thanks to the '--map' commandline argument.
* 4831Kartik Agaram2018-12-042-4/+8
|
* 4830Kartik Agaram2018-12-038-1109/+1632
| | | | | | New helper: printing a byte in textual (hex) form. This required adding instructions for bitwise shift operations.
* 4829Kartik Agaram2018-12-031-3/+3
| | | | | Showing the error bit pattern explicitly makes it more clear that it's not possible to generate as a non-error value.
* 4828 - writing to buffered-fileKartik Agaram2018-12-032-193/+421
| | | | | This is likely a sub-optimal interface, but I'm trying not to agonize. The whole point of Mu is to permit radical changes at any point in time.
* 4827Kartik Agaram2018-12-031-49/+49
| | | | | | | | | I was 'returning' a phantom value from 'write' when the underlying '_write' returns nothing. In general, returning counts of bytes written is not so useful for error checking when my primitives abstract away from that. We'll come back to error signalling later.
* 4826Kartik Agaram2018-12-032-2/+2
|