Tell me the procedure
ZXNet echo conference «real.speccy»
From Ivan Pirog → To All 13 November 2000
You need the _fastest_ procedure. Input: de - x,y coordinates on the screen, hl -
address in the screen buffer.
Thanks in advance.
Regards, Ivan. valtr...@mail.ru
Valtron/Complete Failure Hackers Group/Freedom
[ZX] [Alasm] [Beer] [Girls]
From Oleg Grigoriev → To All 15 November 2000
Let your enemies, Ivan, die without sons!
13 November 2000 at 18:20, Ivan Pirog => All:
IP> The _fastest_ procedure is needed. Input: de - x,y coordinates on the screen, hl -
IP> address in the screen buffer.
IP> Thanks in advance.
it is more convenient to receive the address in de, so as not to rattle the pointer on the sign, and
coordinates in l, a.
;number of times.
;in: d - x, e - y.
;out: hl - address.
;
ld h, tabl[ ;7
ld l, e ;4
ld a, d ;4
or (hl) ;7
inc h ;4
ld h, (hl) ;7
ld l, a ;4 == 37 bars.
;number more than once.
;in: a - x, l - y.
;out: de - address.
;
ld h, tabl[ ;7
or (hl) ;7
inc h ;4
ld d, (hl) ;7
ld e, a ;4 == 29 clock cycles.
the address table will take up #180 bytes.
IP> + Origin: RU.PICKUP rules! (2:460/120.29)
became a dump a long time ago...
[ WBR, Oleg. ]
[ 13:23 15 November XXXV A.S. ]