Post Reply 
Nonpareil status
10-16-2022, 08:36 PM
Post: #21
67/97 Card Reader Controller notes
These are notes on the CRC reverse-engineering that Jacques Laporte and I did back in 2007-2008.

The CRC chip (Card Reader Controller) has twelve flags, which we've numbered 0 through 11. Our numbering may not match HP's internal numbering, which we were not privy to. Each flag has a set instruction, and a test-and-clear instruction (like the HP-41C FS?C), except that flag 0 can only be tested. Five of the flags control and monitor the card reader hardware:

* 0 buffer ready
* 7 data valid
* 9 motor enable
* 10 card inserted
* 11 write mode

Four of the flags sense other hardware inputs, of which only one is used in the 67:

* 1 PRGM mode (67/97)
* 2 printer MAN mode (97), unused (67)
* 3 printer NORM mode (97), unused (67)
* 4 keyboard sensing for SST, BST, R/S (97), unused (67)

The other three flags appear to have no dedicated hardware function, and exist for the convenience of the person writing the microcode. The 67/97 use those for:

* 5 MERGE
* 6 PAUSE
* 8 display-related

The octal encodings of the instructions are:

0100 crc fs?c 0
0200 crc sf 1
0300 crc fs?c 1
0400 crc sf 2
0500 crc fs?c 2
0600 crc sf 3
0700 crc fs?c 3
1000 crc sf 4
1100 crc fs?c 4
1200 crc sf 5
1300 crc fs?c 5
1400 crc sf 6
1500 crc fs?c 6
1600 crc sf 7
1700 crc fs?c 7

0060 crc sf 8
0160 crc fs?c 8
0260 crc sf 9
0360 crc fs?c 9
0460 crc sf 10
0560 crc fs?c 10
0660 crc sf 11
0760 crc fs?c 11
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Nonpareil status - brouhaha - 10-06-2022, 11:31 PM
RE: Nonpareil status - teenix - 10-07-2022, 12:24 AM
RE: Nonpareil status - Thomas Klemm - 10-11-2022, 04:02 PM
RE: Nonpareil status - johanw - 10-12-2022, 03:30 PM
RE: Nonpareil status - Mark H. Shin - 10-12-2022, 10:42 PM
RE: Nonpareil status - brouhaha - 10-13-2022, 05:28 PM
HP--91 and HP-19C progress - brouhaha - 10-15-2022, 02:28 AM
RE: Nonpareil status - teenix - 10-15-2022, 03:21 AM
RE: Nonpareil status - brouhaha - 10-15-2022, 04:17 PM
RE: Nonpareil status - PANAMATIK - 10-15-2022, 02:20 PM
RE: Nonpareil status - brouhaha - 10-15-2022, 04:25 PM
RE: Nonpareil status - Thomas Okken - 10-15-2022, 06:11 PM
RE: Nonpareil status - brouhaha - 10-15-2022, 06:33 PM
RE: Nonpareil status - Joe Horn - 10-15-2022, 07:33 PM
RE: Nonpareil status - brouhaha - 10-15-2022, 08:29 PM
RE: Nonpareil status - teenix - 10-16-2022, 05:50 AM
RE: Nonpareil status - brouhaha - 10-16-2022, 08:43 AM
RE: Nonpareil status - teenix - 10-16-2022, 09:56 AM
RE: Nonpareil status - brouhaha - 10-16-2022, 08:41 AM
RE: Nonpareil status - brouhaha - 10-16-2022, 08:07 PM
67/97 Card Reader Controller notes - brouhaha - 10-16-2022 08:36 PM
RE: Nonpareil status - teenix - 10-16-2022, 10:15 PM
RE: Nonpareil status - brouhaha - 10-17-2022, 04:16 PM
RE: Nonpareil status - teenix - 10-18-2022, 07:40 AM
RE: Nonpareil status - teenix - 10-18-2022, 12:30 AM
RE: Nonpareil status - teenix - 10-18-2022, 11:11 PM
RE: Nonpareil status - brouhaha - 10-20-2022, 05:28 AM
RE: Nonpareil status - Mike T. - 10-20-2022, 08:49 PM
RE: Nonpareil status - Thomas Okken - 10-20-2022, 09:00 PM
RE: Nonpareil status - Mark H. Shin - 10-20-2022, 10:53 PM
RE: Nonpareil status - brouhaha - 10-22-2022, 12:04 AM
RE: Nonpareil status - brouhaha - 10-22-2022, 12:09 AM
RE: Nonpareil status - eshazen - 10-23-2022, 07:40 PM
RE: Nonpareil status - brouhaha - 10-24-2022, 05:18 AM
RE: Nonpareil status - eshazen - 10-24-2022, 04:53 PM
RE: Nonpareil status - brouhaha - 10-24-2022, 06:31 PM
RE: Nonpareil status - brouhaha - 10-29-2022, 05:16 AM
RE: Nonpareil status - brouhaha - 11-01-2022, 01:27 AM
RE: Nonpareil status - Mark H. Shin - 11-01-2022, 10:23 AM
RE: Nonpareil status - brouhaha - 11-02-2022, 05:52 AM
97 graphics - brouhaha - 11-04-2022, 05:37 AM
RE: Nonpareil status - brouhaha - 11-07-2022, 08:04 PM
RE: Nonpareil status - brouhaha - 11-16-2022, 06:19 AM
RE: Nonpareil status - Didier Lachieze - 11-16-2022, 06:27 AM
RE: Nonpareil status - brouhaha - 11-16-2022, 06:33 AM
RE: Nonpareil status - rprosperi - 11-16-2022, 02:07 PM
RE: Nonpareil status - brouhaha - 11-16-2022, 05:49 PM
RE: Nonpareil status - Mark H. Shin - 11-19-2022, 04:19 PM
RE: Nonpareil status - brouhaha - 11-20-2022, 09:38 AM
RE: Nonpareil status - Didier Lachieze - 11-20-2022, 03:01 PM
RE: Nonpareil status - Mark H. Shin - 11-20-2022, 10:45 PM
Nonpareil on HiDPI displays - brouhaha - 12-13-2022, 01:24 AM
HP-55 (RE: Nonpareil status) - brouhaha - 12-27-2022, 12:25 AM
RE: Nonpareil status - teenix - 12-27-2022, 03:17 AM
RE: Nonpareil status - brouhaha - 12-27-2022, 04:17 AM
publicity - brouhaha - 01-08-2023, 10:24 PM
RE: Nonpareil status - agarza - 01-09-2023, 05:08 PM
Nonpareil 2, now with SVG! - brouhaha - 10-29-2023, 09:27 AM
RE: Nonpareil status - Mike T. - 11-03-2023, 12:21 AM
RE: Nonpareil status - brouhaha - 11-03-2023, 03:45 AM



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