Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | undo previous commit | Kartik K. Agaram | 2021-03-15 | 1 | -14/+0 |
| | | | | It was just an experiment. | ||||
* | snapshot: write to disk using BIOS | Kartik K. Agaram | 2021-03-15 | 1 | -0/+14 |
| | | | | | | | | | | Requires the following commands: dd if=/dev/zero of=data.img count=20160 ./translate life.mu qemu-system-i386 -hda disk.img -hdb data.img Before running Qemu, data.img will contain all 0s. After quitting Qemu, data.img will contain the first 512 bytes of disk.img. | ||||
* | boot.subx is now clean SubX | Kartik K. Agaram | 2021-03-15 | 1 | -13/+3 |
| | |||||
* | reintroduce Entry label | Kartik K. Agaram | 2021-03-15 | 1 | -7/+2 |
| | |||||
* | clean up padding | Kartik K. Agaram | 2021-03-15 | 1 | -26/+0 |
| | |||||
* | clean up magic constants | Kartik K. Agaram | 2021-03-15 | 1 | -58/+19 |
| | |||||
* | first pass translating all of boot.subx | Kartik K. Agaram | 2021-03-15 | 1 | -16/+14 |
| | | | | | | | There's still a few places to clean up surrounded in: == data ... == code | ||||
* | . | Kartik K. Agaram | 2021-03-15 | 1 | -27/+27 |
| | |||||
* | get shell/ working | Kartik K. Agaram | 2021-03-15 | 1 | -5/+5 |
| | | | | This mutates the expected binary. | ||||
* | . | Kartik K. Agaram | 2021-03-15 | 1 | -84/+63 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-15 | 1 | -8/+11 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-15 | 1 | -11/+9 |
| | |||||
* | manual labels remaining in boot.subx: keyboard + 1 | Kartik K. Agaram | 2021-03-15 | 1 | -3/+2 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-15 | 1 | -9/+8 |
| | |||||
* | clean up padding | Kartik K. Agaram | 2021-03-15 | 1 | -139/+12 |
| | | | | | I'm going to explicitly show all reserved data even if I don't use it. Segment headers are only for padding. | ||||
* | first pass translating boot sector | Kartik K. Agaram | 2021-03-15 | 1 | -19/+5 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-15 | 1 | -15/+15 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-15 | 1 | -21/+14 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-14 | 1 | -17/+18 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-14 | 1 | -6/+6 |
| | |||||
* | first use of the padding segment selector | Kartik K. Agaram | 2021-03-14 | 1 | -13/+18 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-14 | 1 | -12/+8 |
| | |||||
* | fix a few TODOs that mutate the expected binary | Kartik K. Agaram | 2021-03-14 | 1 | -12/+6 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-14 | 1 | -16/+14 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-14 | 1 | -5/+16 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-14 | 1 | -6/+8 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-14 | 1 | -11/+15 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-14 | 1 | -13/+15 |
| | |||||
* | . | Kartik K. Agaram | 2021-03-14 | 1 | -11/+12 |
| | |||||
* | fix a benign bug so far | Kartik K. Agaram | 2021-03-14 | 1 | -16/+16 |
| | | | | | | | | | I'd been assuming that the image would be identical if it worked, but I need to actually validate this at each step: ./translate life.mu && qemu-system-i386 disk.img && diff disk.img 0 The plan is to keep the binary identical until I finish translating boot.subx. Then I can remove obsolete padding. | ||||
* | . | Kartik K. Agaram | 2021-03-14 | 1 | -23/+24 |
| | |||||
* | start converting boot.subx to real SubX | Kartik K. Agaram | 2021-03-14 | 1 | -35/+11 |
| | | | | | | | | Just one instruction translated so far. The rest is treated as data. Currently programs only work because the toolchain treats boot.subx as all data. As we turn it into code we'll move the '== data' segment boundary further down. | ||||
* | rename boot.hex to boot.subx | Kartik K. Agaram | 2021-03-14 | 1 | -0/+1176 |