diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-07-22 03:58:54 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-07-22 03:58:54 -0700 |
commit | 5aea0c11b762a860b59e664dbd4bc3b9185934e0 (patch) | |
tree | b254131081659f6406c2acb3138d9ad31b12e16f /translate_subx_emulated | |
parent | d0f39e75ca761bb9c5fa6889ea0703e3700990a2 (diff) | |
download | mu-5aea0c11b762a860b59e664dbd4bc3b9185934e0.tar.gz |
update memory map doc and anticipate a gotcha
Diffstat (limited to 'translate_subx_emulated')
-rwxr-xr-x | translate_subx_emulated | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/translate_subx_emulated b/translate_subx_emulated index a101c336..d6fc009b 100755 --- a/translate_subx_emulated +++ b/translate_subx_emulated @@ -45,6 +45,12 @@ then exit 1 fi +if [ `stat --printf="%s" a.bin` -ge 492544 ] # 15 tracks * 63 sectors per track * 512 bytes per sector +then + echo "a.bin will overwrite BIOS/Video memory; you'll need to adjust boot.subx to load code to some other non-contiguous area of memory" + exit 1 +fi + # Latter half of disk is for debug info. dd if=labels of=code.img seek=10080 conv=notrunc # keep this sync'd with abort.subx if [ `stat --printf="%s" labels` -ge 524288 ] # 4 reads * 256 sectors * 512 bytes per sector |