Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #784
| 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 | 2013-08-03 10:12 +0000 |
| Organization | 1&1 Internet AG |
| Message-ID | <ktil1o$ur9$1@online.de> (permalink) |
| References | <ksmbtj$lkb$1@dont-email.me> |
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