Kuoster
asked on
Hi-Res Graphics in DOS
Could anyone tell me how do I get a screen with 640*480*256,
800*600*256 or any higher resolutions? And how do I draw(lines, circles...etc.) in them?
800*600*256 or any higher resolutions? And how do I draw(lines, circles...etc.) in them?
you can change the screen res in dos with this code. This will change the res to 1280x1024
changeres:
mov ax,4F02h
mov bx,107h
int 0x10
RET
I am not sure how you would draw stuff in dos, I would guess the you would do it by drawing pixel by pixel.
changeres:
mov ax,4F02h
mov bx,107h
int 0x10
RET
I am not sure how you would draw stuff in dos, I would guess the you would do it by drawing pixel by pixel.
ASKER
I don't think I'd use that... ^^'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Problem, how do I draw in them??
You will find that any mode besides #19 (320x200x256) has the screen memory broken into blocks, not just a contigeous 64k block of memory starting at A000h like the mode 19 has. I can't say right now where these blocks are but I'll try and have a look.
See:
http://www.scitechsoft.com/dp_mgl.html