home *** CD-ROM | disk | FTP | other *** search
- 'Sun Apr 23, 1989 2:20:23 pm
- '*****************************************************************************
- 'This routine sends an ASCII code to the printer buffer. The buffer does not
- 'print until a 10 (line feed) is received.
- '*****************************************************************************
-
- TYPE RegType
- ax AS INTEGER
- bx AS INTEGER
- cx AS INTEGER
- dx AS INTEGER
- bp AS INTEGER
- si AS INTEGER
- di AS INTEGER
- flags AS INTEGER
- END TYPE
- DIM SHARED inregs AS RegType, outregs AS RegType
- DECLARE SUB printout (code)
-
- printout 10
-
-
- SUB printout (code)
- inregs.ax = code: inregs.dx = 0
- CALL interrupt(&H17, inregs, outregs)
- END SUB
-
-