Technical information

Serial Solutions Forterm
that appear on the screen- characters from the serial port (where
the second parameter of screen is 0), echoed characters from the
keyboard (second parameter 1), and control information from the
program (second parameter 2). The second parameter of screen
flags this. Figure 11-7 contains examples of this.
Figure 11-7. Screen Output Examples._________________________________
if( echos ) then
c(2:2) = ’’C
call screen(c, 1)
end if
call inxlat( c )
if( c(1:1) .NE. char(0) )then
call screen(c,0)
end if
call screen(’Command not recognised\n’C,2)
It can be seen that from FORTRAN running the serial port
that NewCOM provides is comparatively simple, and with the
subroutine intrpt the full range of services provided by
NewCOM are available.
Page 172 Chapter 11