flat assembler
Message board for the users of flat assembler.

Index > Windows > Question about VESA for professionals

Author
Thread Post new topic Reply to topic
Matrix



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
Matrix
Hello,
i have discovered an interesting thing:

i have used VESA setmode via BIOS function:
Code:
bsetvesamode: ; bx=mode number
 mov ax,4f02h  ;set vesa 1.0 screen mode
 int 10h
 mov ax,4f05h    ;vesa 1 window select
 xor bx,bx
 xor dx,dx      ; set bank 0
 int 10h        ;dx is  the reqired bank
ret
    

where bx = input desired video mode
was $13 - a standard mode

then i was putting random pixels to screen

the problem was when i wanted to press Print Screen button,
result: immediate hardware reset under win98 se

when setmode like this:
Code:
mov ax,$13
int 10h
    


Print Screen is working

could someone tell a reason?

MATRIX
Post 10 Oct 2004, 18:13
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.