Writing DOS device drivers in C
C has quickly become the most popular programming language. This timely handbook now supplies complete instructions for creating DOS device drivers in this versatile language, thus providing a simplified way to standardize the electrical and mechanical requirements of peripherals. Presents a logical, easy-to-implement, uniform approach for creating all device drivers and features numerous operational examples.
DOS Device Driver Fundamentals
A DOS Device Driver Template
17 other sections not shown
0xFF 0xFFFF Application Programming Interface AX Register block device driver Buffer BX_reg bytes c_ptr carry flag character device driver code if carry config.sys DASD debug define define define Device Driver Command device driver header Device Header diskette dos_data.c dos_drvr.c dos_env.c dos.dd.h DOS.Setup DS DX ES_reg extern extern extern extern unsigned File Allocation Table file system flag is set Function Return Value geninterrupt gotoxy 50 hardware implement Init_cmd IOCTL makefile MK_FP Number Of Sectors Output_cmd Packet Status Returned personal computer Pointer To Request printf r_ptr Pointer RAM-DISK REMARKS REQ_struct far r_ptr Request Packet Status Return Value unsigned Returned In Function root directory routines segmented memory show_DDH Stack Strategy struct REQ_struct structure template template-based DOS device UNKNOWN Command Default Unknown.cmd unsigned char unsigned long unsigned unsigned unsigned Value unsigned int vdisk Video BIOS void Wait Command WORM device driver Zero Remaining Entries