Post Reply 
WIP: 16C firmware hack for more memory
08-23-2024, 04:55 PM
Post: #85
RE: WIP: 16C firmware hack for more memory
This is a 9-month-old thread, I know, but I'm shamelessly piggy-backing on it because I have a couple of questions about the NUT instruction set on which the participants in this thread might be able to shed some light.

As I understand it:
  • instruction $3CC (CHK KB or ?KEY depending on the syntax you're using, I'll stick with the HP syntax here, so CHK KB) checks the CPU's KB register and if a key is pressed, sets the carry flag.
  • Instruction $3C8 (RST KB) clears the KB register, although if a key is pressed when this is executed, the KB register will still contain the code of the key pressed.
  • Instruction $220 (C=KEY) grabs the content of the KB register and sticks it in nybbles 3 & 4 of the C register.

On a Voyager unit, what exactly is the value of the KB register for each key pressed? Is it a scancode of sorts that's common to all Voyager units? Is there a resource online somewhere that can explain how this works in detail? I've not found anything yet.

Thanks in advance.

Current daily drivers: HP-41CL, HP-15C, HP-16C
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
More labels? - brouhaha - 01-30-2023, 06:40 AM
statistical registers - brouhaha - 04-22-2023, 06:00 AM
RE: WIP: 16C firmware hack for more memory - RPNerd - 08-23-2024 04:55 PM



User(s) browsing this thread: 2 Guest(s)