LZ: Re: Usgard programming help needed


[Prev][Next][Index][Thread]

LZ: Re: Usgard programming help needed



just quickly scanning the code, u call D_ZM_STR, but your strings are not
zero-terminated.

; Max Mansour,       // mail : maxm@gis.net 
;                   // irc : Justarius
;                  // web : 3designs.home.ml.org  

 OmniGo       -=> omnigo.home.ml.org
 TI-85/ZShell -=> www.ziplink.net/~maxm/zshell/
 WindowsCE    -=> www.ziplink.net/~maxm/windowsce/

.end


> From: Chief28933@aol.com
> 
> Usgard programmers...why does this program need lib 62?
> This is the code that I have... I run reloc and then tasm and then the
new
> string85 then it goes to my calc and doesn't work
> 
> Fix any bugs that us see that might be causing this please... Thanks 
>                       -Chief28933@aol.com
> 
> P.S. Your name will appear in the credits at the end of the game if your
fix
> works
> 
> ;Orion Masters source code
> #include "usgard.h"
> .org 0
> .db "Orion Masters by NCA",0
> 
> 	call CLEARLCD
> 	ld a,4
> 	out (5),a
> 
> ;Prints in menu text My Credits
> 	ld hl,$3B01
> 	ld ($8333),hl
> 	ld hl,&CreditText
> 	call D_ZM_STR

...

> ;Text Data
> CreditText:
> 	.db "Orion Masters by "
> 	.db "Nicholas Anderson"
> Menu1:
> 	.db "New Game"
> Menu2:
> 	.db "Continue Game"
> Menu3:
> 	.db "Exit"
> .end