Date : Tue, 18 May 1993 00:36:45 +0100
From : smcgnnss@... (Stephen McGuinness)
Subject: BBC Caps lock thru S/W
Hi all,
I have the AUG beside me so I hope this helps:
Name: Read/write keyboard status byte
call address: &FFF4
A=&CA (202)
For the Beeb:
bit 3 -1 if shift is pressed
bit 4 -0 if caps lock is engaged
bit 5 -0 if shift lock is engaged
bit 6 -1 if ctrl is pressed
bit 7 -1 shift enabled, if a lock key is engaged then shift reverses the lock
The old status byte is returned in X
<new value>=(<old value> AND Y)EOR X
I hope all this helps.
While I am here - a question about the Master ROM sockets
There is one free sideways ROM socket an the master and I have ViewStore
in it at the moment
Can I page out one of the sideways RAM banks and put this EPROM (VIEWSTORE)
in the free
socket ???
Does it matter that the EPROM is 16K (I think) and the socket is 32K wide??
I hope my question makes sense!
Many thanks
Stephen McGuinness | The Usually Disclaimer.
JS Computer Engineering, |---------------------------------------
Trinity College, | This Area could contain your
Dublin, 2. | Advertisment - Contact ........
Ireland. |