Rev 314 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 314 | Rev 389 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | 11 | ||
12 | 12 | ||
13 | ; LOAD VIDEOMODE DRIVER |
13 | ; LOAD VIDEOMODE DRIVER |
14 | ; If vmode.mdr file not found |
14 | ; If vmode.mdr file not found |
15 | or eax,-1 ; Driver ID = -1 (not present in system) |
15 | or eax,-1 ; Driver ID = -1 (not present in system) |
Line 16... | Line 16... | ||
16 | mov [0x760000],eax ; |
16 | mov [OS_BASE+0x760000],eax ; |
17 | mov [0x760100],byte 0xC3 ; Instruction RETN - driver loop |
17 | mov [OS_BASE+0x760100],byte 0xC3 ; Instruction RETN - driver loop |
18 | 18 | ||
19 | mov esi, vmode |
19 | mov esi, vmode |
20 | xor ebx, ebx |
20 | xor ebx, ebx |
21 | mov ecx, 0x8000 ; size of memory area for driver |
21 | mov ecx, 0x8000 ; size of memory area for driver |