Discussion:
Getting input key without the cursor?
(too old to reply)
Harry Potter
2017-07-11 14:40:00 UTC
Permalink
Raw Message
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? :)
Marco Verpelli
2017-07-11 15:09:44 UTC
Permalink
Raw Message
Post by Harry Potter
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
Harry Potter
2017-07-12 14:07:00 UTC
Permalink
Raw Message
Post by Marco Verpelli
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. :(
Mark D. Overholser
2017-07-11 15:17:07 UTC
Permalink
Raw Message
Post by Harry Potter
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? :)
This is really a question more relevant to comp.sys.apple2.programmer,
but read the Keyboard Directly and Clear the Keyboard Strobe..


See Program AL06.1A in Assembly Lines: The Complete Book...
That is on Page 42..

<https://archive.org/download/AssemblyLinesCompleteWagner/AssemblyLinesCompleteWagner.pdf>



MarkO
Antoine Vignau
2017-07-11 16:13:02 UTC
Permalink
Raw Message
From the monitor, try
300: 20 00 C0
300G

;-)
g***@sasktel.net
2017-07-11 21:03:26 UTC
Permalink
Raw Message
Post by Antoine Vignau
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.
Polymorph
2017-07-11 23:23:32 UTC
Permalink
Raw Message
On Wednesday, July 12, 2017 at 7:03:28 AM UTC+10, ***@sasktel.net wrote:

<snip
Post by g***@sasktel.net
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?
Steve Nickolas
2017-07-12 00:20:38 UTC
Permalink
Raw Message
Post by Polymorph
<snip
Post by g***@sasktel.net
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.
Scott Alfter
2017-07-12 14:50:11 UTC
Permalink
Raw Message
Post by Steve Nickolas
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.
"Write-only brains." :-)

_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?
g***@sasktel.net
2017-07-12 04:53:26 UTC
Permalink
Raw Message
Post by Polymorph
<snip
Post by g***@sasktel.net
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?
James Davis
2017-07-13 05:39:05 UTC
Permalink
Raw Message
Post by g***@sasktel.net
Post by Polymorph
<snip
Post by g***@sasktel.net
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.

Marco Verpelli
2017-07-12 07:06:58 UTC
Permalink
Raw Message
Post by Antoine Vignau
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
John Brooks
2017-07-12 04:49:03 UTC
Permalink
Raw Message
Post by Harry Potter
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
Loading...