mirror of https://github.com/falsovsky/z80.git
Will not be used
This commit is contained in:
parent
8ac841d8f7
commit
01d386733b
|
@ -175,28 +175,6 @@ get_screen_address
|
||||||
ret
|
ret
|
||||||
ENDP
|
ENDP
|
||||||
|
|
||||||
PROC
|
|
||||||
;Input:
|
|
||||||
; DE = Current screen address
|
|
||||||
;
|
|
||||||
;Output:
|
|
||||||
; DE = (Y + 1) screen address
|
|
||||||
;
|
|
||||||
increment_y
|
|
||||||
inc d
|
|
||||||
ld a,d
|
|
||||||
and 7
|
|
||||||
ret nz
|
|
||||||
ld a,e
|
|
||||||
add a,32
|
|
||||||
ld e,a
|
|
||||||
ret c
|
|
||||||
ld a,d
|
|
||||||
sub 8
|
|
||||||
ld d,a
|
|
||||||
ret
|
|
||||||
ENDP
|
|
||||||
|
|
||||||
PROC
|
PROC
|
||||||
INCLUDE "clear.asm"
|
INCLUDE "clear.asm"
|
||||||
ENDP
|
ENDP
|
||||||
|
|
Loading…
Reference in New Issue