public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f79b9d8
)
tglsplice: turns fuzix.bin into 6502.rom.
author
Alan Cox
<alan@linux.intel.com>
Sat, 10 Jan 2015 00:44:48 +0000
(
00:44
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 10 Jan 2015 00:44:48 +0000
(
00:44
+0000)
We burn a bank the way we do it right now. Possibly we could instead swap two
banks over so that 0x41 stays the top bank.
Kernel/tools/tglsplice
[new file with mode: 0755]
patch
|
blob
diff --git a/Kernel/tools/tglsplice
b/Kernel/tools/tglsplice
new file mode 100755
(executable)
index 0000000..
9141464
--- /dev/null
+++ b/
Kernel/tools/tglsplice
@@ -0,0
+1,11
@@
+#!/bin/sh
+dd if=fuzix.bin of=tmp_fuzix.b0 bs=8192 count=1
+dd if=fuzix.bin of=tmp_fuzix.v bs=1 skip=49146 count=6
+dd if=/dev/zero of=tmp_fuzix.b1 bs=8186 count=1
+
+cat tmp_fuzix.b0 tmp_fuzix.b1 tmp_fuzix.v >6502.rom
+dd if=fuzix.bin bs=8192 skip=1 seek=2 of=6502.rom
+
+rm tmp_fuzix.b0 tmp_fuzix.v tmp_fuzix.b1
+
+