Refactoring
This commit is contained in:
1 parent
5438c243e0
commit
44c4cc3a11
1 file changed
+7
-5
@@ -5009,7 +5009,10 @@ NOCLRPAR:
|
|||||||
RET
|
RET
|
||||||
|
|
||||||
; --------------------------------------------------
|
; --------------------------------------------------
|
||||||
; Get parameters X, Y and Color, and check
|
; Get parameters X, Y, and check Y<256
|
||||||
|
; Out: BC - Y coordinate (0..255)
|
||||||
|
; DE - X coordinate
|
||||||
|
; A - Y coordinate (0..255)
|
||||||
; --------------------------------------------------
|
; --------------------------------------------------
|
||||||
GET_XYC_CHK:
|
GET_XYC_CHK:
|
||||||
CALL GET_XYC
|
CALL GET_XYC
|
||||||
@@ -5073,9 +5076,8 @@ PSETMONO:
|
|||||||
LD A, (HL)
|
LD A, (HL)
|
||||||
OR C
|
OR C
|
||||||
LD (HL), A
|
LD (HL), A
|
||||||
DB LD_HL_nn
|
OPSTPOS EQU $+1
|
||||||
OPSTPOS:
|
LD HL, 0
|
||||||
DW 0x0000
|
|
||||||
RET
|
RET
|
||||||
|
|
||||||
; --------------------------------------------------
|
; --------------------------------------------------
|
||||||
@@ -5112,7 +5114,7 @@ GET_WHC:
|
|||||||
RET
|
RET
|
||||||
|
|
||||||
; --------------------------------------------------
|
; --------------------------------------------------
|
||||||
; BOX [(X, Y)] W, H[, forecolr, bgcolr] statement
|
; BOX [(X, Y)] W, H[, forecolor, bgcolor] statement
|
||||||
; --------------------------------------------------
|
; --------------------------------------------------
|
||||||
BOX:
|
BOX:
|
||||||
LD A, (CUR_VMODE)
|
LD A, (CUR_VMODE)
|
||||||
|
|||||||
Reference in new issue
Block a user