Post Reply 
Nonparail ROM question
09-11-2015, 12:14 PM (This post was last modified: 09-11-2015 12:24 PM by Harald.)
Post: #1
Nonparail ROM question
I have tried to run the 29c ROM from PANAMTIKs website in nonparail version 0.77 (for windows). But I seem to have to little understanding of how nonpareil works.
I thought't I'd simply use the HP25 KML file and rename it 29.kml. Then create an 29.obj file from the rom dump. But all I got was weird behaviour.
The next idea was to replace the contents of the 25.obj file with the contenst of the 21.obj file to see if there was more to it then just putting the ROM in the right place. And this turned out to be true, as this didn't work either. So what am I missing?

Cheers,
Harald

Edit: I just noticed that not only the rom image is specified in the kml file, but also a "model" is specified. I suspect this is where the problem is.
Find all posts by this user
Quote this message in a reply
09-11-2015, 12:40 PM (This post was last modified: 09-11-2015 04:41 PM by Harald.)
Post: #2
RE: Nonparail ROM question
Ahhh, one needs to download the sources and look at them Smile

"model" specifies the architecture, and probably most importantly the RAM size.

And looking at the source also tels you, that if you had named the model 29C, everything would have worked straight away.

Now why is the 29c rom not included with nonpareil? Are there any issues that need solving?

Just in case anyone else wants to try, here are the 29C specific files:
http://www.file-upload.net/download-1090...C.zip.html

The 29C picture came from http://www.hpmuseum.org and the ROM from http://www.panamatik.de. I hope it is OK that I have included both in the ZIP file.
Find all posts by this user
Quote this message in a reply
09-12-2015, 10:43 AM
Post: #3
RE: Nonparail ROM question
(09-11-2015 12:40 PM)Harald Wrote:  Now why is the 29c rom not included with nonpareil? Are there any issues that need solving?

Just in case anyone else wants to try, here are the 29C specific files:
http://www.file-upload.net/download-1090...C.zip.html

The 29C picture came from http://www.hpmuseum.org and the ROM from http://www.panamatik.de. I hope it is OK that I have included both in the ZIP file.

The Nonpareil emulator does not run the HP-29C code correctly, because of a weird behaviour of the inc p, dec p, test p instruction. Perhaps this was the reason why the 29C ROM was never included. I extracted the HP-29C ROM by myself and found how to solve the issue.

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
09-12-2015, 03:14 PM
Post: #4
RE: Nonparail ROM question
(09-12-2015 10:43 AM)PANAMATIK Wrote:  The Nonpareil emulator does not run the HP-29C code correctly, because of a weird behaviour of the inc p, dec p, test p instruction. Perhaps this was the reason why the 29C ROM was never included. I extracted the HP-29C ROM by myself and found how to solve the issue.

Bernhard

Oh, Ok, in that case my attempt to get the 29c working only seems to have worked. Does the same apply for the 27?
Maybe Eric will provide a new version of nonpareil some time.

Cheers,
Harald
Find all posts by this user
Quote this message in a reply
09-12-2015, 04:22 PM
Post: #5
RE: Nonparail ROM question
(09-12-2015 03:14 PM)Harald Wrote:  
(09-12-2015 10:43 AM)PANAMATIK Wrote:  The Nonpareil emulator does not run the HP-29C code correctly, because of a weird behaviour of the inc p, dec p, test p instruction. Perhaps this was the reason why the 29C ROM was never included. I extracted the HP-29C ROM by myself and found how to solve the issue.

Bernhard

Oh, Ok, in that case my attempt to get the 29c working only seems to have worked. Does the same apply for the 27?
Maybe Eric will provide a new version of nonpareil some time.

Cheers,
Harald

The HP-29C will work in RUN mode with nonpareil, but cannot run programs containing GTO or GSB instructions. Same applies to HP-34C.

The HP-27 as a non programmable will work fine with nonpareil.

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
09-12-2015, 05:21 PM (This post was last modified: 09-12-2015 05:48 PM by fhub.)
Post: #6
RE: Nonparail ROM question
(09-12-2015 04:22 PM)PANAMATIK Wrote:  The HP-29C will work in RUN mode with nonpareil, but cannot run programs containing GTO or GSB instructions.
And even worse in RUN mode: if you execute GTO or GSB with a nonexisting label/number, then the calculator is completely dead (only a reset can revive it).
Quote:The HP-27 as a non programmable will work fine with nonpareil.
Since there are still a few other disassembly listings on your site (22, 27, 29c, 31e and 33e), which are not implemented in the Nonpareil emulator, I've now created working files of these 5 HPs for Nonpareil - if anyone is interested, here's the package:
http://rghost.net/8xPdxN4zk
The 29c.png is from Harald, and the 33e uses the 33c.png in Nonpareil.

Franz
Visit this user's website Find all posts by this user
Quote this message in a reply
09-13-2015, 10:35 PM
Post: #7
RE: Nonparail ROM question
(09-12-2015 04:22 PM)PANAMATIK Wrote:  The HP-29C will work in RUN mode with nonpareil, but cannot run programs containing GTO or GSB instructions. Same applies to HP-34C.

Bernhard

The 34c ROM is included in the nonpareil package though. So maybe Eric simply didn't have a 29C to dump the rom.
Find all posts by this user
Quote this message in a reply
09-14-2015, 05:48 PM
Post: #8
RE: Nonparail ROM question
(09-13-2015 10:35 PM)Harald Wrote:  
(09-12-2015 04:22 PM)PANAMATIK Wrote:  The HP-29C will work in RUN mode with nonpareil, but cannot run programs containing GTO or GSB instructions. Same applies to HP-34C.

Bernhard

The 34c ROM is included in the nonpareil package though. So maybe Eric simply didn't have a 29C to dump the rom.

Eric's preferred method for getting the ROM dump was invoking the calculators selftest, which reads all ROM addresses subsequently to calculate the checksum, and recording the opcodes with a logic analyzer. Unfortunately the HP-29C didn't have a selftest. But I remember he mentioned to me that he had dumped all woodstocks, because he also used more invasive methods to get the ROM codes.

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 




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