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


Groups > comp.sys.apple2.programmer > #6012

Re: Keyboard layout/character set question

Newsgroups comp.sys.apple2.programmer
Date 2023-01-30 13:15 -0800
References (1 earlier) <021d6a99-198f-42c4-bcb0-bedb20afee3bn@googlegroups.com> <4JScnW1rEswi_U3-nZ2dnZfqn_idnZ2d@giganews.com> <5a60e3d9-1f18-4712-bbb7-4eb6da6a48f1n@googlegroups.com> <c0c2406b-487a-4395-8715-092eeabb0113n@googlegroups.com> <tr89n1$3938g$1@dont-email.me>
Message-ID <6ef7b3cd-a37e-4ed7-a531-b4cd10d363e8n@googlegroups.com> (permalink)
Subject Re: Keyboard layout/character set question
From Stu M <nixomose@gmail.com>

Show all headers | View raw


On Monday, January 30, 2023 at 6:29:39 AM UTC-5, Andrew Roughan wrote:
> qkumba <peter....@gmail.com> wrote: 
> > ...which is exactly the issue in Prince of Persia, which can register 
> > "false" keypresses as a result of the polling $C010 and then fetching the 
> > wrong key from $C000. 
> >
> There’s more information about this issue 
> https://www.applefritter.com/comment/101047#comment-101047


so it took some digging, but I was finally able to find it.
so somebody a long time ago asked a question on stackoverflow: what's the coolest hack you've ever seen or done.
lots of great juicy stuff there and then some stuffy people went and deleted it.
but thanks to technology, and the wonderful people at the internet archive, we still have it.

https://web.archive.org/web/20150925080324/https://stackoverflow.com/questions/192479/whats-the-coolest-hack-youve-seen-or-done/510143

search for "I've ever created was on my Apple //e"  and you'll see my entry.
somewhere along the way I was able to find a copy of the little program I came up with that correctly got the key that was pressed once you checked the any-key-down flag.

What I *didn't* know, which I'm happy to finally find out, is why it works.

> Unfortunately, as noted here on page 7-12 of James Sather's book Understanding the Apple IIe, AKD does not wait for a key to be decoded, so software must "wait until KEYSTROBE is set before interpreting the keyboard ASCII.

That little nugget of information is something I've been wanting to know for 30 something years now....

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Find similar


Thread

Keyboard layout/character set question Colin Leroy-Mira <colin@colino.net> - 2023-01-20 09:03 +0100
  Re: Keyboard layout/character set question Stu M <nixomose@gmail.com> - 2023-01-20 20:24 -0800
    Re: Keyboard layout/character set question Colin Leroy-Mira <colin@colino.net> - 2023-01-24 11:36 +0100
      Re: Keyboard layout/character set question fadden <fadden@fadden.com> - 2023-01-24 07:40 -0800
        Re: Keyboard layout/character set question Antoine Vignau <ntn.vignau@gmail.com> - 2023-01-24 12:27 -0800
    Re: Keyboard layout/character set question Michael J. Mahon <mjmahon@aol.com> - 2023-01-24 22:50 +0000
      Re: Keyboard layout/character set question Stu M <nixomose@gmail.com> - 2023-01-25 04:28 -0800
        Re: Keyboard layout/character set question qkumba <peter.ferrie@gmail.com> - 2023-01-25 10:59 -0800
          Re: Keyboard layout/character set question Stu M <nixomose@gmail.com> - 2023-01-25 12:26 -0800
          Re: Keyboard layout/character set question Andrew Roughan <no_email@invalid.invalid> - 2023-01-30 11:29 +0000
            Re: Keyboard layout/character set question Stu M <nixomose@gmail.com> - 2023-01-30 13:15 -0800

csiph-web