Commit Graph

7 Commits

Author SHA1 Message Date
Ry
f37c9b37bd sh: Move terminal control character consts to main.asm 2023-02-04 16:29:47 -08:00
Ry
d4afc36f49 sh/help: Use const for setting the color 2023-02-04 16:15:47 -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
5b355a34b9 sh: help should list commands in alphabetical order 2023-01-31 22:38:14 -08:00
Ry
652c3b70c2 sh: Make help have a little bit of color 2023-01-31 22:03:40 -08:00
jn
5641fc6987 sh: Add shutdown command 2023-01-30 18:56:50 +01:00
Ry
9e256a7e3c sh: Move to an application outside of the kernel
Fixes issue #3
2023-01-21 00:17:10 -08:00