encoding shenanigans

This commit is contained in:
minjaesong
2023-05-09 21:40:17 +09:00
parent 831485bc35
commit 3c758ba82f
6 changed files with 42 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ import net.torvald.tsvm.peripheral.PeriBase
import net.torvald.tsvm.peripheral.VMProgramRom
import java.io.InputStream
import java.io.OutputStream
import java.nio.charset.Charset
import java.util.*
import kotlin.math.ceil
@@ -156,7 +157,7 @@ class VM(
companion object {
val CHARSET = Charsets.ISO_8859_1
val CHARSET = Charset.forName("iso-8859-1") // no cp437 because i dunno
val MMIO_SIZE = 128.kB()
val HW_RESERVE_SIZE = 1024.kB()

File diff suppressed because one or more lines are too long