Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #776
| Newsgroups | comp.sys.apple2.programmer |
|---|---|
| Date | 2013-07-25 15:58 -0700 |
| References | <ksmbtj$lkb$1@dont-email.me> <8f1090c4-a0b5-465a-be6c-c1c8eeaa4712@googlegroups.com> <ksrl16$5bl$1@dont-email.me> |
| Message-ID | <d3fd4d3d-753e-4d06-99f8-4e78ba82fbe3@googlegroups.com> (permalink) |
| Subject | Re: Good way to detect the current environment within ProDOS - launcher or BASIC? |
| From | gids.rs@sasktel.net |
> > So, as you can see, I don't see any benefit to adding the reset vector check to any programs. > > > > Here's the benefit I see. I have a binary program that users want to > > launch both ways: as a "BRUNnable" entity from BASIC, and as a SYS > > application from the launcher. (Really, it's the installer for a device > > driver.) So a BASIC user would find it jarring if they were to be > > bounced out of BASIC and into the laucher, as would happen with a QUIT > > call. And someone expecting to run this from the launcher, then run a > > different interpreter would find it inconvenient to have to bounce back > > out of an unexpected BASIC invocation, as would happen with $3D0 or RTS. > > (Well, RTS from a SYS application would crash... but that's another > > story.) > > So, in this case - the dual personality is warranted. If my app really > were an interpreter expecting to replace BASIC, I would see the logic in > the "always QUIT" approach. But it's not. It's really a helper that > needs to have an affinity to either environment. Gotcha. Your program can be used as either a binary program or system program depending on the user.
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next 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