mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-07 11:51:49 +09:00
suppressing graphics mirroring prints
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user