Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #710 > unrolled thread

GS/OS disk insert notifications

Started bySheppy <sheppy@sheppyware.net>
First post2013-04-19 23:30 -0400
Last post2013-04-22 14:35 -0400
Articles 6 — 2 participants

Back to article view | Back to comp.sys.apple2.programmer


Contents

  GS/OS disk insert notifications Sheppy <sheppy@sheppyware.net> - 2013-04-19 23:30 -0400
    Re: GS/OS disk insert notifications spectrumdaddy@nospam.com (Ewen) - 2013-04-20 08:30 +0100
      Re: GS/OS disk insert notifications Sheppy <sheppy@sheppyware.net> - 2013-04-20 16:35 -0400
      Re: GS/OS disk insert notifications Sheppy <sheppy@sheppyware.net> - 2013-04-21 13:57 -0400
        Re: GS/OS disk insert notifications spectrumdaddy@nospam.com (Ewen) - 2013-04-22 07:43 +0100
          Re: GS/OS disk insert notifications Sheppy <sheppy@sheppyware.net> - 2013-04-22 14:35 -0400

#710 — GS/OS disk insert notifications

FromSheppy <sheppy@sheppyware.net>
Date2013-04-19 23:30 -0400
SubjectGS/OS disk insert notifications
Message-ID<2013041923302425628-sheppy@sheppywarenet>
Anyone know why in some apps, my code doesn't get GS/OS "disk inserted" 
notification proc calls until after a desk accessory accesses the disk?

I tried adding a NullGS call, thinking that might flush the queues or 
something, but no go.

-- 

Eric Shepherd (Sheppy)
http://www.sheppyware.net

[toc] | [next] | [standalone]


#711

Fromspectrumdaddy@nospam.com (Ewen)
Date2013-04-20 08:30 +0100
Message-ID<1l1ma7g.f6c032yde7koN%spectrumdaddy@nospam.com>
In reply to#710
Sheppy,

> Anyone know why in some apps, my code doesn't get GS/OS "disk inserted"
> notification proc calls until after a desk accessory accesses the disk?
> 
> I tried adding a NullGS call, thinking that might flush the queues or
> something, but no go.

My immediate guess is that a rogue DA is swallowing the calls before
they get to you. Try a process of elimination, or trace with Richard's
IPC Spy?

Cheers - Ewen

[toc] | [prev] | [next] | [standalone]


#712

FromSheppy <sheppy@sheppyware.net>
Date2013-04-20 16:35 -0400
Message-ID<2013042016354918861-sheppy@sheppywarenet>
In reply to#711
On 2013-04-20 07:30:34 +0000, Ewen said:

> My immediate guess is that a rogue DA is swallowing the calls before
> they get to you. Try a process of elimination, or trace with Richard's
> IPC Spy?

That's a thought. It's odd though that it only happens in a few apps; 
AWGS and DreamGrafix for example. Other apps, the disk insertion events 
come through as expected: 3DLogo, Finder, others.

-- 

Eric Shepherd (Sheppy)
http://www.sheppyware.net

[toc] | [prev] | [next] | [standalone]


#713

FromSheppy <sheppy@sheppyware.net>
Date2013-04-21 13:57 -0400
Message-ID<2013042113571244459-sheppy@sheppywarenet>
In reply to#711
On 2013-04-20 07:30:34 +0000, Ewen said:

> My immediate guess is that a rogue DA is swallowing the calls before
> they get to you. Try a process of elimination, or trace with Richard's
> IPC Spy?

So... adding a call to my code to periodically do a HandleDiskInsert 
call seems to clear it up. Looks like the disk insertion GS/OS 
notification proc is only called when that's done or so. Anyway, my 
particular problem seems to be resolved.

-- 

Eric Shepherd (Sheppy)
http://www.sheppyware.net

[toc] | [prev] | [next] | [standalone]


#714

Fromspectrumdaddy@nospam.com (Ewen)
Date2013-04-22 07:43 +0100
Message-ID<1l1pxeu.1i4mxow1y078mcN%spectrumdaddy@nospam.com>
In reply to#713
Sheppy,

> So... adding a call to my code to periodically do a HandleDiskInsert 
> call seems to clear it up. Looks like the disk insertion GS/OS 
> notification proc is only called when that's done or so. Anyway, my 
> particular problem seems to be resolved.

I usally make the call within the main Taskmaster loop, and handle
accordingly. That seems to be fairly relaible.

Cheers - Ewen

[toc] | [prev] | [next] | [standalone]


#715

FromSheppy <sheppy@sheppyware.net>
Date2013-04-22 14:35 -0400
Message-ID<2013042214353042276-sheppy@sheppywarenet>
In reply to#714
On 2013-04-22 06:43:36 +0000, Ewen said:

> I usally make the call within the main Taskmaster loop, and handle
> accordingly. That seems to be fairly relaible.

Yeah, except my code isn't an app. It's... something different. :)

-- 

Eric Shepherd (Sheppy)
http://www.sheppyware.net

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.apple2.programmer


csiph-web