Search found 2 matches

by Kog
Tue May 24, 2022 4:16 pm
Forum: General Z80 Programming
Topic: Print String
Replies: 3
Views: 10030

Re: Print String

Yeah sorry i was trying to simplify my code to post is this the best way todo a switch statement

;This is a place for program code - don't put any data here
ld a, 0
cp 0
call z, loadmsg
cp 1
call z, loadmsg2

call PrintString ;Print Message

halt

;Here is fine for data!
loadmsg ld hl ...
by Kog
Tue May 24, 2022 11:59 am
Forum: General Z80 Programming
Topic: Print String
Replies: 3
Views: 10030

Print String

Hi,

For some reason this doesn't work, compiling for game gear


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ifdef vasm
include "\SrcALL\VasmBuildCompat.asm"
else
read "\SrcALL\WinApeBuildCompat.asm"
endif
read "QuickHeader.asm ...

Go to advanced search