Dec 31, 2018
Want to get more regular with my status updates here. In the 7 days since my last on https://github.com/akkartik/mu/blob/5a68894ca/subx/Readme.md:
- a simple memory allocator, assuming we rarely free: http://akkartik.github.io/mu/blob/5a68894ca/subx/066allocate.subx
- a sketch of safe pointers for a later compiler of a C-like language: http://akkartik.github.io/mu/blob/5a68894ca/subx/apps/handle.subx
- compiled a fairly small Linux kernel and ran SubX with it on Qemu. Still need to get it booting a real laptop and VPS. Also, /dev/fb0.
- light background for my terminals! And for the above code renderings.
Next up: compiling SubX in SubX. Phase 1 is done: translating text hex bytes into binary http://akkartik.github.io/mu/blob/5a68894ca/subx/apps/hex.subx.html. 1700 lines, but sub 200 lines/instructions excluding tests and comments.
Phase 2: packing operand bitfields into bytes.
Phase 3: translating labels. *That* will be interesting, without a hash table for strings.
This post is part of my Freewheeling Apps Devlog.
Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.