mirror of
https://github.com/irmen/prog8.git
synced 2024-11-20 03:32:05 +00:00
cc96ab7a9b
no longer create useless assignment code for r0=r0
21 lines
431 B
Lua
21 lines
431 B
Lua
%import textio
|
|
%import palette
|
|
%import syslib
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
ubyte lower2_x_bits=1
|
|
ubyte cbits4
|
|
ubyte operand
|
|
|
|
cbits4 &= operand
|
|
cbits4 |= operand
|
|
|
|
;cbits4 &= gfx2.plot.mask4c[lower2_x_bits] ; TODO why lda..and instead of and mask,y?
|
|
;cbits4 |= colorbits[lower2_x_bits] ; TODO why lda..ora instead of ora mask,y?
|
|
|
|
}
|
|
}
|