diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-01-22 23:29:04 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-01-22 23:29:04 -0800 |
commit | 0f73127ef1eba0a8ea814c26115523da3590ffe2 (patch) | |
tree | f2480aea129e680e5fc995e730e2083074c44b32 /translate_subx_baremetal_emulated | |
parent | a451b2e14f06c19eaf98f32dcc2b45e2940a570b (diff) | |
download | mu-0f73127ef1eba0a8ea814c26115523da3590ffe2.tar.gz |
7547 - baremetal: rpn calculator
Still in progress. Known bugs: * Cursor management is broken. Every line currently seems to leave behind a shadow cursor. * No shift-key support yet, which means no addition or multiplication. (This app doesn't have division yet.)
Diffstat (limited to 'translate_subx_baremetal_emulated')
-rwxr-xr-x | translate_subx_baremetal_emulated | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate_subx_baremetal_emulated b/translate_subx_baremetal_emulated index f73f09a5..0e65799a 100755 --- a/translate_subx_baremetal_emulated +++ b/translate_subx_baremetal_emulated @@ -33,7 +33,7 @@ dd if=/dev/zero of=disk.img count=20160 # 512-byte sectors, so 10MB cat boot.bin a.bin > disk.bin dd if=disk.bin of=disk.img conv=notrunc -if [ `stat --printf="%s" disk.bin` -ge 32256 ] # 63 sectors * 512 bytes per sector +if [ `stat --printf="%s" disk.bin` -ge 65536 ] # 128 sectors * 512 bytes per sector (keep this sync'd with boot.hex) then echo "disk.bin won't all be loaded on boot" exit 1 |