[futurebasic] ADB routines(simple q's)

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

From: tatewake@... (Terence Jordan)
Date: Sat, 28 Mar 1998 00:46:44 -0500
I was playing with the Pascal Converter and the Universal Headers(DeskBus.p
in general); and I noticed alot of the routines were already defined as FB
keywords...

What I'm going for is just a "useless?" function that can toggle the lights
on extended keyboards(this is the num lock, caps lock, scroll lock.)

I did a search on the devworld site, and I came up with this:
http://devworld.apple.com/dev/techsupport/insidemac/Devices/Devices-206.html

But I don't think I'm really up to trying to convert these pascal routines
myself. (I've spent the past couple of hours converting some C code that
should do the same thing, but isn't working...)

The other problem I saw was that the ADBOP procedure in the DeskBus.p file
has 4 parameters, but FB jumps down my throat and says there's only two
parameters.

Also, the pascal converter can't convert the new ADBOP routine fully with
that "*** could not decode inline data ***" stuff.

These routines seem pretty small, and I think it'd be a simple conversion
for those with experience(hint hint)...

Thanks...



-- Terence Jordan (tatewake@...)
Inspired Software. http://inspired.netstreet.net/
Macintosh, Dos, Windows, and BeOS software solutions.
Phone: 407-728-7563
....................................
.MacSloMo: 6502 emulation,         .
.the first CPU Emu in FB!          .
.Source code is available!         .
.http://inspired.netstreet.net/POC/.
....................................