scr=>atr
ZXNet echo conference «code.zx»
From Aleksandr Majorov → To Oleg Sazonov 16 March 1999
Hayushki, Oleg!
Once in morning 15-03-99 19:44:20 somebody Oleg Sazonov has
written to All about 'scr=>atr'.
[ ]
OS> I forgot how to convert scr address to attribute one
OS> #4000=#5800, but too lazy to calculate ;)
in vain :)
sometimes it’s useful to rack your brains, or take a look
in the archivist ;)
OS> Maybe someone will throw a procedure ;)
;HL scr addr
LD A,H: AND #18
RRCA: RRCA: RRCA
ADD A,#58
LD H,A
;HL attr addr
Well that's it *MAS* with a sledgehammer