ABSTRACT

PC Services The code in this book was tested on a PC. It was convenient to create a number of services (i.e., functions) to access some of the capabilities of a PC. These services are invoked from the test code and are encapsulated in a file called PC.C. The functions provided in this chapter could be of some use to you, because industrial PCs are so popular as embedded systems platforms. These services assume that you are running under DOS or a DOS box under Microsoft Windows 95, 98, NT, or 2000. You should note that under these environments, you have an emulated DOS (i.e., a virtual x86 session) and not an actual one. The behavior of some functions might be altered because of this.