Templates
template print(base: pointer; text: string)
-
Convenience for printing arbitrary strings to the screen.
Example: cmd: --compileOnly -r:off
import jibby/utils/print import jibby/utils/vram turnOffScreen() cast[pointer](BgMap0.offset(5, 0)).print("SCORE") turnOnScreen() BgMap0.offset(5, 0).print("SCORE")