💾 Archived View for mirrors.apple2.org.za › archive › apple.cabi.net › FAQs.and.INFO › GSOS › extend… captured on 2023-03-20 at 22:50:04.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Path: blue.weeg.uiowa.edu!news.uiowa.edu!uunet!gatech!howland.reston.ans.net!news.sprintlink.net!southwind.net!southwind.net
From: shack@onyx.southwind.net (Randy Shackelford)
Newsgroups: comp.sys.apple2
Subject: Re: GS/OS-friendly ProDOS 8 quit code?
Date: 28 Feb 1995 13:25:59 -0600
Organization: SouthWind Internet Access, Inc.
Lines: 25
Message-ID: <3ivtc7$mq3@onyx.southwind.net>
References: <3iubv4$s27@crcnis3.unl.edu>
NNTP-Posting-Host: onyx.southwind.net
followup-yo: comp.sys.apple2.programmer
X-Newsreader: TIN [version 1.2 PL2]

Greg Berigan (gberigan@cse.unl.edu) wrote:
: Is there a ProDOS 8 quit code replacement (like A.h.h.h.System)
: available that is GS/OS friendly?  By that I mean can you quit out of
: the quit code and go back to GS/OS without having to restart the system?
: I use a lot of ProDOS 8 applications and going back and forth between
: GS/OS and ProDOS 8 gets tiresome.

I fired up ORCA/M and whipped up a little assembly program that takes you back
to the finder when you run it from BASIC. You could turn it into a SYS program
and run it to go back. It's the same code I added to my homemade version of 
ECP8 I wrote eons ago:

         keep  t
try      start
         jsr   $bf00
         dc    h'65',a'qparm'
qparm    dc    h'04ee',a'addr',h'000000'
addr     ds    2
         end

This does an extended quit call with a null pathname, causing ProDOS 8 to quit
back to the previous app, which is the finder in my case.
-- 
Randy Shackelford                                 I was internet
shack@southwind.net                               when internet wasn't cool