[Freedos-user] Making fdapm-aware programs

2012-02-11 Thread Marcos Favero Florence de Barros
Is there a way to add code to make old QB45-compiled programs aware of fdapm? A simple INKEY$ sends the computer use from 3%-4% to 100% !!! If anyone has a similar question for Euphoria, the answer is to replace get_key() by wait_key(). The manual (library.doc) says: wait_key() lets the

Re: [Freedos-user] Making fdapm-aware programs

2012-02-11 Thread Mateusz Viste
Hello, As stated by Eric, there is no way INKEY$ is burning your CPU. As far as I remember, the QB version of INKEY$ is non-blocking - it retrieves one char from the keyb buffer, and if there is none, it retrieves nothing. You must have some nasty loop calling INKEY all the time. Maybe

[Freedos-user] Making fdapm-aware programs

2012-02-10 Thread the bcpino
Hi people: Is there a way to add code to make old QB45-compiled programs aware of fdapm? A simple INKEY$ sends the computer use from 3%-4% to 100% !!! I know there is a newer FreeBASIC, but I can't compile some sources inside FB yet. Thaks in advance, BCPino Gino

Re: [Freedos-user] Making fdapm-aware programs

2012-02-10 Thread Eric Auer
Hi! Is there a way to add code to make old QB45-compiled programs aware of fdapm? Design-wise, the point is rather behaving in a way that fdapm will understand, but not explicitly telling things to fdapm... A simple INKEY$ sends the computer use from 3%-4% to 100%! According to the help of