Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » Getting input key without the cursor?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Getting input key without the cursor? [message #347992] Tue, 11 July 2017 10:40 Go to next message
Harry Potter is currently offline  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 Go to previous messageGo to next message
mverpelli is currently offline  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 #347996 is a reply to message #347992] Tue, 11 July 2017 11:17 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Mark D. Overholser

On 11-Jul-17 07:40, 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? :)
>



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/Ass emblyLinesCompleteWagner.pdf>



MarkO
Re: Getting input key without the cursor? [message #348001 is a reply to message #347996] Tue, 11 July 2017 12:13 Go to previous messageGo to next message
Antoine Vignau is currently offline  Antoine Vignau
Messages: 1860
Registered: October 2012
Karma: 0
Senior Member
From the monitor, try
300: 20 00 C0
300G

;-)
Re: Getting input key without the cursor? [message #348017 is a reply to message #348001] Tue, 11 July 2017 17:03 Go to previous messageGo to next message
gids.rs is currently offline  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 Go to previous messageGo to next message
Polymorph is currently offline  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 Go to previous messageGo to next message
Steve Nickolas is currently offline  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 Go to previous messageGo to next message
Anonymous
Karma:
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 Go to previous messageGo to next message
gids.rs is currently offline  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 Go to previous messageGo to next message
mverpelli is currently offline  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 Go to previous messageGo to next message
Harry Potter is currently offline  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 #348078 is a reply to message #348032] Wed, 12 July 2017 10:50 Go to previous messageGo to next message
scott is currently offline  scott
Messages: 4237
Registered: February 2012
Karma: 0
Senior Member
In article <alpine.BSF.2.02.1707112018400.28830@frieza.hoshinet.org>,
Steve Nickolas <usotsuki@buric.co> wrote:
> 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?
Re: Getting input key without the cursor? [message #348160 is a reply to message #348046] Thu, 13 July 2017 01:39 Go to previous message
Anonymous
Karma:
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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Taking Dos off a Dos 3.3 disk, and using the built in "Screen Display code?"
Next Topic: RAM Chips Used in Early II+'s?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 01:32:08 EDT 2024

Total time taken to generate the page: 0.00337 seconds