From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: [Q]: What is with the SIGSEGVs? Date: Mon, 13 Oct 1997 19:06:47 +0100 Organization: None Distribution: world Message-ID: References: <60v6kp$20d$1 AT sol DOT pdnt DOT net> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk news.champaign.pdnt.com writes: > allegro_init(); > text_spot1 = create_sub_bitmap(screen, 1, 1, 15, 7); > text_spot2 = create_sub_bitmap(screen, 185, 1, 15, 7); [snip...] > set_gfx_mode(GFX_VGA, 320, 200, 0, 0); Nooo! You can't create your sub bitmaps before setting the graphics mode, because the "screen" parameter hasn't been initialised yet... btw. it is generally not a good idea to post binary attached files to usenet groups: many people don't like it, and won't bother reading them. -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament.