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