[A83] Re: Displaying a value


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

[A83] Re: Displaying a value




Try using HL, setting either H or L to zero if it is only a 1 byte variable:
    ld   hl,x*256+y
    ld   (pencol),hl
    ld   hl,(score)
    bcall(_setxxxxop2)
    bcall(_op2toop1)
    ld   a,2
    bcall(_dispop1a)

That works for me.

-joel seligstein
joel@basm.org
www.basm.org