more minor changes

This commit is contained in:
minjaesong
2017-06-11 18:01:03 +09:00
parent 687a7f901e
commit 2ca8c2c263
20 changed files with 115 additions and 22 deletions

View File

@@ -83,6 +83,11 @@ class PeripheralVideoCard(val host: TerrarumComputer, val termW: Int = 80, val t
val cursorSprite = ImageBuffer(blockW, blockH * 2)
val cursorImage: Image
override val memSize = 256 * 8 + (width * height * 2) + spritesCount * 16 * 7
// fontRom + framebuffers + sprites
init {
Arrays.fill(cursorSprite.rgba, 0xFF.toByte())
cursorImage = cursorSprite.image