Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Help! I'm trapped in a PDP 11/70!


computers / comp.sys.apple2 / Detect key at startup

SubjectAuthor
* Detect key at startupAnthony Ortiz
+- Re: Detect key at startupI am Rob
`* Re: Detect key at startupMichael J. Mahon
 `* Re: Detect key at startupAnthony Ortiz
  +- Re: Detect key at startupBrian Patrie
  `* Re: Detect key at startupKent Dickey
   +- Re: Detect key at startupAnthony Ortiz
   `* Re: Detect key at startupAnthony Ortiz
    `* Re: Detect key at startupMichael J. Mahon
     `* Re: Detect key at startupAnthony Ortiz
      `- Re: Detect key at startupMichael J. Mahon

1
Detect key at startup

<19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4486&group=comp.sys.apple2#4486

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:622a:3cf:b0:31e:afb2:7f3c with SMTP id k15-20020a05622a03cf00b0031eafb27f3cmr4966352qtx.190.1657748198877;
Wed, 13 Jul 2022 14:36:38 -0700 (PDT)
X-Received: by 2002:a37:6544:0:b0:6b5:bc75:1058 with SMTP id
z65-20020a376544000000b006b5bc751058mr2534817qkb.248.1657748198646; Wed, 13
Jul 2022 14:36:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Wed, 13 Jul 2022 14:36:38 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=96.246.98.130; posting-account=_28MFgoAAAAsc-6dxO-CT0K1QNWF5LF1
NNTP-Posting-Host: 96.246.98.130
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>
Subject: Detect key at startup
From: anthonyp...@gmail.com (Anthony Ortiz)
Injection-Date: Wed, 13 Jul 2022 21:36:38 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 0
 by: Anthony Ortiz - Wed, 13 Jul 2022 21:36 UTC

Question for you guys... I made my own peripheral card a while back and I want to enable it only if you hold down the SHIFT key during ctrl-openapple-reset. What would you say is the best way to achieve this?

Re: Detect key at startup

<99731483-987f-4776-8b53-e899b980edfan@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4487&group=comp.sys.apple2#4487

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ac8:7d55:0:b0:31e:af28:65f with SMTP id h21-20020ac87d55000000b0031eaf28065fmr8067412qtb.391.1657803993071;
Thu, 14 Jul 2022 06:06:33 -0700 (PDT)
X-Received: by 2002:a05:620a:1791:b0:6b5:81cb:aa29 with SMTP id
ay17-20020a05620a179100b006b581cbaa29mr5760672qkb.523.1657803992898; Thu, 14
Jul 2022 06:06:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Thu, 14 Jul 2022 06:06:32 -0700 (PDT)
In-Reply-To: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=142.165.85.156; posting-account=U4TNXwoAAABP4nIJHynAJZ69O_f3LY2g
NNTP-Posting-Host: 142.165.85.156
References: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <99731483-987f-4776-8b53-e899b980edfan@googlegroups.com>
Subject: Re: Detect key at startup
From: gids...@sasktel.net (I am Rob)
Injection-Date: Thu, 14 Jul 2022 13:06:33 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 0
 by: I am Rob - Thu, 14 Jul 2022 13:06 UTC

Maybe look into the ProDOS that comes with booting GSOS. It has the ability that when you boot into GSOS, you can hold down the the #8 key and it will boot into ProDOS 8 instead.

Re: Detect key at startup

<QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4490&group=comp.sys.apple2#4490

  copy link   Newsgroups: comp.sys.apple2
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 14 Jul 2022 18:17:11 -0500
User-Agent: NewsTap/5.5 (iPhone/iPod Touch)
Cancel-Lock: sha1:O309nFECNS/s0WOhB/SdHgufosY=
Newsgroups: comp.sys.apple2
Subject: Re: Detect key at startup
Content-Type: text/plain; charset=UTF-8
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
From: mjma...@aol.com (Michael J. Mahon)
References: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>
Message-ID: <QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com>
Date: Thu, 14 Jul 2022 18:17:11 -0500
Lines: 20
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-sOKontaOW50rEB6qwhrIfvJ4bLFH6GFd7FZwISwwa15vX0T4CwPrT5600NVdhgkB2hmUlHWrGNCG5JW!AvSvVYIMKfedUfZqEy6D76WmhCk1Hk0V64FFArPKSfqABzEjsssrvgiA0A/GcSuu0szQ3pZza3U=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2069
X-Received-Bytes: 2212
 by: Michael J. Mahon - Thu, 14 Jul 2022 23:17 UTC

Anthony Ortiz <anthonypaulo@gmail.com> wrote:
> Question for you guys... I made my own peripheral card a while back and I
> want to enable it only if you hold down the SHIFT key during
> ctrl-openapple-reset. What would you say is the best way to achieve this?
>

There are only two ways to detect that the shift key is depressed: 1)
testing the pushbutton input for the “shift key mod” (if it’s installed,
and if its corresponding pushbutton is *not* pressed), or 2) finding the
keyboard port with an ASCII code which is a “shifted” character.

Since Ctl-Open Apple-Reset does not generate any keycode at the keyboard
port, 2) is not useful. So any detection of shift key depression can only
be detected if the shift key mod is present and the corresponding
pushbutton does not interfere.

You may want to consider using a keycode-generating key, as ProDOS does.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com

Re: Detect key at startup

<fb8206ee-6d93-4423-a0dc-03fb41874041n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4491&group=comp.sys.apple2#4491

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:622a:50b:b0:31e:b559:b36c with SMTP id l11-20020a05622a050b00b0031eb559b36cmr10502569qtx.323.1657847592869;
Thu, 14 Jul 2022 18:13:12 -0700 (PDT)
X-Received: by 2002:a05:620a:15e4:b0:6b5:c8d7:eab0 with SMTP id
p4-20020a05620a15e400b006b5c8d7eab0mr2728439qkm.536.1657847592685; Thu, 14
Jul 2022 18:13:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Thu, 14 Jul 2022 18:13:12 -0700 (PDT)
In-Reply-To: <QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.246.98.130; posting-account=_28MFgoAAAAsc-6dxO-CT0K1QNWF5LF1
NNTP-Posting-Host: 96.246.98.130
References: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com> <QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fb8206ee-6d93-4423-a0dc-03fb41874041n@googlegroups.com>
Subject: Re: Detect key at startup
From: anthonyp...@gmail.com (Anthony Ortiz)
Injection-Date: Fri, 15 Jul 2022 01:13:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 34
 by: Anthony Ortiz - Fri, 15 Jul 2022 01:13 UTC

On Thursday, July 14, 2022 at 7:17:18 PM UTC-4, Michael J. Mahon wrote:
> > Question for you guys... I made my own peripheral card a while back and I
> > want to enable it only if you hold down the SHIFT key during
> > ctrl-openapple-reset. What would you say is the best way to achieve this?
> >
> There are only two ways to detect that the shift key is depressed: 1)
> testing the pushbutton input for the “shift key mod” (if it’s installed,
> and if its corresponding pushbutton is *not* pressed), or 2) finding the
> keyboard port with an ASCII code which is a “shifted” character.
>
> Since Ctl-Open Apple-Reset does not generate any keycode at the keyboard
> port, 2) is not useful. So any detection of shift key depression can only
> be detected if the shift key mod is present and the corresponding
> pushbutton does not interfere.
>
> You may want to consider using a keycode-generating key, as ProDOS does.
>
> --
> -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com

Hello Michael!

Okay I get it... so If I were to have my peripheral card listen to the RESET line and immediately check $C000 for the keycode-generating key of choice, then this would cover my scenario of detecting a keypress during startup right? Or is the RESET line by itself not enough to determine ctrl-apple-reset occurred?

Re: Detect key at startup

<tar8uv$u3e$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4493&group=comp.sys.apple2#4493

  copy link   Newsgroups: comp.sys.apple2
Path: i2pn2.org!i2pn.org!aioe.org!1kzjxob1apDgcOKlV0dflQ.user.46.165.242.75.POSTED!not-for-mail
From: bpat...@bellsouth.spamisicky.net (Brian Patrie)
Newsgroups: comp.sys.apple2
Subject: Re: Detect key at startup
Date: Fri, 15 Jul 2022 03:36:46 -0500
Organization: an elaborate system of piles and accidents
Message-ID: <tar8uv$u3e$1@gioia.aioe.org>
References: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>
<QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com>
<fb8206ee-6d93-4423-a0dc-03fb41874041n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="30830"; posting-host="1kzjxob1apDgcOKlV0dflQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.9.1
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: Brian Patrie - Fri, 15 Jul 2022 08:36 UTC

Anthony Ortiz wrote:
> On Thursday, July 14, 2022 at 7:17:18 PM UTC-4, Michael J. Mahon wrote:
>>> Question for you guys... I made my own peripheral card a while back and I
>>> want to enable it only if you hold down the SHIFT key during
>>> ctrl-openapple-reset. What would you say is the best way to achieve this?
>>>
>> There are only two ways to detect that the shift key is depressed: 1)
>> testing the pushbutton input for the “shift key mod” (if it’s installed,
>> and if its corresponding pushbutton is *not* pressed), or 2) finding the
>> keyboard port with an ASCII code which is a “shifted” character.
>>
>> Since Ctl-Open Apple-Reset does not generate any keycode at the keyboard
>> port, 2) is not useful. So any detection of shift key depression can only
>> be detected if the shift key mod is present and the corresponding
>> pushbutton does not interfere.
>>
>> You may want to consider using a keycode-generating key, as ProDOS does.
>>
>> --
>> -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
>
> Hello Michael!
>
> Okay I get it... so If I were to have my peripheral card listen to the RESET line and immediately check $C000 for the keycode-generating key of choice, then this would cover my scenario of detecting a keypress during startup right? Or is the RESET line by itself not enough to determine ctrl-apple-reset occurred?

The RESET line tells you that ctrl-reset is being held (or that the
auto-reset circuit is doing its thing during powerup). You'd have to
check for open-apple (bit 7 of $C061) separately. Mind you, execution
does not occur /during/ RESET.

What do you mean by "enable" the card? Does it take over the system in
some way (e.g. a ROM card)? Or is it a boot device that you want to be
skipped, or something, if the requisite key is not being held?

Re: Detect key at startup

<tarmsg$323ct$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4494&group=comp.sys.apple2#4494

  copy link   Newsgroups: comp.sys.apple2
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: keg...@provalid.com (Kent Dickey)
Newsgroups: comp.sys.apple2
Subject: Re: Detect key at startup
Date: Fri, 15 Jul 2022 12:34:25 -0000 (UTC)
Organization: provalid.com
Lines: 39
Message-ID: <tarmsg$323ct$1@dont-email.me>
References: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com> <QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com> <fb8206ee-6d93-4423-a0dc-03fb41874041n@googlegroups.com>
Injection-Date: Fri, 15 Jul 2022 12:34:25 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="fd08d9b2cd8c988cb58230f55591606e";
logging-data="3214749"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/TosVVyDC2ZQDV7f/4n8h6"
Cancel-Lock: sha1:oryzLLzM7kJga8rF4vdMr/zHa4c=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: kegs@provalid.com (Kent Dickey)
 by: Kent Dickey - Fri, 15 Jul 2022 12:34 UTC

In article <fb8206ee-6d93-4423-a0dc-03fb41874041n@googlegroups.com>,
Anthony Ortiz <anthonypaulo@gmail.com> wrote:
>On Thursday, July 14, 2022 at 7:17:18 PM UTC-4, Michael J. Mahon wrote:
>> > Question for you guys... I made my own peripheral card a while back and I
>> > want to enable it only if you hold down the SHIFT key during
>> > ctrl-openapple-reset. What would you say is the best way to achieve this?
>> >
>> There are only two ways to detect that the shift key is depressed: 1)
>> testing the pushbutton input for the “shift key mod” (if it’s
>installed,
>> and if its corresponding pushbutton is *not* pressed), or 2) finding the
>> keyboard port with an ASCII code which is a “shifted” character.
>>
>> Since Ctl-Open Apple-Reset does not generate any keycode at the keyboard
>> port, 2) is not useful. So any detection of shift key depression can only
>> be detected if the shift key mod is present and the corresponding
>> pushbutton does not interfere.
>>
>> You may want to consider using a keycode-generating key, as ProDOS does.
>>
>> --
>> -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
>
>Hello Michael!
>
>Okay I get it... so If I were to have my peripheral card listen to the
>RESET line and immediately check $C000 for the keycode-generating key of
>choice, then this would cover my scenario of detecting a keypress during
>startup right? Or is the RESET line by itself not enough to determine
>ctrl-apple-reset occurred?

i'm not sure you can use a regular key either. I suspect the Reset will
clear the keyboard latch. On a //e or later (so, with open-apple keys),
you may still be able to read $C010 and see if "any" key is down, but
Reset might clear that too. The Open-Apple/Closed-Apple keys aren't
normal keys--they are read like paddle buttons, so reset doesn't affect
them.

Kent

Re: Detect key at startup

<ac1d8396-3deb-4f1b-81fe-aa4691964137n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4495&group=comp.sys.apple2#4495

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:620a:44c7:b0:6b5:d000:e2de with SMTP id y7-20020a05620a44c700b006b5d000e2demr1600874qkp.96.1657894878580;
Fri, 15 Jul 2022 07:21:18 -0700 (PDT)
X-Received: by 2002:ad4:5cc4:0:b0:473:650f:7f50 with SMTP id
iu4-20020ad45cc4000000b00473650f7f50mr12261485qvb.60.1657894878210; Fri, 15
Jul 2022 07:21:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Fri, 15 Jul 2022 07:21:18 -0700 (PDT)
In-Reply-To: <tarmsg$323ct$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=96.246.98.130; posting-account=_28MFgoAAAAsc-6dxO-CT0K1QNWF5LF1
NNTP-Posting-Host: 96.246.98.130
References: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>
<QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com> <fb8206ee-6d93-4423-a0dc-03fb41874041n@googlegroups.com>
<tarmsg$323ct$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ac1d8396-3deb-4f1b-81fe-aa4691964137n@googlegroups.com>
Subject: Re: Detect key at startup
From: anthonyp...@gmail.com (Anthony Ortiz)
Injection-Date: Fri, 15 Jul 2022 14:21:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 58
 by: Anthony Ortiz - Fri, 15 Jul 2022 14:21 UTC

On Friday, July 15, 2022 at 8:34:27 AM UTC-4, Kent Dickey wrote:
> >On Thursday, July 14, 2022 at 7:17:18 PM UTC-4, Michael J. Mahon wrote:
> >> > Question for you guys... I made my own peripheral card a while back and I
> >> > want to enable it only if you hold down the SHIFT key during
> >> > ctrl-openapple-reset. What would you say is the best way to achieve this?
> >> >
> >> There are only two ways to detect that the shift key is depressed: 1)
> >> testing the pushbutton input for the “shift key mod” (if it’s
> >installed,
> >> and if its corresponding pushbutton is *not* pressed), or 2) finding the
> >> keyboard port with an ASCII code which is a “shifted” character.
> >>
> >> Since Ctl-Open Apple-Reset does not generate any keycode at the keyboard
> >> port, 2) is not useful. So any detection of shift key depression can only
> >> be detected if the shift key mod is present and the corresponding
> >> pushbutton does not interfere.
> >>
> >> You may want to consider using a keycode-generating key, as ProDOS does.
> >>
> >> --
> >> -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
> >
> >Hello Michael!
> >
> >Okay I get it... so If I were to have my peripheral card listen to the
> >RESET line and immediately check $C000 for the keycode-generating key of
> >choice, then this would cover my scenario of detecting a keypress during
> >startup right? Or is the RESET line by itself not enough to determine
> >ctrl-apple-reset occurred?
> i'm not sure you can use a regular key either. I suspect the Reset will
> clear the keyboard latch. On a //e or later (so, with open-apple keys),
> you may still be able to read $C010 and see if "any" key is down, but
> Reset might clear that too. The Open-Apple/Closed-Apple keys aren't
> normal keys--they are read like paddle buttons, so reset doesn't affect
> them.
>
> Kent

Hi Kent!

My peripheral card acts as an accelerator (a faster 6502) so what I would like to do is make it so that the card is enabled (Ie. acceleration is enabled) whenever an extra key is detected during reboot.

Re: Detect key at startup

<bf08bb66-0c11-431b-8c85-1e2d585e86c1n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4496&group=comp.sys.apple2#4496

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:620a:470f:b0:6b5:a035:13e8 with SMTP id bs15-20020a05620a470f00b006b5a03513e8mr9726282qkb.55.1657895242035;
Fri, 15 Jul 2022 07:27:22 -0700 (PDT)
X-Received: by 2002:a05:620a:1791:b0:6b5:81cb:aa29 with SMTP id
ay17-20020a05620a179100b006b581cbaa29mr9536776qkb.523.1657895241838; Fri, 15
Jul 2022 07:27:21 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Fri, 15 Jul 2022 07:27:21 -0700 (PDT)
In-Reply-To: <tarmsg$323ct$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=96.246.98.130; posting-account=_28MFgoAAAAsc-6dxO-CT0K1QNWF5LF1
NNTP-Posting-Host: 96.246.98.130
References: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>
<QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com> <fb8206ee-6d93-4423-a0dc-03fb41874041n@googlegroups.com>
<tarmsg$323ct$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bf08bb66-0c11-431b-8c85-1e2d585e86c1n@googlegroups.com>
Subject: Re: Detect key at startup
From: anthonyp...@gmail.com (Anthony Ortiz)
Injection-Date: Fri, 15 Jul 2022 14:27:22 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: Anthony Ortiz - Fri, 15 Jul 2022 14:27 UTC

Hey guys,

My peripheral card acts as an accelerator (a faster 6502) so what I would like to do is make it so that the card is enabled (Ie. acceleration is enabled) whenever an extra key is detected during reboot.

Re: Detect key at startup

<yJadnYph_4Izq07_nZ2dnUU7-cXNnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4499&group=comp.sys.apple2#4499

  copy link   Newsgroups: comp.sys.apple2
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 16 Jul 2022 17:07:42 -0500
User-Agent: NewsTap/5.5 (iPhone/iPod Touch)
Cancel-Lock: sha1:O309nFECNS/s0WOhB/SdHgufosY=
Newsgroups: comp.sys.apple2
Subject: Re: Detect key at startup
Content-Type: text/plain; charset=UTF-8
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
From: mjma...@aol.com (Michael J. Mahon)
References: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>
<QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com>
<fb8206ee-6d93-4423-a0dc-03fb41874041n@googlegroups.com>
<tarmsg$323ct$1@dont-email.me>
<bf08bb66-0c11-431b-8c85-1e2d585e86c1n@googlegroups.com>
Message-ID: <yJadnYph_4Izq07_nZ2dnUU7-cXNnZ2d@giganews.com>
Date: Sat, 16 Jul 2022 17:07:42 -0500
Lines: 15
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-kyYVU3aK7+rB8W29Ld4FuorvYHwJ+xfBWTQFj+zwh2fHrknLLwgt7LaCQOYD73qBL7md66jOVhwLnJj!jiPieZRomZAh1mAgt2usJYt9c6daBfe09E0X5gHavyoEOUoxjrmjLywDIWpWzsyOvLyjwkCR1Fhr
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1972
 by: Michael J. Mahon - Sat, 16 Jul 2022 22:07 UTC

Anthony Ortiz <anthonypaulo@gmail.com> wrote:
> Hey guys,
>
> My peripheral card acts as an accelerator (a faster 6502) so what I would
> like to do is make it so that the card is enabled (Ie. acceleration is
> enabled) whenever an extra key is detected during reboot.

Since Reset must be assumed to reset the keyboard port along with the rest
of the system, I suggest polling for a (code-generating) keypress within a
short window (say, two seconds) *after* Reset. If the key is pressed during
the window, clear the strobe (to “consume” the keypress) and then enable
your card.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com

Re: Detect key at startup

<6eadce73-1413-4610-a66d-014c2f1da44bn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4502&group=comp.sys.apple2#4502

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:620a:44c3:b0:6b5:fb6b:d6c9 with SMTP id y3-20020a05620a44c300b006b5fb6bd6c9mr1726290qkp.537.1658208189375;
Mon, 18 Jul 2022 22:23:09 -0700 (PDT)
X-Received: by 2002:a05:6214:4014:b0:473:4433:1346 with SMTP id
kd20-20020a056214401400b0047344331346mr23192945qvb.96.1658208189206; Mon, 18
Jul 2022 22:23:09 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Mon, 18 Jul 2022 22:23:09 -0700 (PDT)
In-Reply-To: <yJadnYph_4Izq07_nZ2dnUU7-cXNnZ2d@giganews.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.246.98.130; posting-account=_28MFgoAAAAsc-6dxO-CT0K1QNWF5LF1
NNTP-Posting-Host: 96.246.98.130
References: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>
<QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com> <fb8206ee-6d93-4423-a0dc-03fb41874041n@googlegroups.com>
<tarmsg$323ct$1@dont-email.me> <bf08bb66-0c11-431b-8c85-1e2d585e86c1n@googlegroups.com>
<yJadnYph_4Izq07_nZ2dnUU7-cXNnZ2d@giganews.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6eadce73-1413-4610-a66d-014c2f1da44bn@googlegroups.com>
Subject: Re: Detect key at startup
From: anthonyp...@gmail.com (Anthony Ortiz)
Injection-Date: Tue, 19 Jul 2022 05:23:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2356
 by: Anthony Ortiz - Tue, 19 Jul 2022 05:23 UTC

On Saturday, July 16, 2022 at 6:07:49 PM UTC-4, Michael J. Mahon wrote:
> > Hey guys,
> >
> > My peripheral card acts as an accelerator (a faster 6502) so what I would
> > like to do is make it so that the card is enabled (Ie. acceleration is
> > enabled) whenever an extra key is detected during reboot.
> Since Reset must be assumed to reset the keyboard port along with the rest
> of the system, I suggest polling for a (code-generating) keypress within a
> short window (say, two seconds) *after* Reset. If the key is pressed during
> the window, clear the strobe (to “consume” the keypress) and then enable
> your card.
> --
> -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com

Thanks Michael, that sounds like the proper thing to do. I'm guessing I should check the open-apple paddle-button location to distinguish between a reset and reboot.

Re: Detect key at startup

<27adncyPDYlj_0r_nZ2dnUU7-cXNnZ2d@giganews.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4508&group=comp.sys.apple2#4508

  copy link   Newsgroups: comp.sys.apple2
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 19 Jul 2022 21:05:50 -0500
User-Agent: NewsTap/5.5 (iPhone/iPod Touch)
Cancel-Lock: sha1:O309nFECNS/s0WOhB/SdHgufosY=
Newsgroups: comp.sys.apple2
Subject: Re: Detect key at startup
Content-Type: text/plain; charset=UTF-8
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
From: mjma...@aol.com (Michael J. Mahon)
References: <19eb6b5d-bfea-4966-8e5b-e444efca83fcn@googlegroups.com>
<QpKdnXBIFcFqPk3_nZ2dnUU7-YHNnZ2d@giganews.com>
<fb8206ee-6d93-4423-a0dc-03fb41874041n@googlegroups.com>
<tarmsg$323ct$1@dont-email.me>
<bf08bb66-0c11-431b-8c85-1e2d585e86c1n@googlegroups.com>
<yJadnYph_4Izq07_nZ2dnUU7-cXNnZ2d@giganews.com>
<6eadce73-1413-4610-a66d-014c2f1da44bn@googlegroups.com>
Message-ID: <27adncyPDYlj_0r_nZ2dnUU7-cXNnZ2d@giganews.com>
Date: Tue, 19 Jul 2022 21:05:50 -0500
Lines: 24
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-iuZyPXFby+4MymefF2yAtjeVRGPOf3UNTrnK30KUge7l0yoo0XcpJ0UnuWNuKOeaW/cLVwajzixwQD5!Riy8IC+0cUNdCYV7RDgSgifTS6L2hsiX+AvfmPEzY7Q3+qEM4IYS9G+V6oMkYpFmV0jAArCmpaQ=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2459
 by: Michael J. Mahon - Wed, 20 Jul 2022 02:05 UTC

Anthony Ortiz <anthonypaulo@gmail.com> wrote:
> On Saturday, July 16, 2022 at 6:07:49 PM UTC-4, Michael J. Mahon wrote:
>>> Hey guys,
>>>
>>> My peripheral card acts as an accelerator (a faster 6502) so what I would
>>> like to do is make it so that the card is enabled (Ie. acceleration is
>>> enabled) whenever an extra key is detected during reboot.
>> Since Reset must be assumed to reset the keyboard port along with the rest
>> of the system, I suggest polling for a (code-generating) keypress within a
>> short window (say, two seconds) *after* Reset. If the key is pressed during
>> the window, clear the strobe (to “consume” the keypress) and then enable
>> your card.
>> --
>> -michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
>
> Thanks Michael, that sounds like the proper thing to do. I'm guessing I
> should check the open-apple paddle-button location to distinguish between
> a reset and reboot.
>

Exactly.

--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor