diff options
Diffstat (limited to 'translate_subx')
-rwxr-xr-x | translate_subx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/translate_subx b/translate_subx index 08519d9f..4b730088 100755 --- a/translate_subx +++ b/translate_subx @@ -30,9 +30,9 @@ cat a.pack |linux/survey_baremetal > a.survey cat a.survey |linux/hex > a.bin -# Create disk.img containing a.bin -dd if=/dev/zero of=disk.img count=20160 # 512-byte sectors, so 10MB -dd if=a.bin of=disk.img conv=notrunc +# Create code.img containing a.bin +dd if=/dev/zero of=code.img count=20160 # 512-byte sectors, so 10MB +dd if=a.bin of=code.img conv=notrunc if [ `stat --printf="%s" a.bin` -ge 193536 ] # 6 tracks * 63 sectors per track * 512 bytes per sector (keep this sync'd with boot.subx) then |