You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
PB/DOS 3.5 comes with two dense volumes in the form of a User's Guide and a Reference Guide. The Users Guide contains a whole chapter dedicated to TSR creation, with "theory" and example code.
In brief, a PB/DOS TSR works by using the POPUP SLEEP statement to enter resident mode. A PB TSR can be set to "wake up" with the POPUP statement, and can do so in reaction to an interrupt (POPUP INTERRUPT), after a period of inactivity (POPUP QUIET), by intercepting key strokes (POPUP KEY), via the multiplex interrupt (POPUP MULTIPLES) or by timer (POPUP TIMER), etc. A PB TSR can even place keystrokes into the keyboard buffer. The multiplex interrupt is an interesting method... it makes it possible to communicate with TSR from another program!
All PowerBASIC compilers come with a 30 day money-back guarantee (execpt if delivered electronically), and the purchase price of PB/DOS has been significantly reduced (recently), so you can buy and try it for yourself.
Alternatively, there is a trial version of PB/DOS 3.2 available from the PB FTP site at ftp://ftp.powerbasic.com/pub . Both versions contain an online help which contains the POPUP statement explanations - in comparison, the Users Guide is more like a tutorial.
Additionally, the PB/DOS example files can be downloaded from the FTP site and reviewed at your leisure - the examples include a skeleton TSR application ready for adaption to your own use.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment