Mail Archives: djgpp/1998/01/05/17:32:56
From: | "elizabeth anne dominy" <msunguli AT global DOT co DOT za>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Getimage routine, and SIGSEGV
|
Date: | 5 Jan 1998 22:38:28 GMT
|
Organization: | Msunguli Consaltants
|
Lines: | 20
|
Message-ID: | <01bd1a19$56c07540$87a903c4@msunguli.global.co.za>
|
NNTP-Posting-Host: | asy07.anx1.nlsa.gia.net.za
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi,
I'm sure this is realy simple, but I'm suffering the protected mode
graphics syndrome again!
I'm trying to write a "get image" routine.
So far I've a selector (vesa.selector) pointing to vid mem, and a pointer
allocated in my DS.
movedata(vesa.selector,offset,_my_ds(),my_pointer,size); gives me
Segementation Violations.
The offset is not over the 64K limit, and niether is the size.
Any help?
Thanx, I'll post the code to you if you need more specifics!
James
- Raw text -