diff --git a/README.md b/README.md index 6191965..483f2b1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Retro8 +# Retro-8 -Retro8 is a CHIP-8 emulator based on Godot 3 and written in GDScript that I hope to turn into a fantasy console. +Retro-8 is a [CHIP-8](https://en.wikipedia.org/wiki/CHIP-8) emulator based on Godot 3 and written in GDScript that I hope to turn into a fantasy console. ## License diff --git a/project.godot b/project.godot index 8bf125c..9a76d3d 100644 --- a/project.godot +++ b/project.godot @@ -15,8 +15,8 @@ _global_script_class_icons={ [application] -config/name="Retro8" -config/description="Chip8 emulator." +config/name="Retro-8" +config/description="Chip-8 emulator." run/main_scene="res://scenes/Game.tscn" config/icon="res://icon.png" diff --git a/scripts/Chip8.gd b/scripts/Chip8.gd index ed03c0e..508a1a5 100644 --- a/scripts/Chip8.gd +++ b/scripts/Chip8.gd @@ -32,9 +32,9 @@ var fontSet = [ 0xF0, 0x80, 0xF0, 0x80, 0x80 # F ] + export var displayWidth = 64 export var displayHeight = 32 - export var memSize = 4096 export var numRegisters = 16 var displaySize = (displayWidth * displayHeight)