delorie.com/archives/browse.cgi | search |
From: | tomstdenis AT my-dejanews DOT com |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: 2 questions |
Date: | Fri, 04 Sep 1998 21:59:17 GMT |
Organization: | Deja News - The Leader in Internet Discussion |
Lines: | 20 |
Message-ID: | <6spnrl$31$1@nnrp1.dejanews.com> |
References: | <35F01F93 DOT 4DF0B4C1 AT hotmail DOT com> |
NNTP-Posting-Host: | 206.75.140.184 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
> 1. how do you set the screen to 640x480x16(along with how to set a pixel > color)? Well you would use the __dpmi_init() function to set up mode 12h. Like this #include <dpmi.h> test() { __dpmi_regs r; r.d.eax = 0x12; __dpmi_init(0x10, &r); } tom -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |