source: trunk/TOOLS/TEST/LOADMBRP.BAS@ 47

Last change on this file since 47 was 29, checked in by Ben Rietbroek, 14 years ago

AiR-BOOT v1.06 -- Complete sourceforge mirror. (r56) [2010-02-19]
Signature-date: 2006-03-13.
Also contains binairy releases from v1.01 to v1.06, cd-rom images, etc.
If you want the whole pre v1.07 shebang, checkout this revision's trunk.
The v1.06 reference version is in 'tags/v1.06r'.
Note that this reference version uses 'NL' for 'Dutch'.

File size: 343 bytes
Line 
1$INCLUDE "PIC.inc"
2
3Open "mbr_prot.com" For BINARY As #1
4Get$ #1, 32000, Image$
5Close #1
6
7Def Seg=&h9FC0
8Poke$ 0, Image$
9
10Dim MyPointer as DWORD
11
12! mov ax, 9
13! mov MyPointer[00], ax
14! mov ax, &h9FC0
15! mov MyPointer[02], ax
16
17Pokei 0, &h42FC
18Pokei 2, &hDEC6
19Pokei 4, &h01C5
20Pokei 6, &h70
21
22PIC_SetINT &h13, MyPointer
23
Note: See TracBrowser for help on using the repository browser.