diff --git a/assets/disk0/tvdos/hyve.SYS b/assets/disk0/tvdos/hyve.SYS index b71eeee..80ed8b0 100644 --- a/assets/disk0/tvdos/hyve.SYS +++ b/assets/disk0/tvdos/hyve.SYS @@ -65,6 +65,9 @@ function startNewInstance() { // initial kickstart +graphics.setBackground(34,51,68) +println("== h y v e ============================================== Hypervisor for tsvm ==") + startNewInstance() while (parallel.isRunning(runner)) { diff --git a/tsvm_core/src/net/torvald/tsvm/peripheral/HttpModem.kt b/tsvm_core/src/net/torvald/tsvm/peripheral/HttpModem.kt index 6034bae..4c8689c 100644 --- a/tsvm_core/src/net/torvald/tsvm/peripheral/HttpModem.kt +++ b/tsvm_core/src/net/torvald/tsvm/peripheral/HttpModem.kt @@ -16,7 +16,7 @@ import java.net.URL * Note that there is no double-slash after the protocol (or scheme) * * @param artificialDelayBlockSize How many bytes should be retrieved in a single block-read - * @param artificialDelayWaitTime Delay in milliseconds between the block-reads. Put non-negative value to NOT introduce a delay. + * @param artificialDelayWaitTime Delay in milliseconds between the block-reads. Put positive value in milliseconds to add a delay, zero or negative value to NOT add one. * * Created by minjaesong on 2022-09-22. */ @@ -149,7 +149,7 @@ class HttpModem(private val vm: VM, private val artificialDelayBlockSize: Int = bufferedOut.write(data, 0, count) } - if (artificialDelayWaitTime >= 0) { + if (artificialDelayWaitTime > 0) { try { Thread.sleep(artificialDelayWaitTime.toLong()) }