| delorie.com/archives/browse.cgi | search |
| From: | "Stefan Viljoen" <rylan AT intekom DOT co DOT za> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Setting mode 13h |
| Date: | Sun, 6 Aug 2000 20:54:42 +0200 |
| Organization: | The South African Internet Exchange |
| Lines: | 41 |
| Message-ID: | <8mm000$q7p$1@ctb-nnrp2.saix.net> |
| References: | <jcXi5.1824$aK5 DOT 30439 AT news1 DOT online DOT no> <8mji39$fvh$13 AT ctb-nnrp2 DOT saix DOT net> |
| NNTP-Posting-Host: | pc53-01-p120.nt.saix.net |
| X-Trace: | ctb-nnrp2.saix.net 965641024 26873 155.239.176.120 (7 Aug 2000 09:37:04 GMT) |
| X-Complaints-To: | abuse AT saix DOT net |
| NNTP-Posting-Date: | 7 Aug 2000 09:37:04 GMT |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2314.1300 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Stefan Viljoen <rylan AT intekom DOT co DOT za> wrote in message news:8mji39$fvh$13 AT ctb-nnrp2 DOT saix DOT net... > > Vermin <ratspl AT hotmail DOT com> wrote in message > news:jcXi5.1824$aK5 DOT 30439 AT news1 DOT online DOT no... > > I've been coding gfx for a couple of years, but I've just(!) started in > > DJGPP. In Asm, all you do to set mode 13h is > > > > mov ax,13h > > int 10h > > > > But it doesn't seem to be that simple in DJGPP... > > I've tried the following piece of code with no luck: > > > > union REGS regs; > > regs.x.ax=0x13; > > int86(0x10,®s,®s); > > > > What's wrong?? > > Don't know - if you have NASM check out my programming page > http://home.intekom.com/rylan/prog.html - this has exactly the info you need > for assembly graphics programming under DJGPP in protected mode in > 320x200x256 VGA mode. It has come to my attention that there are errors on my programming page - anybody not able to download anything, let me know - I'll mail it to you if it can't otherwise! Apologies, -- Starwars Forever!!! mailto:Stefan_Viljoen AT excite DOT com http://home.intekom.com/rylan/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |