Technical information
Serial Solution Reference
Borland Turbo Pascal. 53
Example 1, Initialising A Port. 54
Example 2, Sending Data Out. 54
Example 3, Setting Port Addresses. 55
QuickBASIC V4.5 & Visual Basic Dos. 56
Example 1, Initialising A Port. 57
Example 2, Sending Data Out. 57
Example 3, Setting Port Addresses. 58
GWBASIC/BASICA. 59
BIOS Interface Setup Routine. 59
Example 1, Initialising A Port. 60
Example 2, Sending Data Out. 62
Example 3, Setting Port Addresses. 62
Microsoft FORTRAN77. 63
Example 1, Initialising A Port. 64
Example 2, Sending Data Out. 65
Example 3, Setting Port Addresses. 66
NewBIOS Default Settings. 66
Chapter 5. NewBIOS Reference
Introduction. 69
Using The Services. 69
Error Returns. 70
Summary of services. 71
Service 0H, Initialise. 75
Service 1H, Send Character. 78
Service 2H, Receive Character. 80
Service 3H, Read Status. 82
Service 4H, Extended Initialise. 84
Service 5H, Extended Control. 87
Service ADH, Set Port Address. 90
Service AEH, Get Number Ports. 92
Service AFH, Get/Set IRQ Line. 93
Service B0H, Get/Set Hardware Handshake. 95
Intro-10