[comp.sys.apple] Prodos Quit Code - How to call

joseph@elbereth.rutgers.edu (Seymour Joseph) (10/21/88)

Hello again,

Three questions, one hardware, two software:

1) Is there any reason I shouldn't buy a SuperSonic stereo adapter for
my GS if all I want is stereo (and possibly mono digitization later)?
Can anyone recommend a particularly inexpensive source for this board?
What is a good price?

2) I was fairly good at writing assembly language hacks for older
Apple //s under DOS 3.3.  I wrote a terminal emulator and lots of
graphic screen hacks.  I would like to write some small programs for
the //GS probably under Prodos 8. (assuming this is easier than Prodos
16) I want them to be SYS type files that quit using the prodos 8 or
16 quit code.  I know how to create a SYS type file, I know it has to
start at $2000, but I don't know how to politely quit back to the
calling OS.  If there is a standard and fairly straightforward way to
do this, could someone please post an assembly language (commented
please!) segment that does this?

3) I have lots of programs that are Binary files.  I cannot seem to
launch them from the GS Finder.  Is there a way to do so?  What is the
best way you have found for launching binary programs.   (Should I
just write a basic program for each that BRUN's it?)

Thank you for your help.

Seymour Joseph

gwyn@smoke.BRL.MIL (Doug Gwyn ) (10/23/88)

In article <Oct.20.17.54.44.1988.29373@elbereth.rutgers.edu> joseph@elbereth.rutgers.edu (Seymour Joseph) writes:
>1) Is there any reason I shouldn't buy a SuperSonic stereo adapter for
>my GS if all I want is stereo (and possibly mono digitization later)?

The stereo card is okay, but 1-channel digitizing is a hassle if you
really want stereo, because of the unavoidable phase shift that accrues.

>3) I have lots of programs that are Binary files.  I cannot seem to
>launch them from the GS Finder.  Is there a way to do so?

I think if you set up an ICON definition that feeds binary files to
BASIC as the associated "application", then double-clicking a binary
file icon will cause it to be executed.  (However, I'm not sure...)