Getting input key without the cursor? [message #347992] |
Tue, 11 July 2017 10:40 |
Harry Potter
Messages: 1304 Registered: March 2012
Karma: 0
|
Senior Member |
|
|
Hi! I am looking to get keyboard input, one character at a time and with no cursor, from the user. I looked at my Apple Monitors Peeled document but couldn't find the entry. What entry point do I use to achieve the result? :)
|
|
|
Re: Getting input key without the cursor? [message #347994 is a reply to message #347992] |
Tue, 11 July 2017 11:09 |
mverpelli
Messages: 289 Registered: May 2013
Karma: 0
|
Senior Member |
|
|
On Tuesday, July 11, 2017 at 4:40:02 PM UTC+2, Harry Potter wrote:
> Hi! I am looking to get keyboard input, one character at a time and with no cursor, from the user. I looked at my Apple Monitors Peeled document but couldn't find the entry. What entry point do I use to achieve the result? :)
10 WAIT 49152,128
20 CH = PEEK (49152)
30 POKE 49168,0
40 PRINT CHR$ (CH)
Machine language conversion is straightforward.
Marco
|
|
|
|
|
Re: Getting input key without the cursor? [message #348017 is a reply to message #348001] |
Tue, 11 July 2017 17:03 |
gids.rs
Messages: 1395 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
On Tuesday, July 11, 2017 at 10:13:04 AM UTC-6, Antoine Vignau wrote:
> From the monitor, try
> 300: 20 00 C0
> 300G
>
> ;-)
I am sure Harry means well, so I can't decide if that is cruel, or funny.
But at the same time I can't tell if Harry is just pulling OUR legs or if he really is that way.
If he replies to this and asks "What way?", then I will have my answer.
|
|
|
Re: Getting input key without the cursor? [message #348027 is a reply to message #348017] |
Tue, 11 July 2017 19:23 |
Polymorph
Messages: 206 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
On Wednesday, July 12, 2017 at 7:03:28 AM UTC+10, gid...@sasktel.net wrote:
<snip
> But at the same time I can't tell if Harry is just pulling OUR legs or if he really is that way.
Harry (erm Joseph Rose) has a long history (over 10 years) of creating these kind of threads. I determined that he really is *that* way a loooong time ago. Just do a search for "Harry Potter" in c.s.a2 for the evidence.
For someone who has been attempting to write something useful for so long... and can't get past the basics... well, maybe he should pursue other interests?
|
|
|
Re: Getting input key without the cursor? [message #348032 is a reply to message #348027] |
Tue, 11 July 2017 20:20 |
Steve Nickolas
Messages: 2036 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
On Tue, 11 Jul 2017, Polymorph wrote:
> On Wednesday, July 12, 2017 at 7:03:28 AM UTC+10, gid...@sasktel.net wrote:
>
> <snip
>
>> But at the same time I can't tell if Harry is just pulling OUR legs or if he really is that way.
>
>
> Harry (erm Joseph Rose) has a long history (over 10 years) of creating these kind of threads. I determined that he really is *that* way a loooong time ago. Just do a search for "Harry Potter" in c.s.a2 for the evidence.
>
> For someone who has been attempting to write something useful for so long... and can't get past the basics... well, maybe he should pursue other interests?
>
I would have provided advice myself, but it was That Person. No sense
replying to the only person to actually have made my killfile.
I've referred to people like him as "eternal noobs". They're not just
n00bs, but they seem to have write-only brains - anything you say to them
goes in one ear and out the other. It's not worth the time to even talk
to them. Another phrase I've heard was "support vampire".
-uso.
|
|
|
Re: Getting input key without the cursor? [message #348045 is a reply to message #347992] |
Wed, 12 July 2017 00:49 |
|
Originally posted by: John Brooks
On Tuesday, July 11, 2017 at 7:40:02 AM UTC-7, Harry Potter wrote:
> Hi! I am looking to get keyboard input, one character at a time and with no cursor, from the user. I looked at my Apple Monitors Peeled document but couldn't find the entry. What entry point do I use to achieve the result? :)
In Bitsy Bye I use RdKey ($FD0C), but move the cursor offscreen first by pointing BASH above the text page:
ASL $29
JSR $FD0C
test with:
300:06 29 4c 0c fd
I don't bother restoring the BASH afterward as Bitsy Bye does a VTAB (which resets BASH) after each keypress and before characters are printed to the screen.
-JB
@JBrooksBSI
|
|
|
Re: Getting input key without the cursor? [message #348046 is a reply to message #348027] |
Wed, 12 July 2017 00:53 |
gids.rs
Messages: 1395 Registered: October 2012
Karma: 0
|
Senior Member |
|
|
On Tuesday, July 11, 2017 at 5:23:34 PM UTC-6, Polymorph wrote:
> On Wednesday, July 12, 2017 at 7:03:28 AM UTC+10, gid...@sasktel.net wrote:
>
> <snip
>
>> But at the same time I can't tell if Harry is just pulling OUR legs or if he really is that way.
>
>
> Harry (erm Joseph Rose) has a long history (over 10 years) of creating these kind of threads. I determined that he really is *that* way a loooong time ago. Just do a search for "Harry Potter" in c.s.a2 for the evidence.
>
> For someone who has been attempting to write something useful for so long... and can't get past the basics... well, maybe he should pursue other interests?
That's just it. I don't get the sense he is trying to write a program or create anything. He is obviously intelligent enough to read and understand what he reads. So pretty much most of his questions he could answer himself if he continues reading.
So, to be intelligent enough to ask the questions that he does should mean he doesn't have A.D.D. and that he understands what he reads.
Heck, he is even smart enough to create a thread and log a post. So he has computer smarts.
But I highly doubt he even owns an Apple or even uses Apple emulators.
He rarely responds to someone who replies to his posts. And if he does, it is to apologize for being simple. Yet, how can you be smart enough to use a computer to get online and still be simple?
|
|
|
Re: Getting input key without the cursor? [message #348050 is a reply to message #348001] |
Wed, 12 July 2017 03:06 |
mverpelli
Messages: 289 Registered: May 2013
Karma: 0
|
Senior Member |
|
|
On Tuesday, July 11, 2017 at 6:13:04 PM UTC+2, Antoine Vignau wrote:
> From the monitor, try
> 300: 20 00 C0
> 300G
>
> ;-)
I remember these lines...
They are taken from Apple II Crash Course 101. It litteraly crash!
Marco
|
|
|
Re: Getting input key without the cursor? [message #348067 is a reply to message #347994] |
Wed, 12 July 2017 10:07 |
Harry Potter
Messages: 1304 Registered: March 2012
Karma: 0
|
Senior Member |
|
|
On Tuesday, July 11, 2017 at 11:09:46 AM UTC-4, Marco Verpelli wrote:
>
> 10 WAIT 49152,128
> 20 CH = PEEK (49152)
> 30 POKE 49168,0
> 40 PRINT CHR$ (CH)
>
> Machine language conversion is straightforward.
>
I'll try that.
I am sorry for my excessive posts. I *am* working on a program: Apple2SimpleIO. BTW, I *am* that way, but I'd rather not discuss why. :(
|
|
|
|
Re: Getting input key without the cursor? [message #348160 is a reply to message #348046] |
Thu, 13 July 2017 01:39 |
|
Originally posted by: James Davis
On Tuesday, July 11, 2017 at 9:53:29 PM UTC-7, gid...@sasktel.net wrote:
> On Tuesday, July 11, 2017 at 5:23:34 PM UTC-6, Polymorph wrote:
>> On Wednesday, July 12, 2017 at 7:03:28 AM UTC+10, gid...@sasktel.net wrote:
>>
>> <snip
>>
>>> But at the same time I can't tell if Harry is just pulling OUR legs or if he really is that way.
>>
>>
>> Harry (erm Joseph Rose) has a long history (over 10 years) of creating these kind of threads. I determined that he really is *that* way a loooong time ago. Just do a search for "Harry Potter" in c.s.a2 for the evidence.
>>
>> For someone who has been attempting to write something useful for so long... and can't get past the basics... well, maybe he should pursue other interests?
>
>
> That's just it. I don't get the sense he is trying to write a program or create anything. He is obviously intelligent enough to read and understand what he reads. So pretty much most of his questions he could answer himself if he continues reading.
>
> So, to be intelligent enough to ask the questions that he does should mean he doesn't have A.D.D. and that he understands what he reads.
>
> Heck, he is even smart enough to create a thread and log a post. So he has computer smarts.
>
> But I highly doubt he even owns an Apple or even uses Apple emulators.
>
> He rarely responds to someone who replies to his posts. And if he does, it is to apologize for being simple. Yet, how can you be smart enough to use a computer to get online and still be simple?
Maybe Harry is an Artificial Intellegence (Computer/Program)!
Or, maybe he had a stroke or was in a car accident resulting in brain damage.
Or, maybe, like me, he has just forgotten everything he once knew about the Apple II.
Or, maybe he was just born Simple. God only knows. And, Harry.
|
|
|