Top Level Namespace
Defined in:
Constant Summary
-
DISPLAY_SCALE =
{% if flag?(:graphics_test) %} 1 {% else %} 4 {% end %}
-
FILE_PATH =
"src/cryboy/opcodes.cr"
-
OPCODE_JSON_URL =
"https://raw.githubusercontent.com/izik1/gbops/master/dmgops.json"
-
POST_BOOT_VRAM =
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 240, 0, 240, 0, 252, 0, 252, 0, 252, 0, 252, 0, 243, 0, 243, 0, 60, 0, 60, 0, 60, 0, 60, 0, 60, 0, 60, 0, 60, 0, 60, 0, 240, 0, 240, 0, 240, 0, 240, 0, 0, 0, 0, 0, 243, 0, 243, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 207, 0, 0, 0, 0, 0, 15, 0, 15, 0, 63, 0, 63, 0, 15, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 0, 192, 0, 15, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 240, 0, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 243, 0, 243, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 0, 192, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 255, 0, 255, 0, 192, 0, 192, 0, 192, 0, 192, 0, 192, 0, 192, 0, 195, 0, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 252, 0, 252, 0, 243, 0, 243, 0, 240, 0, 240, 0, 240, 0, 240, 0, 240, 0, 240, 0, 60, 0, 60, 0, 252, 0, 252, 0, 252, 0, 252, 0, 60, 0, 60, 0, 243, 0, 243, 0, 243, 0, 243, 0, 243, 0, 243, 0, 243, 0, 243, 0, 243, 0, 243, 0, 195, 0, 195, 0, 195, 0, 195, 0, 195, 0, 195, 0, 207, 0, 207, 0, 207, 0, 207, 0, 207, 0, 207, 0, 207, 0, 207, 0, 60, 0, 60, 0, 63, 0, 63, 0, 60, 0, 60, 0, 15, 0, 15, 0, 60, 0, 60, 0, 252, 0, 252, 0, 0, 0, 0, 0, 252, 0, 252, 0, 252, 0, 252, 0, 240, 0, 240, 0, 240, 0, 240, 0, 240, 0, 240, 0, 243, 0, 243, 0, 243, 0, 243, 0, 243, 0, 243, 0, 240, 0, 240, 0, 195, 0, 195, 0, 195, 0, 195, 0, 195, 0, 195, 0, 255, 0, 255, 0, 207, 0, 207, 0, 207, 0, 207, 0, 207, 0, 207, 0, 195, 0, 195, 0, 15, 0, 15, 0, 15, 0, 15, 0, 15, 0, 15, 0, 252, 0, 252, 0, 60, 0, 66, 0, 185, 0, 165, 0, 185, 0, 165, 0, 66, 0, 60, 0]
Method Summary
- array_to_uint16(array : Array(Bool | Int)) : UInt16
- array_to_uint8(array : Array(Bool | Int)) : UInt8
- hex_str(n : UInt8 | UInt16 | UInt32 | UInt64) : String
- nanosleep(nanoseconds : Number)
- nanosleep(time_span : Time::Span)
- repeat(hz : Int, in_fiber : Bool, &block)
- repeat(hz : Int, &block)