Rev 387 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 387 | Rev 416 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | cmp eax,13 ; CALL VIDEOMODE DRIVER FUNCTIONS |
17 | cmp eax,13 ; CALL VIDEOMODE DRIVER FUNCTIONS |
18 | jne .no_vmode_drv_access |
18 | jne .no_vmode_drv_access |
19 | pushd [ScreenWidth] [ScreenHeight] |
19 | pushd [ScreenWidth] [ScreenHeight] |
20 | popd [old_screen_height] [old_screen_width] |
20 | popd [old_screen_height] [old_screen_width] |
21 | or eax,-1 ; If driver is absent then eax does not change |
21 | or eax,-1 ; If driver is absent then eax does not change |
22 | call 0x760100 ; Entry point of video driver |
22 | call OS_BASE+0x760100 ; Entry point of video driver |
23 | mov [esp+36],eax |
23 | mov [esp+36],eax |
24 | mov [esp+24],ebx |
24 | mov [esp+24],ebx |
25 | mov [esp+32],ecx |
25 | mov [esp+32],ecx |
26 | ; mov [esp+28],edx |
26 | ; mov [esp+28],edx |
27 | mov eax,[old_screen_width] |
27 | mov eax,[old_screen_width] |