Re: A86: Cleared Screen with Text


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

Re: A86: Cleared Screen with Text




In a message dated 1/5/99 5:38:28 PM Eastern Standard Time, DavidY4723@aol.com
writes:

> ld hl,CHEMFULL_BEGIN_STRING
>  ld b,7
>  DispStr:
>  call _puts
>  call _newline
>  djnz DispStr

not sure, but _puts or _newline may mess with b, and _newline may mess with
hl. 

the ultra-safe version of the same code:
	ld hl,CHEMFULL_BEGIN_STRING
	ld b,7
DispStr:
	push bc
	call _puts
	push hl
	call _newline
	pop hl
	pop bc
	djnz DispStr

not sure if this is necessary or not, cause i don't remember what screws up
what