Post Reply 
HP-19C Repair Odysee
05-04-2021, 08:25 PM (This post was last modified: 05-04-2021 08:35 PM by PANAMATIK.)
Post: #30
RE: HP-19C Repair Odysee
(05-03-2021 02:05 PM)teenix Wrote:  After playing around with the PIK chip myself a bit and realizing some (but not all) of its complexities, I have to say awesome work, well done :-)

Thanks Tony!

I want to show here one of these complexities, which I had to deal with today and to overcome. It is also an example of how crazy the HP-19C machine is constructed. Obviously IMO as the result of the idea to use the existing ACT chip and the PIK chip for the HP-19C, which were originally designed for the "Woodstock" calculators (ACT) and the HP-97 (PIK) by their engineers, and do not fit very well for this machine.

As mentioned the PIK chip constantly reads the 8x4 keyboard matrix (every 5-6ms) and determines the keycode. In case a button was pressed, it fills a 16 byte buffer with the keycodes, which will be read by the ACT processor and processed. But there is no way to read the information from the PIK chip, whether a button is still hold down. There are two buttons, SST and R/S, which show the actual program step, while pressed. How does this work?

The hardware designers decided to concurrently let do the ACT chip the keyboard scan as well. For this purpose they only connected ONE of the four keyboard rows to the ACT keyboard matrix inputs. This is the row where the buttons SST and R/S and 5 other buttons are located. For any other buttons it is impossible to detect, if they are still pressed. And indeed by analyzing the HP-19C ROM code, I found that only in case of the SST or R/S button the status flag S15 is tested, which tells the ACT that one of the keyboard inputs are at low level.

A crazy enable signal, switched by three transistors, makes it possible that the other ACT key matrix inputs can be used to detect the state of the PRGM/RUN and MAN/TRACE/NORM switch and doesn't interfere with the S15 flag.

Today in the morning I got the key matrix running and was able to enter keystrokes, which were detected by the PIK, and I could perform the first calculation: I added two numbers. But I could not yet test whether a key was hold down. Also the PRGM/RUN switch was not yet to detect. I needed the whole day to achieve this. Now the HP-19E ACT in conjunction with the newPIK can detect the state of the PRGM/RUN switch, and detect whether the SST and R/S key is still pressed, and I was able to enter my first program.

Code:

01  25 14 01 LBL 1
02        01 1
03        41 + 
04     16 64 f PAUSE
05     14 01 GTO 1

And it works! Also when using the SST key to see the program step, before it is executed.

Bernhard

