Mail Archives: djgpp/1997/01/24/00:44:00
>I have justr downloaded Allegro and have gotten it to work, but it seems
>that some of the example programs don't run. I'm at the dos prompt
>under Windows 95 and when I execute some programs, windows pops p and
>says it won't run properly under windows and I should create a shortcut
>to it. What exactly does that mean? Is it not possible to create
This warning is caused by Allegro reprogramming the timer chip, which
win95 thinks may be dangerous. If you ignore the message, the programs
should run fine. Alternatively, right-click on the icon for the DOS box
you run Allegro programs from, select properties, go to the 'Program'
tab, click on Advanced, and clear the "Suggest MS-DOS mode as necessary"
box.
I've actually changed Allegro's timer code to prevent this message
coming up at all, so it will disappear as-of Allegro 2.2. The new
version is available from my web page, but be warned: in the process of
fixing the timers under win95 I broke the DOS versions, so there is
currently some nasty jitter when playing MIDI under DOS. Ah well :-)
/*
* Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
* Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'.
*/
- Raw text -