Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //===========================================
- DrawDigit:
- //
- // Input: A - Value 0-9 to be drawn
- // Y - X location on the screen
- // Return: none
- // Modifies: A, X, Y
- //===========================================
- tax
- lda MultiplyBy3,x
- sta Store
- ldx Store
- lda Digits,x
- jsr DrawDigitLine
- inc Store
- ldx Store
- lda Digits,x
- iny
- jsr DrawDigitLine
- inc Store
- ldx Store
- lda Digits,x
- iny
- jsr DrawDigitLine
- rts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement