updated makeheader to gen DOS 3.3 code

This commit is contained in:
Egan Ford 2014-11-24 04:48:59 -07:00
parent e46191749c
commit 2cd2c8df5e
7 changed files with 2273 additions and 1137 deletions

View File

@ -6,9 +6,8 @@ clean:
rm c2t.h c2t
cd asm; make clean
c2t: c2t.h
gcc -Wall -O3 -o c2t c2t.c
c2t.h:
c2t.h: dos33.boot1.mon dos33.boot2.mon asm/autoload.s asm/diskload2.s asm/diskload3.s asm/diskload8000.s asm/diskload9600.s asm/fastload8000.s asm/fastload9600.s asm/fastloadcd.s asm/inflate.s
./makeheader

2
c2t.h
View File

@ -4348,5 +4348,5 @@ unsigned char dosboot2[] = {
0x70,0xAA,0x8D,0x71,0xAA,0x60,0x20,0x5B,
0xA7,0x8C,0xB7,0xAA,0x60,0x20,0x7E,0xAE,
0xAE,0x9B,0xB3,0x9A,0x20,0x16,0xA3,0xBA,
0x8E,0x9B,0xB3,0xA9,0x09,0x4C,0x85
0x8E,0x9B,0xB3,0xA9,0x09,0x4C,0x85,
};

1134
c2t.h.2

File diff suppressed because it is too large Load Diff

6
dos33.boot1.mon Normal file
View File

@ -0,0 +1,6 @@
9CD0: 4C BF 9D 4C 84 9D 4C FD
9CD8: AA 4C B5 B7 AD 0F 9D AC
9CE0: 0E 9D 60 AD C2 AA AC C1
9CE8: AA 60 4C 51 A8 EA EA 4C
9CF0: 59 FA BF 9D 38 4C 58 FF
9CF8: 4C 65 FF 4C 65 FF 65 FF

1120
dos33.boot2.full.mon Normal file

File diff suppressed because it is too large Load Diff

1120
dos33.boot2.mon Normal file

File diff suppressed because it is too large Load Diff

View File

@ -50,4 +50,29 @@ header diskload3 diskloadcode3 8
cd ..
cat <<EOF >c2t.h.2
//DOS 3.3
unsigned char dosboot1[] = {
EOF
cat dos33.boot1.mon | \
perl -pi -e 's/ /,0x/g' | \
perl -pi -e 's/$/,/' | \
perl -pi -e 's/^....../\t/' >>c2t.h.2
cat <<EOF >>c2t.h.2
};
//DOS 3.3
unsigned char dosboot2[] = {
EOF
cat dos33.boot2.mon | \
perl -pi -e 's/ /,0x/g' | \
perl -pi -e 's/$/,/' | \
perl -pi -e 's/^....../\t/' >>c2t.h.2
echo "};" >>c2t.h.2
cat c2t.h.[012] > c2t.h