HP-41C printer simulation - output format?



#2

Now that I've got the 41CX working correctly (AFAIK) in Nonpareil, I've been thinking about simulating the 82143A printer (or maybe 82162A or 82440A/B), and I wonder if anyone has thoughts on suitable output formats.

The first thing that came to mind was to just display a scrollable output tape in a window, as a graphic bitmap 168 pixels wide (perhaps with a double-size option). That's fine for display, but if someone wants to cut text from it, or save it as text, should it just drop the graphic columns? Perhaps "Save As" should allow selection of text-only or PNG graphics?

Should text mode do any sort of translation of non-ASCII characters? I could convert "funny" characters to some kind of escape sequences, or use Unicode characters with UTF-8 encoding.


#3

Hi, Eric;

what about saving the output straight to a single ASCII file that is thus read to compose the scrollable window? This way you'd have both. Everytime a printout is performed and the standard file exists (hp41out.txt, maybe?) the program asks for a new name or overwrite the existing file. Would that be difficult?

As for what you've done, congrats! Nonpareil is a great achievement.

Best regards.

Luiz (Brazil)


#4

But how would the graphics be represented in the ASCII file? That and the encoding for the 41's non-ASCII characters are the big questions.

I probably should be working on the Windows version rather than the printer support. But adding new features is more fun.


#5

There are too many HP-41 simulators for Windows already, Eric. My vote is for you to keep working on the only (AFAIK) Linux/Posix HP-41 simulator. (Oh yeah, and all those other calcs as well. 8)

I've just received my PC HP-IL interface from Christoph Klug. My plan is to get it working under DOS with EMU41 on an old Compaq 386 box. From there, I intend to write a Linux driver, probably starting with 2.6, then backporting to 2.4. I had planned to try to get EMU41's virtual HP-IL devices working with this driver by using DOSEMU and FreeDOS. But it would be cool if there were also a native 41 emulator that could speak HP-IL. I imagine it might be a lot of work, but who needs Windows anyway? 8)


#6

As Nonpareil is very much more than "yet another 41 emulator", please do give us (mere miserable, non-linux-wizards) a chance!

With shame, I admit I cannot follow the "cygwin + scons + xauthority + subversion + kml + etc + etc" path.

Of course, all said with due respect, admiration for an impressive research work and, hence, with my hat off.


#7

Absolutely d'accord!!! Did you read the story, how Eric got the ROM images? A story of success! That his Nonpareil is a "do-all-classics" is his decision I do have to respect. Christoph Giesselink offers a different program for every HW platform, Rusty Wagner's vTI is a "do-all-TIs" (but I know nothing about TI's HW) -- it's just a decission of the programmer. I like to emphasize on the fact that they all offer their great work for free! So I to restrain myself from any critic _how_ they offer their work.

One word about Cygwin: I do not like this "cygwin + scons + xauthority + subversion + ..." either. I just use Cygwin for other reasons and installed it with a cookbook recipe. No idea about the Dos and Donts. So I apologize for my beginner's questions about Cygwin in a HP-calculator forum. But ("Never stop asking" - Einstein) I'll continue:

With Nonpareil-0.71 I get a new error: "pngtopnm: not found"
Sorry for asking, TIA for any hint.

Ciao.....Mike

Edited: 13 June 2005, 5:46 a.m.


#8

Well, sorry again, had no NetPBM yet. With it still same error - but typing in the command works(!) ...

Ciao.....Mike

#9

Don't be ashamed of having trouble with that big, ugly layer of faux-linux on top of Windows. It's a hairball and a mess. That certainly isn't Eric's fault of course. Cygwin is frequently the only way to get the job done if you want to do anything remotely like POSIX on Windows. It isn't trouble free though, by any means. And if you layer the complexity of a build system, with all it's components, that isn't a standard part of Cygwin, on top of the complexities Cygwin brings on its own, then you have somethig even very astute users are going to struggle with. There's no shame attached at all.

I shouldn't have suggested that Nonpareil has no value among the field of HP calculator emulators on Windows. That clearly isn't true, and it wasn't my intended point. The real point was that there are no other HP41 emulators for Linux besides Nonpareil, as far as I know. I wanted to raise my hand to say that I appreciate Eric's work for that reason, among others. I also wanted to suggest that work I plan to carry out on Linux could have applicability to Nonpareil.

Clearly there's a lot of demand for Nonpareil on Windows, and that's fine. But I'd like to add my vote of support for the Linux version, while we're on the topic.


#10

D'accord once more! A Sharp Zaurus user ask me every time we meet about an HP41-emulator for Linux, for WinXX and WinCE there would be enough around. I showed him Free42 and Nonpareil. I'll ask him at the next meeting if he is satisfied now. BTW - it seems my NutEm was up to now the only 41 on a IBM host (and only one who uses it <VBG>). With Linux on zVM Nonpareil could work there too, so Eric is a step ahead of me (no: several steps!).

Ciao.....Mike


Possibly Related Threads...
Thread Author Replies Views Last Post
  Prime: how to detect date format giancarlo 1 497 12-02-2013, 11:21 AM
Last Post: Michael de Estrada
  HP 50g - displaying result in engineering format Sean Freeman 10 1,147 11-24-2013, 05:44 AM
Last Post: C.Ret
  HP-70 Simulation for iPhone Willy R. Kunz 2 537 11-17-2013, 07:12 AM
Last Post: Namir
  HP PRIME: Fixed 4 number format 0.001000 Joseph Ec 18 1,832 11-07-2013, 11:51 AM
Last Post: Geoff Quickfall
  PRIME: re-format the flash drive to recover the operating system Harold A Climer 2 560 11-06-2013, 12:22 AM
Last Post: Michael de Estrada
  File Format: hpprgm Thomas Chrapkiewicz 6 976 10-30-2013, 09:32 PM
Last Post: Thomas Chrapkiewicz
  Question about Simulation Namir 7 828 09-12-2013, 08:02 PM
Last Post: Namir
  go71b 'lexs' or 'raws' file format? Christoph Giesselink 2 518 08-21-2013, 02:53 AM
Last Post: Christoph Giesselink
  HP 15C LE, Program Display Format Control Uli 4 750 01-20-2013, 01:22 AM
Last Post: Ethan Conner
  HP 49G print format - Solved Olivier De Smet 0 283 09-08-2012, 11:03 AM
Last Post: Olivier De Smet

Forum Jump: