ACT available
|
04-07-2015, 01:35 PM
(This post was last modified: 04-08-2015 07:55 AM by PANAMATIK.)
Post: #141
|
|||
|
|||
RE: ACT available
(04-07-2015 06:32 AM)Oulan Wrote: Just for curiosity did you plan to read the HP19C rom ? I got a HP-19C in very bad condition, corrosion all inside, like rescued from a sunken sailing boat. I didn't want to buy an expensive one just for doing experiments. Im not sure whether any of the ROM chips will be readable. I will try it when I find the time. Congratulations for your woodstock emulators! If you developed the go29, I want to ask whether you tried to run programs? The published nonpareil 0.79 version does not work correctly if running HP-29C programs with labels. Bernhard That's one small step for a man - one giant leap for mankind. |
|||
04-07-2015, 09:34 PM
Post: #142
|
|||
|
|||
RE: ACT available
(04-07-2015 01:35 PM)PANAMATIK Wrote:(04-07-2015 06:32 AM)Oulan Wrote: Just for curiosity did you plan to read the HP19C rom ? Bernhard, it is interesting to hear of the label search problem with the HP-29C emulator. I also ran into the same problem with an emulator for the HP-34C, that I understand is based on the code from nonpareil. If I ran a program with only two labels, it would work OK, but if more than 2 labels, I'd get an error. That particular emulator is no longer available. It was offered for only a year about 3 years ago. Regards, Bob |
|||
04-08-2015, 01:59 AM
(This post was last modified: 04-08-2015 07:40 AM by PANAMATIK.)
Post: #143
|
|||
|
|||
RE: ACT available
(04-07-2015 09:34 PM)bshoring Wrote: Bernhard, it is interesting to hear of the label search problem with the HP-29C emulator. I also ran into the same problem with an emulator for the HP-34C, that I understand is based on the code from nonpareil. If I ran a program with only two labels, it would work OK, but if more than 2 labels, I'd get an error. That particular emulator is no longer available. It was offered for only a year about 3 years ago. The new ACT for HP-29C has no label search problem, because I modified the emulator. I found that it had nothing to do with one or two labels, it failed if the labels were more than 7 program steps apart. I just wanted to know whether you could solve the problem also in your Go29. Bernhard That's one small step for a man - one giant leap for mankind. |
|||
04-08-2015, 07:00 AM
Post: #144
|
|||
|
|||
RE: ACT available
I want to say "thank you" for the HP-29CE I got in the meanwhile. I still have to find some time for investigating it in depth.
d:-) |
|||
04-08-2015, 07:39 AM
Post: #145
|
|||
|
|||
RE: ACT available
(04-08-2015 07:00 AM)walter b Wrote: I want to say "thank you" for the HP-29CE I got in the meanwhile. I still have to find some time for investigating it in depth. At the moment you are the first and only HP-29CE owner. I will appreciate to get some feedback when you have found some time. Unfortunately I share your situation having to find some time. So don't get into a hurry Bernhard That's one small step for a man - one giant leap for mankind. |
|||
04-08-2015, 10:53 AM
Post: #146
|
|||
|
|||
RE: ACT available
My woodstock cpu emulation does not have this bug ...
Perhaps as i started it with an HP67/97 emulation, it is more robust and without this bug Other woodstock use a smaller subset of full woodstock opcodes. P.S. when I say 'portions from non-pareil' it means that I only look at non-pareil code for some atc-display led behavior a long long long time ago as the cpu behavior is well explained in the various patents. Olivier (04-07-2015 09:34 PM)bshoring Wrote:(04-07-2015 01:35 PM)PANAMATIK Wrote: I got a HP-19C in very bad condition, corrosion all inside, like rescued from a sunken sailing boat. I didn't want to buy an expensive one just for doing experiments. Im not sure whether any of the ROM chip will be readable. I will try it when I find the time. |
|||
04-08-2015, 11:51 AM
Post: #147
|
|||
|
|||
RE: ACT available
(04-08-2015 10:53 AM)Oulan Wrote: My woodstock cpu emulation does not have this bug ... I didn't know, that you wrote your own woodstock ACT emulator independently from Eric Smith's pioneer work "nonpareil". AFAIK the available patents do not reveal all secrets of the ACT instruction set and some research has to be done to get any firmware emulated without errors. I share my fully respect to anybody who has achieved that. Bernhard That's one small step for a man - one giant leap for mankind. |
|||
04-09-2015, 07:06 AM
Post: #148
|
|||
|
|||
RE: ACT available
(04-08-2015 11:51 AM)PANAMATIK Wrote:(04-08-2015 10:53 AM)Oulan Wrote: My woodstock cpu emulation does not have this bug ... I have no idea whether Olivier developed it independently. All of the Woodstock microinstruction-level simulators I've actually disassembled (as well as some Classic- and Nut-series simulators) showed obvious signs of having been derived from Nonpareil, or from Jacques Laporte's code (which itself was partially derived from Nonpariel), but I haven't disassembled any code by Olivier. In general I am dismayed at the number of people that have used Nonpareil-derived code commercially or otherwise in closed-source programs, without either honoring the GPL license terms, or contacting me. On the other hand, there have been several that were done with my permission. The issue with label search on the 19C/29C/67/97 is caused by an obscure corner case of ACT behavior, regarding testing the P register for zero or non-zero immediately after an increment or decrement that wraps. I found it the hard way, and only years later saw an internal HP specification that basically said that the behavior in that situation was undefined. Obviously some very clever programmer at HP (possibly William Egbert) figured out that they could take advantage of the actual behavior of the chip, which was undocumented even within HP. Presumably after they had code that depended on it, they would have revised the specification, because they would have had to ensure that future versions of the ACT chip preserve the same behavior. That someone might reverse-engineer the ACT instruction set and simulate it, and have the 67/97 simulation work correctly without having run into this problem and analyzing it to determine how to fix it to make the label search work correctly, seems *extremely* implausible, because the "obvious" behavior of that instruction in all other instances is contrary to what is needed for label search. IIRC, HP did publish some tiny snippets of Woodstock microcode in a journal article, but not enough to actually determine a non-trivial portion of the instruction set, though enough to tell that the instruction encodings weren't the same as the Classic instruction set. There was an article in PPC Journal that included an analysis of what some HP-67 (or was it -97?) microinstructions did, but there were inaccuracies in the descriptions, and the author had only reverse-engineered it enough to identify specific microinstruction addresses useful for building an interface to an external device, actually in a manner similar to how the output capabilities of the HP-97S work. Aside from the label search problem, the trickiest reverse-engineering I did on the Woodstock family was determining how the PIK (printer interface and keyboard) chip and CRC (card reader controller) chip work. HP provided a fairly complete general description of the PIK in a Journal article, albeit leaving some details for me to discover, but their CRC description was extremely cursory, and it took me quite a while to work out the details of the CRC. |
|||
04-09-2015, 03:58 PM
Post: #149
|
|||
|
|||
RE: ACT available
(04-09-2015 07:06 AM)brouhaha Wrote: That someone might reverse-engineer the ACT instruction set and simulate it, and have the 67/97 simulation work correctly without having run into this problem and analyzing it to determine how to fix it to make the label search work correctly, seems *extremely* implausible, because the "obvious" behavior of that instruction in all other instances is contrary to what is needed for label search. Hello Olivier I would agree to the above statement. I could track down and fix the label search problem only by comparing the original program flow with the emulated program flow with a dedicated ACT recorder/scanner. You could probably have used a sophisticated logic analyzer as well. The more I utter my great respect to you, if you found a working emulation completely by yourself. Could you talk some more about how you developed your programs? Bernhard That's one small step for a man - one giant leap for mankind. |
|||
04-09-2015, 05:14 PM
Post: #150
|
|||
|
|||
RE: ACT available | |||
04-09-2015, 05:16 PM
Post: #151
|
|||
|
|||
RE: ACT available
Hi,
I did not need a logic analyzer, just a de-assembler, a nice emulator (mine for windows at first in 2012), then some time (!!) to look at trace of execution for 'A' key press and understanding why it doesn't work (see windows HP97 emulator). see my own re assembled HP97 rom code for GTO command : Code:
As behavior of p - 1 -> p opcode I just avoid to do it if previous opcode was also p - 1 -> p opcode with a wrap (04-09-2015 03:58 PM)PANAMATIK Wrote:(04-09-2015 07:06 AM)brouhaha Wrote: That someone might reverse-engineer the ACT instruction set and simulate it, and have the 67/97 simulation work correctly without having run into this problem and analyzing it to determine how to fix it to make the label search work correctly, seems *extremely* implausible, because the "obvious" behavior of that instruction in all other instances is contrary to what is needed for label search. |
|||
04-09-2015, 05:57 PM
(This post was last modified: 04-10-2015 07:13 AM by PANAMATIK.)
Post: #152
|
|||
|
|||
RE: ACT available
(04-09-2015 05:16 PM)Oulan Wrote: Hi, Obviously you found the correct behaviour for the emulator by analyzing and understanding the intention of the code. That is indeed the right way to get ahead. And you need time(!!). Congratulations again! Bernhard That's one small step for a man - one giant leap for mankind. |
|||
04-09-2015, 08:58 PM
Post: #153
|
|||
|
|||
RE: ACT available
I saw an auction for a nice looking HP-21 that has only one digit lighting up. I am wondering if this might be a candidate for your ACT or could this more likely be a display problem ?
Bob |
|||
04-10-2015, 07:11 AM
Post: #154
|
|||
|
|||
RE: ACT available
(04-09-2015 08:58 PM)bshoring Wrote: I saw an auction for a nice looking HP-21 that has only one digit lighting up. I am wondering if this might be a candidate for your ACT or could this more likely be a display problem ? 90% I'm going to provide the HP-21E with 100 storage registers, ROM constant collection in the next new ACT firmware revision. Bernhard That's one small step for a man - one giant leap for mankind. |
|||
04-10-2015, 09:38 PM
Post: #155
|
|||
|
|||
RE: ACT available
(04-10-2015 07:11 AM)PANAMATIK Wrote: I'm going to provide the HP-21E with 100 storage registers, ROM constant collection in the next new ACT firmware revision. Any chance you might do the same for the HP-27(E)? I'm just enquiring on behalf of a friend, you understand . . . --- Les [http://www.lesbell.com.au] |
|||
04-11-2015, 12:36 AM
Post: #156
|
|||
|
|||
RE: ACT available
(04-10-2015 09:38 PM)Les Bell Wrote:(04-10-2015 07:11 AM)PANAMATIK Wrote: I'm going to provide the HP-21E with 100 storage registers, ROM constant collection in the next new ACT firmware revision. Yes, this should be possible, my friend! Next firmware revision is also about four times faster!!! I coded most of the ACT machine instructions in hand-carved assembler now. Bernhard That's one small step for a man - one giant leap for mankind. |
|||
04-11-2015, 01:11 AM
Post: #157
|
|||
|
|||
RE: ACT available
(04-11-2015 12:36 AM)PANAMATIK Wrote: Yes, this should be possible, my friend! lol! I was only being a bit cheeky, there! (04-11-2015 12:36 AM)PANAMATIK Wrote: Next firmware revision is also about four times faster!!! I coded most of the ACT machine instructions in hand-carved assembler now. I'm just doing a little research on dead Woodstocks - if this one had some flickering LED's, I would probably be a bit more confident that the problem was just the ACT. I'll be in touch in a day or two. --- Les [http://www.lesbell.com.au] |
|||
04-12-2015, 09:52 AM
Post: #158
|
|||
|
|||
RE: ACT available | |||
04-12-2015, 11:05 PM
Post: #159
|
|||
|
|||
RE: ACT available
(04-12-2015 09:52 AM)pito Wrote: A good starting point to improve the math precision of all that HPs you emulate To improve math precision it would be necessary to change the original HP ROM code of the calculator, which to my knowledge nobody has tried so far. I optimized only the emulator (PIC assembler) code, which gives more speed but doesn't change the mathematical algorithms and precision. What could be the benefit to write a firmware for the ACT processor with higher precision? I think this should be disposed to our modern calculators. Bernhard That's one small step for a man - one giant leap for mankind. |
|||
04-19-2015, 04:34 PM
(This post was last modified: 05-10-2015 07:43 PM by PANAMATIK.)
Post: #160
|
|||
|
|||
RE: ACT available
This weekend was dedicated to the new ACT, giving it another unprecedented feature:
Printing on the HP82240B Infrared printer I started yesterday morning implementing the HP82240 infrared software interface. Today in the morning I made the hardware interface and started oscilloscope measurements. And only some hours ago I got the first printed line on paper. Now, after some more debugging, the HP-25E is printing perfectly the currently displayed X register or the 49 program steps on demand. To implement the correct timing with the ACT was not critical and it meets the "Technical interface Guide" requirements. Also the hardware, a transistor and two resistors can be easily added to the ACT circuit. The infrared range depends on the value of the current limit resistor, according to the Guide 18 Ohm is recommended. You can see in the following image the "Battleships" program from the ACT manual printed on a HP82240B printer. This is the first time ever, that an HP-25 printed its program on paper. Printing can be enabled/disabled by pressing the XY button at power up. If printing is enabled, the HP-25E shows "HP-25E Ir" in the display. Paper Advance is done with g ENTER Print X register is done with f ENTER, while mantissa is shown Print Program is started with g SST in PRGM mode To implement the printer was possible only after I compressed the ACT firmware substantially by replacing C code with assembler routines. I will need some time to fix the new release and you will be informed, if it is ready. For me it was a good weekend. I hope you also enjoy this new feature. Bernhard That's one small step for a man - one giant leap for mankind. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)