mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-12 15:44:05 +09:00
sys.sleep
This commit is contained in:
@@ -126,7 +126,11 @@ class VMJSR223Delegate(val vm: VM) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun spin() {
|
fun spin() {
|
||||||
Thread.sleep(4L);
|
Thread.sleep(4L)
|
||||||
|
}
|
||||||
|
|
||||||
|
fun sleep(time: Long) {
|
||||||
|
Thread.sleep(time)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun waitForMemChg(addr: Int, andMask: Int, xorMask: Int) {
|
fun waitForMemChg(addr: Int, andMask: Int, xorMask: Int) {
|
||||||
|
|||||||
Reference in New Issue
Block a user