Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
awesome-game
master
Top Level Namespace
Bool
Cartridge
CPU
Gameboy
Joypad
MBC0
MBC3
MBC5
Memory
PPU
PPUModes
Registers
Sprite
Timers
Built with Crystal 1.9.2
2023-10-07 21:42:23 UTC
class
Gameboy
Gameboy
Reference
Object
Defined in:
gameboy.cr
Constant Summary
CYCLES_PER_FRAME
=
4194300
/
60
Constructors
.new
(dir : String, window : SF::RenderWindow)
Instance Method Summary
#cpu
: CPU
#mem
: Memory
#runFrame
#step
Constructor Detail
def self.
new
(dir : String, window : SF::RenderWindow)
#
[
View source
]
Instance Method Detail
def
cpu
:
CPU
#
[
View source
]
def
mem
:
Memory
#
[
View source
]
def
runFrame
#
[
View source
]
def
step
#
[
View source
]