zx_aaddrcright.asm
bitfixer_bitfixer/dg/z88dk/libsrc/spectrum/display/zx_aaddrcright.asm
; uchar __FASTCALL__ *zx_aaddrcright(void *attraddr)
; aralbrec 06.2007

PUBLIC zx_aaddrcright

.zx_aaddrcright

   ; hl = valid attribute address
   ; hl = new attribute address right one character with line wrap
   ;      carry if off screen
   
   inc hl
   ld a,$5a
   cp h
   ret
