Re: Caller id

 BBS: Inland Empire Archive
Date: 03-31-93 (10:47)             Number: 386
From: DIRK THEURER                 Refer#: NONE
  To: STAN FOY                      Recvd: NO  
Subj: Re: Caller id                  Conf: (2) Quik_Bas
Re: Caller ID routines

SF> Where would I find the routine 'FOSSILflush'.  Didn't
SF> appear in the stuff I ended up getting.

Well, there are a number of 'routines' for FOSSIL handling
that weren't included in the code I posted. I didn't think
that they were necessary for capturing info at 1200bps (can
easily be done with 'ordinary' COM routines in QuickBASIC).
Anyways, here's the FOSSILFlush:

'--------8<-------------------- snip here -------------------->8--------
'
SUB FOSSILFlush
  '
  ' flush FOSSIL transmit and receive buffers
  '
  ' AH = &H09    FOSSIL Function Number - purge output buffer
  ' DX = Communications port number (0-3)
  '
  ' Note: Regs and PortNo are TYPEd & DIM SHARED in main module
  '
  Regs.AX = &H900
  Regs.DX = PortNo
  CALL Interrupt(&H14, Regs, Regs)
  '
  ' AH = &H0A    FOSSIL Function Number - purge input buffer
  ' DX = Communications port number (0-3)
  '
  Regs.AX = &HA00
  Regs.DX = PortNo
  CALL Interrupt(&H14, Regs, Regs)

END SUB
'
'--------8<-------------------- snip here -------------------->8--------

Note that FOSSIL detection, initialization, and others are also 'missing' in
my original posts. I'd be more than happy to post
everything I've got on these but with a copy of Ray Gwinn's
X00 (comes with a nice reference sheet and full FOSSIL
calls documentation), they can easily be reconstructed.

Dirk



---
 * Origin: RAVE * Burnaby, BC (1:153/810)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET