mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-12 07:44:03 +09:00
bios splash screen slowed down to match that of real msx
This commit is contained in:
Binary file not shown.
@@ -42,7 +42,7 @@ for(let x=1;x<81;x++)graphics.putSymbolAt(19,x,220);
|
|||||||
for(let y=20;y<33;y++)for(let x=1;x<81;x++)graphics.putSymbolAt(y,x,219);
|
for(let y=20;y<33;y++)for(let x=1;x<81;x++)graphics.putSymbolAt(y,x,219);
|
||||||
// scroll up
|
// scroll up
|
||||||
let tmr=sys.nanoTime();
|
let tmr=sys.nanoTime();
|
||||||
let tlen=1073741824;
|
let tlen=1500000000;
|
||||||
while(1){let tdiff=sys.nanoTime()-tmr;if(tdiff>=tlen)break;
|
while(1){let tdiff=sys.nanoTime()-tmr;if(tdiff>=tlen)break;
|
||||||
graphics.setFramebufferScroll(0,-((1.0-tdiff/tlen)*164)|0);}
|
graphics.setFramebufferScroll(0,-((1.0-tdiff/tlen)*164)|0);}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user