19 lines
338 B
NASM
19 lines
338 B
NASM
INCLUDE "game/text.asm"
|
|
|
|
SECTION "Game Loop", ROM0
|
|
|
|
GameLoop:
|
|
ld de, HelloWorldStr
|
|
call StartText
|
|
.mainloop
|
|
; Start our game loop
|
|
call DrawActiveText
|
|
call WaitVBlank
|
|
jr .mainloop
|
|
|
|
Section "Hello wrold string", ROM0
|
|
|
|
HelloWorldStr:
|
|
; [ ]
|
|
db "...wake up...\n"
|
|
db "please wake up...", 0
|