That's one small step for a man - one giant leap for mankind.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP-19C Repair Odysee - PANAMATIK - 03-01-2021, 12:31 PM
RE: HP-19C Repair Odysee - Sylvain Cote - 03-01-2021, 02:02 PM
RE: HP-19C Repair Odysee - rprosperi - 03-01-2021, 02:55 PM
RE: HP-19C Repair Odysee - PANAMATIK - 03-01-2021, 04:26 PM
RE: HP-19C Repair Odysee - PANAMATIK - 03-01-2021, 07:52 PM
RE: HP-19C Repair Odysee - jjohnson873 - 03-01-2021, 03:40 PM
RE: HP-19C Repair Odysee - Ren - 03-01-2021, 07:54 PM
RE: HP-19C Repair Odysee - Don Williams - 03-01-2021, 10:26 PM
RE: HP-19C Repair Odysee - teenix - 03-02-2021, 01:29 AM
RE: HP-19C Repair Odysee - Thomas Okken - 03-02-2021, 02:56 AM
RE: HP-19C Repair Odysee - PANAMATIK - 03-02-2021, 07:33 AM
RE: HP-19C Repair Odysee - Don Williams - 03-02-2021, 03:23 PM
RE: HP-19C Repair Odysee - PANAMATIK - 03-02-2021, 04:02 PM
RE: HP-19C Repair Odysee - teenix - 03-02-2021, 12:33 AM
RE: HP-19C Repair Odysee - Don Williams - 03-02-2021, 02:55 AM
RE: HP-19C Repair Odysee - teenix - 03-02-2021, 03:44 AM
RE: HP-19C Repair Odyssey - [kby] - 03-02-2021, 03:01 AM
RE: HP-19C Repair Odysee - teenix - 03-08-2021, 09:32 AM
RE: HP-19C Repair Odysee - PANAMATIK - 03-08-2021, 10:47 AM
RE: HP-19C Repair Odysee - teenix - 03-09-2021, 12:50 AM
RE: HP-19C Repair Odysee - Jonas Sandstedt - 04-27-2021, 11:47 AM
RE: HP-19C Repair Odysee - jjohnson873 - 04-29-2021, 01:56 AM
RE: HP-19C Repair Odysee - PANAMATIK - 04-27-2021, 02:07 PM
RE: HP-19C Repair Odysee - Jonas Sandstedt - 04-27-2021, 02:35 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-03-2021, 11:51 AM
RE: HP-19C Repair Odysee - teenix - 05-03-2021, 02:05 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-04-2021 08:25 PM
RE: HP-19C Repair Odysee - jjohnson873 - 05-05-2021, 05:08 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-06-2021, 07:24 PM
RE: HP-19C Repair Odysee - [kby] - 05-09-2021, 12:25 AM
RE: HP-19C Repair Odysee - PANAMATIK - 05-09-2021, 12:01 PM
RE: HP-19C Repair Odysee - teenix - 05-09-2021, 02:16 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-09-2021, 02:34 PM
RE: HP-19C Repair Odysee - teenix - 05-09-2021, 05:56 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-09-2021, 06:35 PM
RE: HP-19C Repair Odysee - [kby] - 05-13-2021, 01:28 AM
RE: HP-19C Repair Odysee - teenix - 05-10-2021, 12:13 AM
RE: HP-19C Repair Odysee - PANAMATIK - 05-10-2021, 05:52 AM
RE: HP-19C Repair Odysee - PANAMATIK - 05-10-2021, 03:57 PM
RE: HP-19C Repair Odysee - teenix - 05-11-2021, 12:45 AM
RE: HP-19C Repair Odysee - PANAMATIK - 05-14-2021, 09:27 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-16-2021, 01:29 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-17-2021, 06:25 PM
RE: HP-19C Repair Odysee - Harald - 05-18-2021, 10:35 AM
RE: HP-19C Repair Odysee - PANAMATIK - 05-18-2021, 11:12 AM
RE: HP-19C Repair Odysee - jjohnson873 - 05-18-2021, 05:09 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-18-2021, 05:42 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-28-2021, 09:04 AM
RE: HP-19C Repair Odysee - AndiGer - 05-18-2021, 05:31 PM
RE: HP-19C Repair Odysee - rprosperi - 05-18-2021, 05:57 PM
RE: HP-19C Repair Odysee - [kby] - 05-21-2021, 05:50 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-18-2021, 06:14 PM
RE: HP-19C Repair Odysee - rprosperi - 05-19-2021, 01:55 AM
RE: HP-19C Repair Odysee - Jonas Sandstedt - 05-28-2021, 09:32 AM
RE: HP-19C Repair Odysee - PANAMATIK - 05-28-2021, 11:27 AM
RE: HP-19C Repair Odysee - Jonas Sandstedt - 05-28-2021, 04:45 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-28-2021, 09:49 PM
RE: HP-19C Repair Odysee - PANAMATIK - 05-31-2021, 10:34 AM
RE: HP-19C Repair Odysee - AndiGer - 05-31-2021, 06:31 PM
RE: HP-19C Repair Odysee - PANAMATIK - 06-04-2021, 09:01 AM
RE: HP-19C Repair Odysee - jjohnson873 - 07-21-2021, 12:41 PM
RE: HP-19C Repair Odysee - PANAMATIK - 07-23-2021, 03:26 AM
RE: HP-19C Repair Odysee - Harald - 06-04-2021, 11:12 AM
RE: HP-19C Repair Odysee - PANAMATIK - 06-04-2021, 12:20 PM
RE: HP-19C Repair Odysee - PANAMATIK - 06-28-2021, 08:22 AM
RE: HP-19C Repair Odysee - rprosperi - 06-28-2021, 12:52 PM
RE: HP-19C Repair Odysee - Jonas Sandstedt - 06-30-2021, 04:11 PM
RE: HP-19C Repair Odysee - [kby] - 07-05-2021, 05:11 PM
RE: HP-19C Repair Odysee - Artur - Brasil - 07-05-2021, 12:47 PM
RE: HP-19C Repair Odysee - PANAMATIK - 07-05-2021, 04:41 PM
RE: HP-19C Repair Odysee - Artur - Brasil - 07-05-2021, 05:34 PM
RE: HP-19C Repair Odysee - PANAMATIK - 07-05-2021, 08:43 PM
RE: HP-19C Repair Odysee - teenix - 07-05-2021, 11:35 PM
RE: HP-19C Repair Odysee - PANAMATIK - 07-06-2021, 07:15 AM
RE: HP-19C Repair Odysee - teenix - 07-06-2021, 08:00 AM
RE: HP-19C Repair Odysee - PANAMATIK - 07-06-2021, 10:24 AM
RE: HP-19C Repair Odysee - Artur - Brasil - 07-06-2021, 12:58 AM
RE: HP-19C Repair Odysee - teenix - 07-06-2021, 04:49 AM
RE: HP-19C Repair Odysee - Artur - Brasil - 07-06-2021, 11:19 AM
RE: HP-19C Repair Odysee - teenix - 07-06-2021, 12:32 PM
RE: HP-19C Repair Odysee - Artur - Brasil - 07-06-2021, 01:56 PM
RE: HP-19C Repair Odysee - PANAMATIK - 01-15-2024, 12:05 PM
RE: HP-19C Repair Odysee - AndiGer - 01-15-2024, 03:25 PM
RE: HP-19C Repair Odysee - PANAMATIK - 01-15-2024, 05:21 PM



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