[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem w/GSoft Basic and SoundStartup
Re: Problems with GSoft BASIC
>I think I have most of the parameters to these functions figured out,
>along with an instrument-definition file. My problem starts with the
>very first line. SoundStartup looks for a (word) address of a page of
>memory in Bank 0. I'm assuming I can't just pull a number out of my
>a$$, so how do I allocate a page of memory, and pass that reference
>in to SoundStartup?
You need to allocate a page of memory using the Memory Manager.
>Next little problem is with NSStartup. It requires a pointer to an
>interrupt handler. I guess that's so the program that contains this
>sound routine can handle interrupts while a note is playing. Do I
>have to create a whole interrupt-handling routine, or is there a
>pre-existing routine that I can point to?
Interrupt handlers are a bit of a problem from an interpreted language.
(Actually, they are a bit of a problem from a compiled language, too.) They are
best written from assembly language. You can do that from a user tool.
>Finally, I can't seem to find my GsoftTools.int file. I looked in
>the system directory, and under my GSoft directories. I may have
>missed it, so any non-flame suggestions?
My fault. I inadvertantly left that file off of the disk.
Anyone who needs it can drop me a note by e-mail. I'll send you the file. It
will also be on the first update disk, which is free. I should be sending that
out before the end of the month, so if you're not in a hurry, you can wait for
that disk.
Mike Westerfield