source: trunk/AIR-BOOT/TOOLS/MERGEDSK.BAS@ 12

Last change on this file since 12 was 8, checked in by kiewitz, 23 years ago

Added AiR-BOOT Images and support for other languages.
Note: This comment was created after rebuilding the repo. [2011-07]

File size: 561 bytes
Line 
1$COMPILE EXE
2
3$INCLUDE "GLOBAL.inc"
4'$INCLUDE "DOS.inc"
5
6Open "MAKEDISK.COM" For BINARY As #1
7
8' Read in AiR-BOOT Image -> Main-Code of AiR-BOOT placed at Offset 16384
9Open command$ For BINARY As #2
10Get$ #2, 30976, CodeBuffer$
11Close #2
12Seek #1, 16384-&h100: Put$ #1, CodeBuffer$
13
14' Read in DSK_BOOT.COM -> Installer-Code of AiR-BOOT placed at offset 8192
15Open "dsk_boot.com" For BINARY As #2
16Seek #2, &h7C00
17Get$ #2, 8192, CodeBuffer$
18Close #2
19Seek #1, 8192-&h100: Put$ #1, CodeBuffer$
20
21Close #1
22print "MAKEDISK sucessfully updated."
23end
Note: See TracBrowser for help on using the repository browser.