[A83] Text problem


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

[A83] Text problem




My current project (Pixel 2.0) is off to an OK start.  But, when making the 
title screen, not all the text shows up.  Please help me out.  I have 
provided the code:

mainmenu:
	bcall(_grbufclr)			; Clear the buffer
	bcall(_clrscrf)				; Clear the display
	ld	bc, 0*256+56			; Load bc with the first coords for a line
	ld	de, 95*256+56			; Load de with the second coords
	ld	hl, 1				; Make sure the ROM call turns pixels ON
	bcall(_darkline)			; Draw the line
	ld	hl, 0018			; Make coords for text
	ld	(pencol), hl			; Load the coords to pencol/penrow
	ld	hl, menutext			; Load the text
	bcall(_vputs)				; Put the text on the screen
	ld	hl, 2028			; Put on the menu choices
	ld	(pencol), hl
	ld	hl, mainchoice1
	bcall(_vputs)
	ld	hl, 2728
	ld	(pencol), hl
	ld	hl, mainchoice2
	bcall(_vputs)
	ld	hl, 3428
	ld	(pencol), hl
	ld	hl, mainchoice3
	bcall(_vputs)
	ld	hl, 4128
	ld	(pencol), hl
	ld	hl, mainchoice4
	bcall(_vputs)
	ld	hl, 4828
	ld	(pencol), hl
	ld	hl, mainchoice5
	bcall(_vputs)
	bcall(_getkey)
	ret
menutext:
	.db	"Pixel 2.0 Main Menu",0
mainchoice1:
	.db	"New Pic",0
mainchoice2:
	.db	"Load a Pic",0
mainchoice3:
	.db	"Swap Pics",0
mainchoice4:
	.db	"Help",0
mainchoice5:
	.db	"Quit",0
.end
end

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp