- Switchblade's z80 Assembly Questions
- 28 Sep 2017 01:37:11 pm
- Last edited by Switchblade on 02 Oct 2017 05:33:49 pm; edited 1 time in total
Could someone give me an example of a good screen shifting routine? I looked on ticalc but I couldn't find one. I particularly need one that can shift the screen to the left. Thanks
EDIT:
So I was helpfully given this routine, but could some one explain how it works
Code:
EDIT:
So I was helpfully given this routine, but could some one explain how it works
Code:
ld hl,$963F
ld c,$40
ld b,$0C
or a
rl (hl)
dec hl
djnz $-3
dec c
jr nz,$-9
ret