[Coco] Reading keyboard input without basic

spereira1952 at comcast.net spereira1952 at comcast.net
Wed Feb 10 07:52:25 EST 2016


I would suggest consulting the "unraveled" series of books available here: 

http://www.colorcomputerarchive.com/coco/Documents/Books/Unravelled%20Series/ 

I believe that "Color Basic Unraveled" will reveal how the Color Computer performs its console I/O, and you can build up from there. 

Good luck! 

smp 


----- Original Message -----

From: "Jason M" <oleribus at gmail.com> 
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com> 
Sent: Wednesday, February 10, 2016 7:20:13 AM 
Subject: Re: [Coco] Reading keyboard input without basic 

Thanks for the info all. Does anyone have more info on the available rom 
routines and maybe an example of using one in assembly ? 
On Feb 9, 2016 7:53 PM, "Brett Gordon" <beretta42 at gmail.com> wrote: 

> Coco3 can do a key interrupt... but once it fires make sure you shut off 
> the interrupt (via FF92 or FF93 ) for a jiffy or two, otherwise the key 
> interrupt will fire non-stop until the user releases the key(s). :( 
> 
> CoCo2 doesn't have a key interrupt. So you'll have to poll every once in a 
> while. I usually use the VSYNC interrupt for this. Basic has some pretty 
> handy routines for scanning the keyboard, btw. (Manipulation of the 
> "rollover" RAM is allows for some cool stuff btw...) 
> 
> 
> Brett M Gordon 
> 
> -- 
> Coco mailing list 
> Coco at maltedmedia.com 
> https://pairlist5.pair.net/mailman/listinfo/coco 
> 

-- 
Coco mailing list 
Coco at maltedmedia.com 
https://pairlist5.pair.net/mailman/listinfo/coco 



More information about the Coco mailing list