mirror of
https://github.com/Michaelangel007/c2t.git
synced 2024-12-12 19:30:31 +00:00
updated makeheader to gen DOS 3.3 code
This commit is contained in:
parent
e46191749c
commit
2cd2c8df5e
3
Makefile
3
Makefile
@ -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
2
c2t.h
@ -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,
|
||||
};
|
||||
|
6
dos33.boot1.mon
Normal file
6
dos33.boot1.mon
Normal 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
1120
dos33.boot2.full.mon
Normal file
File diff suppressed because it is too large
Load Diff
1120
dos33.boot2.mon
Normal file
1120
dos33.boot2.mon
Normal file
File diff suppressed because it is too large
Load Diff
25
makeheader
25
makeheader
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user