www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/15/00:05:32

From: "TBD" <root AT cclub DOT sorostm DOT to>
Newsgroups: comp.os.msdos.djgpp
Subject: [ALLEGRO] modex & test.exe bug ???
Date: 14 Feb 1997 16:29:13 GMT
Organization: Taide Net
Lines: 32
Message-ID: <01bc1a7a$8480d820$4d62e2c1@cclub.sorostm.ro>
NNTP-Posting-Host: 193.226.98.77
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

hello there ...

ahh ... like ... i have a problem ...

in test.exe from allegro when i select a modex video mode and
run the keyboard test it's exist to dos with page fault error ....
and this only in modex modes, in vga 13h 320x200 or svga
modes it runs correctly ... same happend to you guyz ???

i looked in the source and i think the problem is 
  blit (screen,screen, .... ) 

okay .... another problem ... how do i put random pixels
in modex modes all over the screen, if i use

int x,y; 

for(x=0;x<SCREEN_W,x++)
 for(y=0;y<SCREEN_H,y++)
   putpixel(x,y,(random() & 16));

it prints like nonsense ... 

HELP  .... |||||||
              { .  . }
                 O

-- 
TBD/FeR
E-MAiL: tbd AT usa DOT net
HomeBase: http://www.sorostm.ro/nhv/   [feedback wanted :) ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019