Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #784
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news1.as3257.net!newsfeed.tiscali.ch!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail |
|---|---|
| From | ol.sc@web.de (Oliver Schmidt) |
| Newsgroups | comp.sys.apple2.programmer |
| Subject | Re: Good way to detect the current environment within ProDOS - launcher or BASIC? |
| Date | Sat, 03 Aug 2013 10:12:21 GMT |
| Organization | 1&1 Internet AG |
| Lines | 20 |
| Message-ID | <ktil1o$ur9$1@online.de> (permalink) |
| References | <ksmbtj$lkb$1@dont-email.me> |
| NNTP-Posting-Host | p57905cbe.dip0.t-ipconnect.de |
| X-Trace | online.de 1375524728 31593 87.144.92.190 (3 Aug 2013 10:12:08 GMT) |
| X-Complaints-To | abuse@einsundeins.com |
| NNTP-Posting-Date | Sat, 3 Aug 2013 10:12:08 +0000 (UTC) |
| X-Newsreader | Forte Free Agent 1.21/32.243 |
| Xref | csiph.com comp.sys.apple2.programmer:784 |
Show key headers only | View raw
Hi David, >I'd like to tell the current ProDOS environment underneath my program. >I want to quit differently depending on being launched from BASIC (just >RTS) or from the program launcher (ProDOS QUIT MLI call). I didn't follow the reset vector approach pointed out by others. Instead I look at the ProDOS system bit map: https://github.com/oliverschmidt/cc65/blob/master/libsrc/apple2/crt0.s Lines 143 to 146: ; Check ProDOS system bit map lda $BF6F ; Protection for pages $B8 - $BF cmp #%00000001 ; Exactly system global page is protected bne basic Regards, Oliver
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Good way to detect the current environment within ProDOS - launcher or BASIC? David Schmidt <schmidtd@my-deja.com> - 2013-07-23 12:50 -0400
Re: Good way to detect the current environment within ProDOS - launcher or BASIC? BLuRry <brendan.robert@gmail.com> - 2013-07-23 12:10 -0700
Re: Good way to detect the current environment within ProDOS - launcher or BASIC? David Schmidt <schmidtd@my-deja.com> - 2013-07-23 16:37 -0400
Re: Good way to detect the current environment within ProDOS - launcher or BASIC? BLuRry <brendan.robert@gmail.com> - 2013-07-23 17:29 -0700
Re: Good way to detect the current environment within ProDOS - launcher or BASIC? Antoine Vignau <antoine.vignau@laposte.net> - 2013-07-24 11:16 -0700
Re: Good way to detect the current environment within ProDOS - launcher or BASIC? BLuRry <brendan.robert@gmail.com> - 2013-07-24 12:17 -0700
Re: Good way to detect the current environment within ProDOS - launcher or BASIC? gids.rs@sasktel.net - 2013-07-25 08:37 -0700
Re: Good way to detect the current environment within ProDOS - launcher or BASIC? David Schmidt <schmidtd@my-deja.com> - 2013-07-25 12:57 -0400
Re: Good way to detect the current environment within ProDOS - launcher or BASIC? gids.rs@sasktel.net - 2013-07-25 15:58 -0700
Re: Good way to detect the current environment within ProDOS - launcher or BASIC? ol.sc@web.de (Oliver Schmidt) - 2013-08-03 10:12 +0000
csiph-web