class Timer

Defined in:

cryboy/timer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(gb : Motherboard) #

[View source]

Instance Method Detail

def [](index : Int) : UInt8 #

read from timer memory


[View source]
def []=(index : Int, value : UInt8) : Nil #

write to timer memory


[View source]
def skip_boot : Nil #

[View source]
def tick(cycles : Int) : Nil #

tick timer forward by specified number of cycles


[View source]