Search the web
Sign In
New User? Sign Up
vzemu · The VZ color computer mailing list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
VZ Extended Keyboard Matrix Definition   Message List  
Reply | Forward Message #6315 of 6694 |
RE: [vzemu] VZ Extended Keyboard Matrix Definition

A very important location (7816H) exists in communications RAM called the
KDCB - Keyboard Device Control Block. This contains the
location of the matrix scanning routine (by default it is set to 2EF4H) and
is updated when KSCAN is installed. If the programmers had done the right
thing then they would have called 002BH which would lookup the current
keyboard scanning routine and perform the scan (so on a standard VZ it would
eventually get to 2EF4H). With KSCAN installed, the program would have used
the new keyboard driver and its lookup tables.

Finally, the VZ scans the keyboard every interrupt in its default Interrupt
Service Routine. KSCAN bypasses this by installing itsa own Service Routine
which does all the default noe does, plus extras.

 

 

Ah Bingo! This all makes sense now - up till today I never knew about the kdcb. It’s a good way to get a layer of abstraction above the standard hardware. Will have to read up on all this on the train tomorrow so I can get my head around it.

 

Got a new phone yesterday, the htc touch pro. It runs windows mobile 6, has a 3.2 megapixel camera, 640x480 graphics, 520mhz processor and built in gps. Most importantly it runs pocketvz so I’ve finally got a VZ200 enabled mobile phone! It has a very nice slide out keyboard, so another biggie on the to do list is add hardware keyboard support.

 

Pocketvz also runs like a dog on it so I need to optimise the screen redraw. Its also a dog on vzem but the fast cpus in PCs compensates for it.

Basically it is drawing every pixel of every scanline, whether it needs to or not, 50 times a second.  

 



Wed Nov 5, 2008 1:08 pm

guy_thomason
Offline Offline
Send Email Send Email

Forward
Message #6315 of 6694 |
Expand Messages Author Sort by Date

Hi Guy, I have finally found the KSCAN 3 documentation. Basically, after I wrote the article for the Hunter Valley Journal, I was not happy with my initial ...
Leslie Milburn
cdb4w
Offline Send Email
Nov 3, 2008
11:00 am

Leslie, Can you plug this keyboard into a normal vz and have it work with the basic interpreter? If so how does this work - using an interrupt routine? Do you...
Guy Thomason
guy_thomason
Offline Send Email
Nov 3, 2008
11:21 pm

Hi Guy, This is going to be a long answer.......... I have three different VZ - 101 keyboards each progressing as it were in terms of both ease of connectivity...
Leslie Milburn
cdb4w
Offline Send Email
Nov 4, 2008
1:34 pm

A very important location (7816H) exists in communications RAM called the KDCB - Keyboard Device Control Block. This contains the location of the matrix...
Guy Thomason
guy_thomason
Offline Send Email
Nov 5, 2008
1:08 pm

... Hi Guy, You will also notice that there are other DCB's in Communications RAM supporting video display and a printer - These are unused on the standard VZ,...
Leslie Milburn
cdb4w
Offline Send Email
Nov 5, 2008
1:45 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help