about summary refs log tree commit diff stats
path: root/linux/labels_baremetal.subx
Commit message (Collapse)AuthorAgeFilesLines
* start throwing error on labels too far for /disp8Kartik K. Agaram2021-08-221-0/+70
| | | | | | | | | | | | | | | | | | | | | While I'm doing this I might as well lay out a story I don't seem to have told before in this commit log. I translated Mu programs to Linux before I did so to bare metal like I do in the top-level these days. The translator programs still run from the linux/ directory. However they don't always have good error messages. As long as I was translating to Linux this wasn't a huge deal because I always translated Mu programs using the bootstrap translator in linux/bootstrap/ -- which has great error messages. However, linux/bootstrap/ can't build bare-metal programs because boot.subx uses real-mode instructions that aren't supported. As a hack I created a script called misc_checks that at least tries to run everything besides boot.subx -- even though translation can never succeed. If I run it and get to errors about unknown variables I know everything besides boot.subx raised no errors. Having labels too far in /disp8 args is is the single biggest reason we need the misc_checks hack. Hopefully it's now obsolete.
* .Kartik K. Agaram2021-08-221-3/+4
|
* start throwing error on duplicate labelKartik K. Agaram2021-08-221-4/+4
| | | | | | | | | | One less error that's only in the bootstrap phase. On the other hand, for simplicity I got rid of the ability to override the Entry label. One less special case, but we're also going further from the ability to run subsets of layers. We haven't really been exercising it for a long time, though (commit 7842, March 2021 when we made baremetal the default).
* .Kartik K. Agaram2021-08-221-9/+7
|
* .Kartik K. Agaram2021-07-201-4/+4
|
* .Kartik K. Agaram2021-05-141-1/+1
|
* .Kartik K. Agaram2021-05-141-0/+1
|
* insert a compile phase to emit some debug infoKartik K. Agaram2021-05-141-0/+2831