Neither the current git repository nor the source code tar file seems to include "ui_qtio.h", required by "Qtnewt/qtio.cpp". Am I overlooking something?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Carl,
those ui_. will be generated during the Buildprocess.
Use the (Qt-)Creator to load the .pro Projetfile and build it inside the IDE or call simple qmake whith the Projectfile as argument to generate these ui_.* and Makefiles.
Last edit: Jürgen Willi Sievers 2019-11-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nice to find a HP41 project newer than the old nonpareil, and with af nice GUI - Thanks!
After som trouble I succeded to compile both release af debug version on fedora30.
The Debug version seems to work (at lease it starts) but the release terminates with an error
"Rom-file 0x9ebef8 can't open for reading." - any ideas.
I hope I'll get som time to look into the project.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Found the rom-file error. If the "release" version is compiled with -DDEBUG the romfilename is chop'ed. I dont know QT enough to say why the filename was printed as a hex-number.
BTW Jürgen: Have you considered adding the Helios printer or HPIL mass-storage til HP41CX. Both are available to nonpareil, but since your simulator har been rewritten in cpp, and
restructured, it might require some work. But it would be realy nice to have dem. I have used the mass-storage as a way to load HP41-programs into the HP41-simulator, since the HP41 program can be added to the mass-storage image using lif-utils. and then accessed from the emulated HP41CX using the mass-storager load functions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you're right this error is an artefact a long time ago as the project
was using different ROM-files for debug and release versions. Sorry,
I've forgotten to describe because I used it only during development.
If you would like to use this feature again then enter cp ~/.HP41_rom
~/.HP41d_rom on a command line. The dependent .HP41d_ram will be created
automatically during first time you run the debug version HP41d.
Afterwards you can modify thise files for test or experimental
Greetings from Germany and with Respect
Jürgen
Am 05.05.20 um 23:19 schrieb Thomas Sonne:
Found the rom-file error. If the "release" version is compiled with -DDEBUG the romfilename is chop'ed. I dont know QT enough to say why the filename was printed as a hex-number.
BTW Jürgen: Have you considered adding the Helios printer or HPIL mass-storage til HP41CX. Both are available to nonpareil, but since your simulator har been rewritten in cpp, and
restructured, it might require some work. But it would be realy nice to have dem. I have used the mass-storage as a way to load HP41-programs into the HP41-simulator, since the HP41 program can be added to the mass-storage image using lif-utils. and then accessed from the emulated HP41CX using the mass-storager load functions.
Found the rom-file error. If the "release" version is compiled with
-DDEBUG the romfilename is chop'ed. I dont know QT enough to say why
the filename was printed as a hex-number.
BTW Jürgen: Have you considered adding the Helios printer or HPIL
mass-storage til HP41CX. Both are available to nonpareil, but since
your simulator har been rewritten in cpp, and
restructured, it might require some work. But it would be realy nice
to have dem. I have used the mass-storage as a way to load
HP41-programs into the HP41-simulator, since the HP41 program can be
added to the mass-storage image using lif-utils. and then accessed
from the emulated HP41CX using the mass-storager load functions.
Played a little with the simulator and fixed 2 minor problems:
1) The comma and decimal point handling har wrong. Eg "goto .." shows "goto ,,". It is fixed by moving the segment R in qtio.cpp line 195 from case 1 to case 3. This allso fix the wrong display og ".END. REG xxxx" when entering prgm mode, and flag 28 now works correctly.
2) My ALPHA annuitation was never showed. Turned out to be the font-size calculation that choosed at font to big, so ALPHA could not fit into the display. Corrected it be allways subtracted 1 from fontsize in qtio.cpp line 73. Guess it is due to a rounding error.
I have found 2 other errors, that I havn't had the time to trace.
A) When turning off the emulator and turn it on again, the display is not activated until I press another key.
B) A harder one. If I create a small program (just 3 lines) and try to save it in the extened menory using the "SAVEP" funtion, the emulator stop/crashes. The program is not terminating, but nothing works and ctrl C is the only way out.
/Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, how do you build on a modern Linux distro such as ubuntu? I tried buildin both Qtnewt/qtnewt.pro and NewT/NewT.pro with qtcreator, and neither created an executable file.
Would it really have been that much trouble to include build instructions in the readme file?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I registered so I can also comment.
It would be nice to have more information on how to build this with modern distros like Fedora 30 and newer... I also figured that much to install Qt Creator but none of the folders/projects resulted in a binary i could actually run with success
It is too bad because i think its a great HP 41CX simulator and it would be a delight to use but i think it is not made to novice users or people not familiar with software development to figure out how to put the pieces together.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Like others it took me a while to figure out I needed to install QT Creator to compile this. But I'm also struggling.
I did manage to build an executable file for qtnewtd, but when executing it gives the error: "error while loading shared libraries: libNewTd.so.1: cannot open shared object file: No such file or directory" and I'm also lost as never worked with QT projects.
There is maybe no compiled executable that would run?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Running well now. Only two things I notice:
1. No sound - but maybe not intended.
2. The status flags don't show at bottom of display, although for USER I can sort of make out a what looks like a faded inverted colour text ie. pale white letters, but not really for others ie. flags, PRGM, ALPHA, etc. Although the buttons and functions and flags to operate.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't reproduce the missing status display. On my system it looks
proper. Maybe your system uses a different color-palette. Or does you
mean the unselected (out greyed) calculator window.
Sincerely Jürgen
Am 26.11.21 um 14:51 schrieb Danie:
Running well now. Only two things I notice:
1. No sound - but maybe not intended.
2. The status flags don't show at bottom of display, although for USER
I can sort of make out a what looks like a faded inverted colour text
ie. pale white letters, but not really for others ie. flags, PRGM,
ALPHA, etc. Although the buttons and functions and flags to operate.
No it's that status area at bottom of the calculator display. It seems to drive from the HP41TextDisplay.cpp code lines 337 to 357. I don't find any window settings to change colour on my OS for this window (but do have Compositor on for KDE Plasma so maybe that is a point).
The main display segment characters are perfect contrast, as is the rest of the calculator window with buttons. I'll attach a screenshot where you can just vaguely make out the 'USER' status, but can't see anything for the others. Maybe there are resource files missing as that directory does not contain any files file these status messages, just the display segments and main layout.
Not sure if there are other runtime arguments, maybe to try.
OK sorted out. It was to do with the theming as you suggested. I went into the Qt5 Configuration Tool, and changed the Palette from Default to Custom airy colour scheme, and all the status text shows up nice and dark now. This adjusts the Qt5 window themes and does not affect the global OS themes.
Thanks for your help, and I hope this helps others as well.
Last edit: Danie 2021-11-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No it's that status area at bottom of the calculator display. It
seems to drive from the HP41TextDisplay.cpp code lines 337 to 357. I
don't find any window settings to change colour on my OS for this
window (but do have Compositor on for KDE Plasma so maybe that is a
point).
The main display segment characters are perfect contrast, as is
the rest of the calculator window with buttons. I'll attach a
screenshot where you can just vaguely make out the 'USER' status,
but can't see anything for the others. Maybe there are resource
files missing as that directory does not contain any files file
these status messages, just the display segments and main layout.
Not sure if there are other runtime arguments, maybe to try.
I can't reproduce the missing status display. On my system it looks
proper. Maybe your system uses a different color-palette. Or does you
mean the unselected (out greyed) calculator window.
Sincerely Jürgen
Am 26.11.21 um 14:51 schrieb Danie:
Running well now. Only two things I notice:
1. No sound - but maybe not intended.
2. The status flags don't show at bottom of display, although for USER
I can sort of make out a what looks like a faded inverted colour text
ie. pale white letters, but not really for others ie. flags, PRGM,
ALPHA, etc. Although the buttons and functions and flags to operate.
Published V 1.02.
Runs stable and error-less (Hopefully)
Added two Keypad-Templates. White-cover and Time-Module
Add Zip-file for download
Add an screencast
Now the timer-module code is included by the rom-file but not usable because the phinea code is missing it's functionality.
Add new (HP41CX) rom files.
Remember to create your rom-file ~/.qtnewt_rom be using
cat NUTCX.HEX XFUNS3-2D.HEX TIME-2C.HEX XFUNS5-2D.HEX > ~/.qtnewt_rom
Where to download the last version of HP41-CX emulator?
Neither the current git repository nor the source code tar file seems to include "ui_qtio.h", required by "Qtnewt/qtio.cpp". Am I overlooking something?
Hi Carl,
those ui_. will be generated during the Buildprocess.
Use the (Qt-)Creator to load the .pro Projetfile and build it inside the IDE or call simple qmake whith the Projectfile as argument to generate these ui_.* and Makefiles.
Last edit: Jürgen Willi Sievers 2019-11-09
Nice to find a HP41 project newer than the old nonpareil, and with af nice GUI - Thanks!
After som trouble I succeded to compile both release af debug version on fedora30.
The Debug version seems to work (at lease it starts) but the release terminates with an error
"Rom-file 0x9ebef8 can't open for reading." - any ideas.
I hope I'll get som time to look into the project.
Found the rom-file error. If the "release" version is compiled with -DDEBUG the romfilename is chop'ed. I dont know QT enough to say why the filename was printed as a hex-number.
BTW Jürgen: Have you considered adding the Helios printer or HPIL mass-storage til HP41CX. Both are available to nonpareil, but since your simulator har been rewritten in cpp, and
restructured, it might require some work. But it would be realy nice to have dem. I have used the mass-storage as a way to load HP41-programs into the HP41-simulator, since the HP41 program can be added to the mass-storage image using lif-utils. and then accessed from the emulated HP41CX using the mass-storager load functions.
Hi Thomas,
thank you very much for that hint.
you're right this error is an artefact a long time ago as the project
was using different ROM-files for debug and release versions. Sorry,
I've forgotten to describe because I used it only during development.
If you would like to use this feature again then enter cp ~/.HP41_rom
~/.HP41d_rom on a command line. The dependent .HP41d_ram will be created
automatically during first time you run the debug version HP41d.
Afterwards you can modify thise files for test or experimental
Greetings from Germany and with Respect
Jürgen
Am 05.05.20 um 23:19 schrieb Thomas Sonne:
HI
Played a little with the simulator and fixed 2 minor problems:
1) The comma and decimal point handling har wrong. Eg "goto .." shows "goto ,,". It is fixed by moving the segment R in qtio.cpp line 195 from case 1 to case 3. This allso fix the wrong display og ".END. REG xxxx" when entering prgm mode, and flag 28 now works correctly.
2) My ALPHA annuitation was never showed. Turned out to be the font-size calculation that choosed at font to big, so ALPHA could not fit into the display. Corrected it be allways subtracted 1 from fontsize in qtio.cpp line 73. Guess it is due to a rounding error.
I have found 2 other errors, that I havn't had the time to trace.
A) When turning off the emulator and turn it on again, the display is not activated until I press another key.
B) A harder one. If I create a small program (just 3 lines) and try to save it in the extened menory using the "SAVEP" funtion, the emulator stop/crashes. The program is not terminating, but nothing works and ctrl C is the only way out.
/Thomas
OK, how do you build on a modern Linux distro such as ubuntu? I tried buildin both Qtnewt/qtnewt.pro and NewT/NewT.pro with qtcreator, and neither created an executable file.
Would it really have been that much trouble to include build instructions in the readme file?
I registered so I can also comment.
It would be nice to have more information on how to build this with modern distros like Fedora 30 and newer... I also figured that much to install Qt Creator but none of the folders/projects resulted in a binary i could actually run with success
It is too bad because i think its a great HP 41CX simulator and it would be a delight to use but i think it is not made to novice users or people not familiar with software development to figure out how to put the pieces together.
Like others it took me a while to figure out I needed to install QT Creator to compile this. But I'm also struggling.
I did manage to build an executable file for qtnewtd, but when executing it gives the error: "error while loading shared libraries: libNewTd.so.1: cannot open shared object file: No such file or directory" and I'm also lost as never worked with QT projects.
There is maybe no compiled executable that would run?
See new added file doc/Bauanleitung.pdf
Thanks very much. That really helped. The short of it was I created a small script file as follows to set it and execute:
Running well now. Only two things I notice:
1. No sound - but maybe not intended.
2. The status flags don't show at bottom of display, although for USER I can sort of make out a what looks like a faded inverted colour text ie. pale white letters, but not really for others ie. flags, PRGM, ALPHA, etc. Although the buttons and functions and flags to operate.
Hi Danie.
I can't reproduce the missing status display. On my system it looks
proper. Maybe your system uses a different color-palette. Or does you
mean the unselected (out greyed) calculator window.
Sincerely Jürgen
Am 26.11.21 um 14:51 schrieb Danie:
No it's that status area at bottom of the calculator display. It seems to drive from the HP41TextDisplay.cpp code lines 337 to 357. I don't find any window settings to change colour on my OS for this window (but do have Compositor on for KDE Plasma so maybe that is a point).
The main display segment characters are perfect contrast, as is the rest of the calculator window with buttons. I'll attach a screenshot where you can just vaguely make out the 'USER' status, but can't see anything for the others. Maybe there are resource files missing as that directory does not contain any files file these status messages, just the display segments and main layout.
Not sure if there are other runtime arguments, maybe to try.
OK sorted out. It was to do with the theming as you suggested. I went into the Qt5 Configuration Tool, and changed the Palette from Default to Custom airy colour scheme, and all the status text shows up nice and dark now. This adjusts the Qt5 window themes and does not affect the global OS themes.
Thanks for your help, and I hope this helps others as well.
Last edit: Danie 2021-11-26
Where to download HP41CX emulator?
Citando Danie danie_99@users.sourceforge.net:
Ligações:
[1]
https://sourceforge.net/p/hp41cx/wiki/_discuss/thread/7e6c7f12/08ff/25e9/6882/d219/attachment/Screenshot_20211126_203015.jpg
Where can I download the latest version of the HP41Cx emulator?
Regards
Citando Jürgen Willi Sievers notwendig@users.sourceforge.net:
Latest version still appears to be here at https://sourceforge.net/projects/hp41cx/files/ - that is version I'm using
Where to download HP41CX emulator?
Citando Danie danie_99@users.sourceforge.net:
Danie
on my system it looks like shown on the picture attached .
Yes mine is now the same, since setting the Qt5 Config Settings for theme. All looks good, and this one starts almost instantly.