Go to GlobalSpec.com Home
Toolbar   The Engineering Toolbar
The Ultimate Resource for Engineering and Technical Research. (Learn More)

Migrating a DOS-Based Application to Linux: A Digital I/O Example

From Micro/sys, Inc.
 

 
This article guides the reader through the process of migrating a DOS-based application to Linux. A simple example program is provided which demonstrates key concepts for direct I/O port access in both DOS and Linux environments. The article concludes with the development of a Linux device driver for a PC/104 card with an onboard 82C55 programmable peripheral interface device. There are many reasons people move from DOS to Linux for their embedded applications. Among these reasons are robust networking capabilities, efficient multitasking, and freely avail¬able source code. With this transition comes added flexibility and complexity. This article is intended to help ease that transition by presenting the process of converting a simple DOS-based pro¬gram to a Linux-based program utilizing a device driver.

Products & Services
Industrial computers are similar to personal computers (PC), but they are intended for use on a factory floor or in other harsh environments. Search by Specification | Learn more about Industrial Computers

Product Announcements
ACCES I/O Products, Inc. - Model IE-DAS, Data Acquisition System
ACCES I/O Products, Inc. introduces its Model IE-DAS, an economical, high-performance data acquisition system designed for PC/104 and PC/104-Plus configurations. This complete integrated system is... (read more)
ACCES I/O Products, Inc. - Eight-Port Serial Communication Card, LPCI-COM-8SM
This asynchronous card provides eight ports of field selectable RS-232, RS-422, and RS-485 on a port by port basis and includes a breakout cable with eight DB-9 connectors. No expensive breakout box... (read more)
ACCES I/O Products, Inc. - Model LPCI-A16-16A
ACCES I/O Products announces the model LPCI-A16-16A, a new high-speed PCI 16-bit multifunction analog I/O board for precision PC-based measurement, analysis, monitoring and control in space-limited... (read more)
ACCES I/O Products, Inc. - Model USB-DIO-32
SAN DIEGO, CA-May 23, 2005-ACCES I/O Products reveals its newest digital I/O product, Model USB-DIO-32. This USB device is an ideal solution for adding portable, easy-to-install, digital I/O and... (read more)
ACCES I/O Products, Inc. - PC/104 High-Density Analog Signal Conditioner
Versatile New PC/104 High-Density Analog Signal Conditioner Provides 32 Channels and up to 256 Inputs. The high-density Model 104-AIM-32A Kit provides 32 single-ended or 16 differential inputs with... (read more)
 

Topics of Interest
Overview The bash (Bourne again shell) program is the standard Linux shell and is based on the standard Bourne shell that most UNIX releases use. It has a lot of very sophisticated features... (Read More)
There's embedded Linux and there's embedded Linux. The Linux strategy used for a shirt-pocket sized MP3 player won't necessarily fit in the PC/104 world. And guess what? RedHat and other commercial... (Read More)
The operation of this training simulation is kept as simple as possible. An operator or student may call up displays, change variables or toggle trend pens. Every other operation totally depends on... (Read More)
Introduction Converging voice and data on the same wire, regardless of the protocols used, ups the ante for network security engineers and managers. One consequence of this convergence is that in... (Read More)
Introduction Converging voice and data on the same wire, regardless of the protocols used, ups the ante for network security engineers and managers. One consequence of this convergence is that in... (Read More)