suppressing graphics mirroring prints

This commit is contained in:
minjaesong
2024-05-12 12:47:32 +09:00
parent 10f0070dda
commit 49b70d65f8
2 changed files with 4 additions and 4 deletions

View File

@@ -236,7 +236,7 @@ open class GraphicsAdapter(private val assetsRoot: String, val vm: VM, val confi
in 253950 until 261632 -> textArea[addr - 253950]
in 261632 until 262144 -> peekPalette(adi - 261632)
in 0 until VM.HW_RESERVE_SIZE -> {
println("[GraphicsAdapter] mirroring with input address $addr")
// println("[GraphicsAdapter] mirroring with input address $addr")
peek(addr % VRAM_SIZE)
} // HW mirroring
else -> null
@@ -268,7 +268,7 @@ open class GraphicsAdapter(private val assetsRoot: String, val vm: VM, val confi
in 253950 until 261632 -> textArea[addr - 253950] = byte
in 261632 until 262144 -> pokePalette(adi - 261632, byte)
in 0 until VM.HW_RESERVE_SIZE -> {
println("[GraphicsAdapter] mirroring with input address $addr")
// println("[GraphicsAdapter] mirroring with input address $addr")
poke(addr % VRAM_SIZE, byte)
} // HW mirroring
}

View File

@@ -56,7 +56,7 @@ public class AppLoader {
EmulInstance reference = new EmulInstance(vm, "net.torvald.tsvm.peripheral.ReferenceGraphicsAdapter2", diskPath, 560, 448, defaultPeripherals);
EmulInstance reference2 = new EmulInstance(vm, "net.torvald.tsvm.peripheral.ReferenceLikeLCD", diskPath, 560, 448);
EmulInstance reference2 = new EmulInstance(vm, "net.torvald.tsvm.peripheral.ReferenceLikeLCD", diskPath, 560, 448, defaultPeripherals);
EmulInstance term = new EmulInstance(vm, "net.torvald.tsvm.peripheral.Term", diskPath, 720, 480);
EmulInstance portable = new EmulInstance(vm, "net.torvald.tsvm.peripheral.CLCDDisplay", diskPath, 1080, 436);
EmulInstance wp = new EmulInstance(vm, "net.torvald.tsvm.peripheral.WpTerm", "assets/wpdisk", 810, 360);
@@ -69,6 +69,6 @@ public class AppLoader {
pipvm, 160, 140
))));*/
new Lwjgl3Application(new VMGUI(reference, WIDTH, HEIGHT), appConfig);
new Lwjgl3Application(new VMGUI(reference2, WIDTH, HEIGHT), appConfig);
}
}