Commit Graph

5 Commits

Author SHA1 Message Date
Ry
6a9dc85d81 all: Fix incorrect/old file struct size
Surprised this didn't cause more issues :p
2023-07-11 15:54:08 -07:00
Ry
63fe33cdc9 bootloader: Pass the boot disk id to the kernel 2023-03-04 21:29:12 -08:00
Ry
b51e17a4cf bootloader: Include magic bytes to show that this disk is bootable 2023-03-04 18:15:10 -08:00
jn
ffdda5eaca Make use of data.strz
The filesystem image is the same before and after this commit:

$ sha256sum fox32os-orig.img fox32os.img
abc77bd6310b8eb6bcde0a8a442ca8bab071307a6cf5155ea606578435f77d27  fox32os-orig.img
abc77bd6310b8eb6bcde0a8a442ca8bab071307a6cf5155ea606578435f77d27  fox32os.img


The conversion was performed with a few sed commands:

find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0$/data.strz \1/g'
find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0 /data.strz \1 /g'
find -name '*.asm' | xargs sed -i -e 's/data.str \("[^"]*"\) data.8 0x00 /data.strz \1 /g'
2023-02-02 03:03:07 +01:00
Ry
a7064075e7 Build the kernel as an FXF binary and boot using the new boot mechanism 2022-10-27 22:49:55 -07:00