Post Reply 
Emu48 Javascript ?
02-04-2018, 08:07 PM (This post was last modified: 02-04-2018 08:10 PM by sunhp.)
Post: #41
RE: Emu48 Javascript ?
(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();
}
}
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Emu48 Javascript ? - sunhp - 01-16-2018, 04:38 PM
RE: Emu48 Javascript ? - TheKaneB - 01-16-2018, 05:51 PM
RE: Emu48 Javascript ? - sunhp - 01-18-2018, 11:18 PM
RE: Emu48 Javascript ? - TheKaneB - 01-18-2018, 11:27 PM
RE: Emu48 Javascript ? - TheKaneB - 01-18-2018, 11:29 PM
RE: Emu48 Javascript ? - sunhp - 01-18-2018, 11:43 PM
RE: Emu48 Javascript ? - TheKaneB - 01-19-2018, 09:06 AM
RE: Emu48 Javascript ? - sunhp - 01-19-2018, 03:55 PM
RE: Emu48 Javascript ? - sunhp - 01-19-2018, 10:48 PM
RE: Emu48 Javascript ? - TheKaneB - 01-19-2018, 11:14 PM
RE: Emu48 Javascript ? - sunhp - 01-20-2018, 12:38 AM
RE: Emu48 Javascript ? - TheKaneB - 01-20-2018, 12:53 AM
RE: Emu48 Javascript ? - TheKaneB - 01-20-2018, 01:13 AM
RE: Emu48 Javascript ? - sunhp - 01-20-2018, 01:11 PM
RE: Emu48 Javascript ? - TheKaneB - 01-20-2018, 05:20 PM
RE: Emu48 Javascript ? - sunhp - 01-21-2018, 12:00 AM
RE: Emu48 Javascript ? - TheKaneB - 01-21-2018, 12:17 AM
RE: Emu48 Javascript ? - sunhp - 01-21-2018, 01:56 PM
RE: Emu48 Javascript ? - sunhp - 01-21-2018, 09:07 PM
RE: Emu48 Javascript ? - sunhp - 01-21-2018, 09:23 PM
RE: Emu48 Javascript ? - TheKaneB - 01-21-2018, 10:29 PM
RE: Emu48 Javascript ? - sunhp - 01-22-2018, 11:43 AM
RE: Emu48 Javascript ? - TheKaneB - 01-22-2018, 11:59 AM
RE: Emu48 Javascript ? - sunhp - 01-22-2018, 01:44 PM
RE: Emu48 Javascript ? - sunhp - 01-27-2018, 12:21 AM
RE: Emu48 Javascript ? - TheKaneB - 01-28-2018, 12:13 AM
RE: Emu48 Javascript ? - sunhp - 01-28-2018, 12:24 AM
RE: Emu48 Javascript ? - sunhp - 01-30-2018, 11:41 PM
RE: Emu48 Javascript ? - compsystems - 01-31-2018, 01:50 AM
RE: Emu48 Javascript ? - sunhp - 01-31-2018, 09:52 AM
RE: Emu48 Javascript ? - sunhp - 02-01-2018, 06:10 PM
RE: Emu48 Javascript ? - TheKaneB - 02-01-2018, 10:45 PM
RE: Emu48 Javascript ? - sunhp - 02-02-2018, 03:52 PM
RE: Emu48 Javascript ? - TheKaneB - 02-02-2018, 05:46 PM
RE: Emu48 Javascript ? - sunhp - 02-02-2018, 06:20 PM
RE: Emu48 Javascript ? - pier4r - 02-02-2018, 08:54 PM
RE: Emu48 Javascript ? - brickviking - 02-02-2018, 09:59 PM
RE: Emu48 Javascript ? - sunhp - 02-03-2018, 04:44 PM
RE: Emu48 Javascript ? - compsystems - 02-04-2018, 02:22 PM
RE: Emu48 Javascript ? - sunhp - 02-04-2018, 08:10 PM
RE: Emu48 Javascript ? - Eric Rechlin - 02-04-2018, 03:33 PM
RE: Emu48 Javascript ? - sunhp - 02-04-2018 08:07 PM
RE: Emu48 Javascript ? - compsystems - 03-10-2018, 03:27 PM



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