flat assembler
Message board for the users of flat assembler.

Index > DOS > Video memory access under DPMI

Author
Thread Post new topic Reply to topic
salceson



Joined: 20 Jun 2009
Posts: 2
salceson 20 Jun 2009, 12:18
How to get video memory address to draw under DPMI, 32-bit protected mode? The video mode is 13h (320x200x8). I tried 0A0000, but it didn't work.
Post 20 Jun 2009, 12:18
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1900
DOS386 20 Jun 2009, 13:00
salceson wrote:
How to get video memory address to draw under DPMI, 32-bit protected mode? The video mode is 13h (320x200x8). I tried 0A0000, but it didn't work.


BUG symptoms ???

$000A'0000 is correct. Make sure your segment is ZERO-based (USEDPMI.ASM isn't). Also, check the sticky thread on the top and examples linked from there, is case of further trouble post offending code.
Post 20 Jun 2009, 13:00
View user's profile Send private message Reply with quote
salceson



Joined: 20 Jun 2009
Posts: 2
salceson 20 Jun 2009, 18:23
Thanks. I forgot about the segment.
Post 20 Jun 2009, 18:23
View user's profile Send private message 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.