Post Reply 
HP41C with Rp Pico attached
07-13-2023, 07:16 AM
Post: #27
RE: HP41C with Rp Pico attached
Hi again,

Some progress with the Tiny Pico and the 41 display.

I have now managed to emulate the display*, with annunciators and all.
I have not done a bitmap of the annunciators, but shortened the text (US=USER, P=PRGM etc).
During development I had some problems with some display-commands that added garbage to the display, until I realized that some constants (ie from a "LDI CON" instruction) were treated as commands instead of data.
So, I had to add a "disassembler" as well to have correct instruction decoding, so now I can trace the execution in "realtime" too Wink

(* Just noticed that the rightmost punctation is missing in the display ... need to fix that!)

Code:
- DCE:0 ADDR:009F (000237) INST=0266 (1146) PA=01 (001) DATA=0000000224048001 - C=C-1  S&X
- DCE:0 ADDR:00A0 (000240) INST=03EB (1753) PA=01 (001) DATA=0000000224048001 - JC -03 [009D]
- DCE:0 ADDR:009D (000235) INST=03C8 (1710) PA=00 (000) DATA=0000000224048000 - CLRKEY
- DCE:0 ADDR:009E (000236) INST=03CC (1714) PA=00 (000) DATA=0000000224048000 - ?KEY
- DCE:0 ADDR:009F (000237) INST=0266 (1146) PA=00 (000) DATA=0000000224048000 - C=C-1  S&X
- DCE:0 ADDR:00A0 (000240) INST=03EB (1753) PA=00 (000) DATA=0000000224048000 - JC -03 [009D]
- DCE:0 ADDR:00A1 (000241) INST=03E0 (1740) PA=FF (377) DATA=0000000224048FFF - RTN
- DCE:0 ADDR:11D1 (010721) INST=0241 (1101) PA=FF (377) DATA=0000000224048FFF - -->
- DCE:0 ADDR:11D2 (010722) INST=0006 (0006) PA=FF (377) DATA=0000000224048FFF - ?NC GO 0190
- DCE:0 ADDR:0190 (000620) INST=03D9 (1731) PA=FF (377) DATA=0000000224048FFF - -->
- DCE:0 ADDR:0191 (000621) INST=001C (0034) PA=FF (377) DATA=0000000224048FFF - ?NC XQ 07F6
- DCE:0 ADDR:07F6 (003766) INST=0130 (0460) PA=FF (377) DATA=0000000224048FFF - LDI S&X
- DCE:0 ADDR:07F7 (003767) INST=0010 (0020) PA=FF (377) DATA=0000000224048FFF - CON: 3FF (1777)
- DCE:0 ADDR:07F8 (003770) INST=0270 (1160) PA=FF (377) DATA=0000000224048FFF - RAM SLCT (PA=FF)
- DCE:0 ADDR:07F9 (003771) INST=0130 (0460) PA=10 (020) DATA=0000000224048010 - LDI S&X
- DCE:0 ADDR:07FA (003772) INST=00FD (0375) PA=10 (020) DATA=0000000224048010 - CON: 010 (0020)
- DCE:0 ADDR:07FB (003773) INST=03F0 (1760) PA=10 (020) DATA=0000000224048010 - PRPH SLCT (PA=10)
- DCE:0 ADDR:07FC (003774) INST=03E0 (1740) PA=FD (375) DATA=00000002240480FD - RTN
- DCE:1 ADDR:0192 (000622) INST=0060 (0140) PA=FD (375) DATA=00000002240480FD - POWOFF
- DCE:1 ADDR:0193 (000623) INST=0000 (0000) PA=FD (375) DATA=00000002240480FD - NOP

Check the video running a display test program: https://photos.app.goo.gl/iZWLb3JBPBUkazYD9
(Sorry for the frequency problem - the black stripe on the display...)

I have some drivers on the way (thanks Andrew Wink), so next will be to experiment with module emulation as well ...

Cheers,
Thomas

[35/45/55/65/67/97/80 21/25/29C 31E/32E/33E|C/34C/38E 41C|CV|CX 71B 10C/11C/12C/15C|CE/16C 32S|SII/42S 28C|S 48GX/49G/50G 35S 41X]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP41C with Rp Pico attached - blackjetrock - 05-31-2023, 06:27 AM
RE: HP41C with Rp Pico attached - ThomasF - 05-31-2023, 08:01 AM
RE: HP41C with Rp Pico attached - ThomasF - 06-01-2023, 05:53 AM
RE: HP41C with Rp Pico attached - ThomasF - 06-01-2023, 02:22 PM
RE: HP41C with Rp Pico attached - ThomasF - 06-22-2023, 11:31 AM
RE: HP41C with Rp Pico attached - ThomasF - 06-22-2023, 01:10 PM
RE: HP41C with Rp Pico attached - ThomasF - 06-22-2023, 08:13 PM
RE: HP41C with Rp Pico attached - ThomasF - 07-06-2023, 05:00 PM
RE: HP41C with Rp Pico attached - ThomasF - 07-06-2023, 06:41 PM
RE: HP41C with Rp Pico attached - LEDfan - 07-08-2023, 07:57 PM
RE: HP41C with Rp Pico attached - ThomasF - 07-13-2023 07:16 AM
RE: HP41C with Rp Pico attached - ThomasF - 07-13-2023, 11:19 AM
RE: HP41C with Rp Pico attached - ThomasF - 07-25-2023, 03:07 PM
RE: HP41C with Rp Pico attached - ThomasF - 07-25-2023, 03:18 PM
RE: HP41C with Rp Pico attached - ThomasF - 07-26-2023, 11:45 AM
RE: HP41C with Rp Pico attached - ThomasF - 09-07-2023, 06:20 AM
RE: HP41C with Rp Pico attached - ThomasF - 09-07-2023, 01:48 PM
RE: HP41C with Rp Pico attached - ThomasF - 09-08-2023, 06:27 AM
RE: HP41C with Rp Pico attached - Tinue - 12-02-2023, 10:25 AM
RE: HP41C with Rp Pico attached - Tinue - 12-02-2023, 11:26 AM
RE: HP41C with Rp Pico attached - Tinue - 12-02-2023, 01:15 PM
RE: HP41C with Rp Pico attached - brouhaha - 12-02-2023, 05:25 PM
RE: HP41C with Rp Pico attached - ThomasF - 12-05-2023, 03:05 PM
RE: HP41C with Rp Pico attached - PeterP - 02-22-2024, 09:23 PM
RE: HP41C with Rp Pico attached - floppy - 03-15-2024, 11:16 AM
RE: HP41C with Rp Pico attached - brouhaha - 08-07-2024, 04:24 AM



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