HP Forums
Emu48 Javascript ? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Emu48 Javascript ? (/thread-9952.html)

Pages: 1 2 3


RE: Emu48 Javascript ? - sunhp - 02-04-2018 08:07 PM

(02-04-2018 03:33 PM)Eric Rechlin Wrote:  Very impressive. I'm surprised to see performance is at par with the actual calculator, even on my several-year-old computer!

Support for showing annunciators and using the keyboard would be nice, too, if possible.

Also, feel free to use the emulator image that I made for Emu48, if you want something a bit sharper:

[Image: b2zoFIa.png]

Thank you Eric I appreciate this !
I put sources on Github to pass the torch and I really think it should be very easy to build better versions , btw my main loop is so horrible :

while( 1 )
{
#if emscripten
currentTime_emu = currentTime;
do {
emulator_run();
currentTime_emu = SDL_GetTicks() - currentTime;
}
while (currentTime_emu < 2);
#else
emulator_run();
#endif

if (currentTime > lastTime_timer2 + delay_timer2) {

lastTime_timer2 = currentTime;
true_speed_proc();
}

if (currentTime > lastTime_timer1 + delay_timer1) {
lastTime_timer1 = currentTime;
display_update();
}

if (currentTime > lastTime_timer3 + delay_timer3) {
lastTime_timer3 = currentTime;
timer1_update();
}

if (currentTime > lastTime_timer5 + delay_timer5) {
lastTime_timer5 = currentTime;
display_show();
}
}


RE: Emu48 Javascript ? - sunhp - 02-04-2018 08:10 PM

(02-04-2018 02:22 PM)compsystems Wrote:  +10

Fabulous, Hp48 now available from anywhere in the world =)

There is a constant flicker of the LCD, I think this could improve as the source code evolves or improves. I think they should add more enthusiasts to have a more powerful hp48-cloud

Thank you very much
That is exactly the point !


RE: Emu48 Javascript ? - compsystems - 03-10-2018 03:27 PM

a very useful feature for example to link it with other applications is to execute instructions or commands on the screen using the browser input line

this performs the TI68k emulator
Sample
https://tiplanet.org/emu68k_fork/#tExpand(sin(x+y))




.