The following warnings occurred:
Warning [2] Undefined array key 131530 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131531 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131535 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131663 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131680 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131688 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131758 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131802 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131805 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131806 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131862 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131950 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131953 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131806 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131953 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 131805 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





Emu48PPC display resolution



#2

Hello together,

we all know that standard Windows PDA's have the QVGA resolution of 240x320 pixel. Emulating the HP48 with its 131 pixel width display has the problem that we can show the display only with Zoom 1 in portrait mode, because with Zoom 2 the display is getting too large (2 * 131 = 262 > 240 !!). The old Emu48CE had the possibilty using fraction zoom factors by the use of the command ZoomDiv. I added this command a while ago to Emu48PPC but I never found a KML script using this command. So I made a KML script testing a HP48GX with zoom factor 1.5.

I want to hear your opinion about the zoom factor 1.5. Left KML is using the standard Zoom 1 mode, right KML using a Zoom 1.5 mode.

The display font on the right is quite ugly because of the limited display resolution of the PDA. Which KML script do you prefer for working with?

On your reaction I will decide to add the script and maybe further ones to my next Emu48PPC distribution or not. At the moment I personally tend to finish the experiment and don't add them, IMHO the display of the right one is too ugly.

Cheers

Christoph

Edited: 29 Jan 2008, 2:40 p.m. after one or more responses were posted


#3

I don't have a PDA running any variant of Windows, but if I did, I think I'd want a landscape-orientation interface. If you don't already have it, perhaps addition to the fractional display zoom feature you could add a rotate feature.

All of my PDAs are running either PalmOS (Treo 650, Abacus watch) or Linux (Zaurus 5500, Nokia 770, Nokia N800, HP Jornada X25). I'm not holding my breath for anyone to port Emu48 to Linux, though people have ported my Nonpareil simulator to the Nokia.


#4

Hello Eric,

this question is only about portrait mode. Emu48PPC has the ability to rotate the screen 90 degree clock or anti clock wise for landscape mode and then using the Zoom 2 factor.

But IMHO with Zoom 2 diplay mode the keys of the virtual keyboard are getting very small and further I personally have problems with the non standard keyboard layout.

Christoph


#5

Christoph,

I agree that the fractional scale looks terrible, but IMHO it's better to leave the capability in if it's not too difficult. It's probably enough to just document it in the KML spec. I wouldn't bother including any scripts that actually use it in your distribution.

However, I personally prefer zoom 2 in spite of the tiny, often mixed up buttons. So I think it's best to have as many display options as possible to accomodate different tastes, within reason of course.


#6

I think there is a way to improve legibility vastly: Implement anti aliasing.

Use a virtual resolution which is double (or more) of the physical display resolution of your PPC device (in each direction). Then use the mean of four neighboring virtual pixels to compute the gray value of the physical display pixel. This should improve the legibility of small key legends as well. The arithmetic mean is probably not the best interpolation method, but this has to be tested.

Marcus


#7

Interpolation is great for removing "jaggies" when you have enough pixels to work with, but when there aren't, it just results in a grey smear. That's what I think would happen in this case, though perhaps someone can prove me wrong.


#8

I tried it with the Gimp on my Mac:

I picked a screenshot of the undistorted display area and upscaled it by a factor of 3 whithout interpolation.

The left half of the picture shows the result after scaling the big picture down to 50% with linear interpolation, the right half without.

The left version is much easier to my eyes then the right one.


#9

Looks very nice, but there's one big problem. The necessary command SetStretchBltMode() for BILINEAR stretching is added since Win CE5.0. So the also supported platforms "Pocket PC 2002" and "Windows Mobile 2003 (SE)" will not working any more. Only solution is making the linear interpolation by myself.

This isn't really a trivial task, so this is something for a much later version. But when somebody want to add this to Emu48PCC, the Emu48 sources are under the GPL and can be found on my homepage. :)

Christoph


#10

Couldn't you just call SetStretchBltMode() only if the Wince version is 5 or newer?

#11

A simple 3:2 interpolation scheme could be the following:

P0 | P1           Q0 |Q01| Q1
---+--- becomes ---+---+---
P2 | P3 Q02|<Q>|Q13
---+---+---
Q2 |Q23| Q3
Qi = Pi
Qij = (Pi+Pj)/2
<Q> = (P0+P1+P2+P3)/4
You get levels of 0, 25%, 50%, 75% and 100%.

This shouldn't be too hard to implement. It might be worth fiddeling with the true intensities but the simple approch will be a good starting point.


#12

Hello Marcus,

I think your solution

P0 | P1           Q0 |Q01| Q1
---+--- becomes ---+---+---
P2 | P3 Q02|<Q>|Q13
---+---+---
Q2 |Q23| Q3
Qi = Pi
Qij = (Pi+Pj)/2
<Q> = (P0+P1+P2+P3)/4

will generate IMHO a no satisfactory result.

Let's have look what happen with more than two pixels

P0 | P1 | P2 | P3           Q0 |Q01|Q1 |Q2 |Q23| Q3
---+----+----+--- becomes ---+---+---+---+---+---
P4 | P5 | P6 | P7 Q04|<Q>|Q15|Q26|<Q>|Q37
---+---+---+---+---+---
Q4 |Q45|Q5 |Q6 |Q67| Q7
Qi = Pi
Qij = (Pi+Pj)/2

There no transmission pixel between the Q1 and Q2 pixel. On the linear interpolation method P1 and P2 will be influenced by every neighbor with a resulting Q1' and Q2'.

Futhermore Emu48PPC use a more general approach with the two KML commands "Zoom" and "ZoomDiv". If I want to have a zoom factor for example of 1.75 the fraction is '7/4' resulting the "Zoom 7" and "ZoomDiv 4" settings.

Christoph


#13

Christoph, I don't think you want to interpolate each pixel! Think of an integer zoom factor: Each pixel depends on exactly one source pixel. This is the sharpest display you can get.

Regarding generic zoom and zoomdiv factors: This can be taken literally by the software: reserve a pixel area with dimensions multiplied by zoom and draw in this area without interpolation. Then scale down the result by zoomdiv and interpolate by averaging the pixel values in blocks of zoomdiv^2 pixels.

#14

I'm impressed. I didn't think it would look anywhere near that good.

Nonpareil already uses antialiasing for the display, but it doesn't yet simulate any models that use a dot matrix display, so I hadn't had occasion to try to do this.


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP Prime should have higher resolution screen LHH 5 2,055 04-25-2013, 10:00 AM
Last Post: bhtooefr
  Solar Calc Screen resolution comparaison Mic 0 894 01-03-2013, 12:25 PM
Last Post: Mic
  Can the display for a HP32Sii be replaced with the display from another model? Bruce Larrabee 8 2,777 10-10-2012, 10:05 PM
Last Post: Luiz C. Vieira (Brazil)
  wanted: high-resolution photo of 50g internals Eric Smith 9 2,915 10-04-2011, 02:08 AM
Last Post: Marcus von Cube, Germany
  16 segment Led display would mimic a HP-41 display? Giuseppe Marullo 3 1,596 11-12-2009, 08:08 PM
Last Post: db (martinez, ca.)
  Hi resolution black labels ? JLS 0 647 05-06-2007, 08:14 AM
Last Post: JLS
  My Resolution to the Barcode Replication Issue Les Wright 3 1,105 01-26-2007, 01:01 AM
Last Post: Les Wright
  Can I use a HP 12C display as a replacement for a broken HP 15C display? Heather Hansson 2 1,221 05-01-2001, 10:44 PM
Last Post: Andrés C. Rodríguez (Argentina)

Forum Jump: