[futurebasic] Re: Calling the TV Tuner from FutureBASIC

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1998 : Group Archive : Group : All Groups

From: Paul Bruneau <paul_bruneau@...>
Date: Tue, 15 Sep 1998 08:31:12 -0400
Roger C Gentry wrote:
> 
> I want to be able to drive the TV Tuner (and the UK Teletext option)
> from within FutureBASIC.  I want to be able to make calls to routines
> like TVSetFrequency for setting the Tuner frequency, and TTRequestPage to
> request a TeleText page - I believe these are part of the Component Manager.
> 
> TechNotes 1010 and 1012 give details of the relevant routines but the
> calls are PASCAL-based.  Can someone tell me how to do this in FutureBASIC
> - I appeciate that direct Toolbox calls can't be made since FutureBASIC
> doesn't recognise these particular routines, and that I probably need to
> use a Trap Macro .. but beyond that I'm not sure how to progress for the
> TV Tuner.

On the contrary, direct calls can be made from FutureBasic. Some smart person
on the list may tell you exactly how, but in the meantime, examples are on
page 239 of the Handbook. You just have to throw some stuff on the stack in assembly.

Have fun!