[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BYE Location



In article <33aaf1d3.5804222@167.152.149.11>,
Edhel Iaur, Esq. <LOSETHECAPITALWORDSedhel@bigfoot.com> wrote:
>What is the hex location of ProDOS's BYE code?  Is it possible to use
>it from the Monitor to escape from some P8 crashes so that I can get
>into GS/OS again?  Maybe by entering a tiny machine language routine
>to switch to the language card & call the BYE thing?

Type this in in the monitor:

*300:20 00 BF 65 07 03 60 04 00 00 00 00
*300G

This executes a ProDOS 8 quit call and goes back to the program selector
that ran the app. To guarantee quitting back to GS/OS, you'd want an extended
quit call. I can't do that from memory.
-- 
Randy Shackelford                                 
shack@frii.com