Re: A85: Drawing a menu


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

Re: A85: Drawing a menu




and at the end of the routine, you wouldn't need to do these 2 lines
since hl no longer needs to be maintained outside of the routine:

	ld     de, 112            ; Restore original value of HL
	sbc    hl, de             ; Now points to beginning of cursor

it looks to me like the value in hl is not always what you want it to
be at all times.  if you make the changes to the routine that i
suggest, it should simplify the code quite a bit, and it may be easier
to find the bug if that is not it.

-mike pearce


Follow-Ups: References: