mirror of
https://github.com/irmen/prog8.git
synced 2024-11-26 11:49:22 +00:00
tweak
This commit is contained in:
parent
89314a0e1a
commit
5ed0893d96
@ -286,7 +286,7 @@ class AstVm(val program: Program) {
|
||||
|
||||
private fun executeStatement(sub: INameScope, stmt: IStatement) {
|
||||
instructionCounter++
|
||||
if (instructionCounter % 100 == 0)
|
||||
if (instructionCounter % 200 == 0)
|
||||
Thread.sleep(1)
|
||||
when (stmt) {
|
||||
is NopStatement, is Label, is Subroutine -> {
|
||||
|
@ -39,9 +39,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
float duration = floor(((c64.TIME_LO as float)
|
||||
float duration = ((c64.TIME_LO as float)
|
||||
+ 256.0*(c64.TIME_MID as float)
|
||||
+ 65536.0*(c64.TIME_HI as float))/60.0)
|
||||
+ 65536.0*(c64.TIME_HI as float))/60.0
|
||||
c64scr.plot(0, 21)
|
||||
c64scr.print("finished in ")
|
||||
c64flt.print_f(duration)
|
||||
|
Loading…
Reference in New Issue
Block a user