site logo  PikeOs26

HomePage | Categories |* BLOG *| RecentChanges | RecentlyCommented | Login/Register

THE HELLO WORLD DEVICE DRIVER AND FRIENDS

DISCLAIMER: This sample code is for your information only. Do not attempt to use this code on your equipment without first inspecting the source code and making sure it does what you want. This code is supplied as is without warranty or liability of any kind. The initial version was not written be me however, I did fix a few bugs to get the code to work better. The explantion was written by me since none was given with the source I obtained. Also any files I added were also written by me these are indicated in the file headers.

USAGE
Unzip the code file hllwrld.zip to a directory of your choice. Make sure there is a subdirectory under this called \dev, the code files will be expecting this. In the dev directory place all the files from the devhlp library. From the install directory type wmake to build the driver. Install driver from your config.sys as DEVICE=hello.sys.

HELLO.SYS

BEEP.SYS

MEEP.SYS

**Note this code requires the Watcom c/c++ compiler v 10 and above to compile correctly. You also need the DevHlp library availible from the OS2page one page back. Note this library has been written for use with Watcom, it takes advantage of register calling conventions. As a result other devhelp libs from other sources will not work correctly.

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.7
Page was generated in 1.4245 seconds