From: "Stefan Viljoen" Newsgroups: comp.os.msdos.djgpp Subject: Re: 13h forerver (heyy) Date: Fri, 30 Jul 1999 08:00:54 +0300 Organization: The South African Internet Exchange Lines: 32 Message-ID: <7nrf6c$es2$2@news3.saix.net> References: <7nmhk8$dr9$1 AT taliesin DOT netcom DOT net DOT uk> NNTP-Posting-Host: pc36-01-p02.nt.saix.net X-Trace: news3.saix.net 933314572 15234 155.239.194.2 (30 Jul 1999 06:02:52 GMT) X-Complaints-To: abuse AT saix DOT net NNTP-Posting-Date: 30 Jul 1999 06:02:52 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > I wrote (with an awful lot of help from Eli) a small bit of code which may > help here. > If you search for the thread 'Selector code' then for a message posted about > 21 June, it should contain the code we produced. > > Use it like this: > if (make_ds (my_ds, 0xa0000, 64000)) { I generally use #include "dpmi.h" int vid_descr = 0; . . vid_descr = __dpmi_segement_to_descriptor(0x0A000); And then in NASM mov es,[_vid_descr] mov byte[es:di] or whatevery to write pixels. -- This message courtesy of RylanNet rylan AT intekom DOT co DOT za http://home.intekom.com/rylan/ -- StarWars for ever!.