Wait a minute, just what is this doing in the homebrew section you may wonder,
well I'v got 4 days of solid coding behing me and although I'v given up on
Mr Driller for now I'v made a little hack that shows me the decimal value
of a colour being displayed on screen and allows joystick control of the colour.
Very simple and probably been done before but I'm just happy to have made something work
Now to my question, I'v had some trouble with getting a score decreasing
routine working.
heres a snipit from my code which I'll post after I'm happy with it (which means when this bit is working
Someone tell me what I'm doing wrong binary math is not my strong point
;decrease score; Not working past 0 ldx #5 scloop2 dec score,x ; decrease score lda score,x cmp #0 ; is it 0 bne scdone2 ; no? then move on lda #10 ; yes? then make it 10 sta score,x dex ; and the next number is beq scloop2 ; decreased ? scdone2














