From f2cec6b732f4d02d9d838a97c262fe8fef92faa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 26 Apr 2009 21:17:19 +0000 Subject: [PATCH] Just keep this around before it get lost... Failed attempt at generating a bootable floppy for Atari. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30444 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../platform/atari_m68k/mk_floppy_prg_atari.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 src/system/boot/platform/atari_m68k/mk_floppy_prg_atari.sh diff --git a/src/system/boot/platform/atari_m68k/mk_floppy_prg_atari.sh b/src/system/boot/platform/atari_m68k/mk_floppy_prg_atari.sh new file mode 100755 index 0000000000..1d433ef75f --- /dev/null +++ b/src/system/boot/platform/atari_m68k/mk_floppy_prg_atari.sh @@ -0,0 +1,17 @@ +#!/bin/sh -x +IMG=$HOME/floppy.img +jam -q zbeos && \ +dd if=generated/objects/haiku/m68k/release/system/boot/zbeos of=$IMG bs=512 count=9 conv=notrunc && \ +dd if=generated/objects/haiku/m68k/release/system/boot/zbeos of=$IMG bs=512 count=9 conv=notrunc skip=9 seek=$((9*180)) && \ +dd if=generated/objects/haiku/m68k/release/system/boot/zbeos of=$IMG bs=512 count=9 conv=notrunc skip=9 seek=$((2*9)) && \ +dd if=generated/objects/haiku/m68k/release/system/boot/zbeos of=$IMG bs=512 count=9 conv=notrunc skip=$((2*9)) seek=$((2*2*9)) && \ +dd if=generated/objects/haiku/m68k/release/system/boot/zbeos of=$IMG bs=512 count=9 conv=notrunc skip=$((3*9)) seek=$((3*2*9)) && \ +src/system/boot/platform/atari_m68k/fixup_tos_floppy_chksum $IMG && \ +generated.m68k/cross-tools/bin/m68k-unknown-haiku-ld -o haiku.prg -T src/system/ldscripts/m68k/boot_prg_atari_m68k.ld generated/objects/haiku/m68k/release/system/boot/boot_loader_atari_m68k && \ +zip haiku.prg.zip haiku.prg + + + +#dd if=generated/objects/haiku/m68k/release/system/boot/zbeos of=$IMG bs=512 count=500 conv=notrunc && \ + +