0

Assembly: video mode troubles

in assembly i made a script that write a string without problems, but when i go into graphic mode with mov ah, 00h mov al, 13h int 10h, all the things on the screen disappears, how can i fix that? in graphic mode i tryied to draw a rectangle, the compiler says no error but the rect doesn't appear, how can i draw something? i tryied some examples but they doesn't work and i didn't find any guide what is the original video mode? i tryied to search on google and wikipedia but i cannot found anything

23rd May 2018, 7:04 PM
Etabeta1🇮🇹
Etabeta1🇮🇹 - avatar
5 Respostas
+ 2
I did some research. All points to 12h but the maximum you can set the palette to is 256 colours, which may still disagree with your display. You should maybe speak to your professor on this.
23rd May 2018, 11:29 PM
non
+ 2
What hardware are you using? Your graphics adaptor probably doesn't support a resolution of 320x[240 | 200] you are trying to force upon it. When a mode is not compatible, the screen generally goes black.
23rd May 2018, 10:49 PM
non
0
sorry i didnt explaine well, i use assembly for making OS, but i'm working with it only since march so i'm a beginner
23rd May 2018, 7:44 PM
Etabeta1🇮🇹
Etabeta1🇮🇹 - avatar