Mail Archives: djgpp/1997/08/03/12:32:06
Chris writes:
> Sometimes when I run an Allegro app (in Win95) which calls
>install_timer() at startup, I get this error message:
>"Your program accessed memory in use by 000004CC from C000:783D"
> Then it asks if I want to continue. If I say Yes, Windows crashes, if
>I say no, the app will terminate.
That's very strange. The timer code doesn't touch any BIOS area memory
like that (the only possibility I can think of is that the original DOS
timer handler, which my routine chains to, might be located there, but I
can't think why that would be causing a crash).
Are you 100% sure that the problem is with install_timer(), and not the
graphics code? In particular, does ex7.exe, which uses the timer from
text mode, ever cause this error? Also, does it ever lock up when run
from DOS mode rather than under Win95? Finally (a long shot, but it
might yield something interesting...) what does Win95 think the memory
at 0xC783D is being used for? Right click on "my computer", go to
properties, select the "device manager" tab, highlight the top
"computer" entry, click the properties button, select "memory", and see
what that address range is being used by...
--
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.
- Raw text -