Sorry if this question was already answered somewhere:
I have this invert-screen function and want to know if there's one that takes less space. Storage optimization is more important than speed optimization. I couldn't find a B_CALL routine other than Invert-Box, which has its issues.
Code:
I have this invert-screen function and want to know if there's one that takes less space. Storage optimization is more important than speed optimization. I couldn't find a B_CALL routine other than Invert-Box, which has its issues.
Code:
ld hl, plotsscreen
push hl
pop de
ld bc, 768
Loop:
ld a, (hl)
cpl
ld (hl),a
ldi
jp pe, Loop