1
;--------------------------------------------------------------
2
; This code comes from the 'HRG_Tool'
4
;--------------------------------------------------------------
6
; Fast CLS for hi-rez ZX81
11
; $Id: _clg_hr.asm,v 1.1 2007/10/02 11:20:24 stefano Exp $
19
;----------------------------------------------------------------
22
; hl = pointer to display array
24
; to fill hr_rows lines by 32 characters
25
; here we use the stack (!) to fill hr_rows x 8 x 16 words with push
27
;----------------------------------------------------------------
30
ld a,(hr_rows) ; 8 or 24
35
ld (HRG_ClearSpReg),sp
64
ld sp,(HRG_ClearSpReg)
68
HRG_ClearSpReg: defw 0