A86: Why doesn't this work


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

A86: Why doesn't this work




I am having trouble with this program.  All it's supposed to do is display
this exactly:

***************************
*BASIC**COMMANDS*
***************************
               by:
		   DAN
        (C) 1998

It's all centered and everything.  For some reason, it is not showing the top
line of stars.  It is all in inverted text.  Here is the part of the program
that is not working:

#include "ti86asm.inc"

.org _asm_exec_ram

	call _clrLCD
	call _homeup
	set 3,(iy+$05)
	ld hl,welcome
	call _puts
	res 3,(iy+$05)
	call $4D40
	
Next:	
	call _clrLCD
	call _homeup
	ret

welcome:
	.db "  *****************  "
	.db "  *BASIC**COMMANDS*  "
	.db "  *****************  "
	.db "         by:         "
	.db "         DAN         "
	.db "       (C)1998       ",0	

.end


THANX
Dan