diff --git a/assets/4016_portable_full.png b/assets/4016_portable_full.png new file mode 100644 index 0000000..98b5f12 Binary files /dev/null and b/assets/4016_portable_full.png differ diff --git a/src/net/torvald/tsvm/peripheral/CharacterLCDdisplay.kt b/src/net/torvald/tsvm/peripheral/CharacterLCDdisplay.kt index e341a8a..fb3abdf 100644 --- a/src/net/torvald/tsvm/peripheral/CharacterLCDdisplay.kt +++ b/src/net/torvald/tsvm/peripheral/CharacterLCDdisplay.kt @@ -10,7 +10,7 @@ class CharacterLCDdisplay(vm: VM) : GraphicsAdapter(vm, AdapterConfig( ) ) { - private val machine = Texture("./assets/8025_textonly.png") + private val machine = Texture("./assets/4016_portable_full.png") override fun peek(addr: Long): Byte? { return when (addr) { @@ -26,15 +26,14 @@ class CharacterLCDdisplay(vm: VM) : GraphicsAdapter(vm, AdapterConfig( } } - /*override fun render(delta: Float, batch: SpriteBatch, xoff: Float, yoff: Float) { - /*batch.shader = null + override fun render(delta: Float, batch: SpriteBatch, xoff: Float, yoff: Float) { + super.render(delta, batch, xoff+74, yoff+102) + batch.shader = null batch.inUse { batch.color = Color.WHITE batch.draw(machine, xoff, yoff) } - super.render(delta, batch, xoff+200, yoff-200) - */ - }*/ + } override fun dispose() { machine.dispose()