Hello!
I need to do a ipoint routine, but I've a problem with the port $11: I menage to write on the lcd, but not to read.
Example:
Code:
I thought this display "239", but i read "0"
Do anyone know why this?
Thanks you!
PS: Sorry for my bad English, but I'm French

I need to do a ipoint routine, but I've a problem with the port $11: I menage to write on the lcd, but not to read.
Example:
Code:
start:
bcall _clrlcdfull
di
ld a,$30
out ($10),a
call Ralentir
ld a,$80
out ($10),a
call Ralentir
ld a,$EF
out ($11),a
call Ralentir
ld a,$30
out ($10),a
call Ralentir
ld a,$80
out ($10),a
call Ralentir
ld a,$FF
in a,($11)
ld h,0
ld l,a
bcall _disphl
jp _getkey
Ralentir:
push bc
ld bc,$FF
Ralentir2:
push bc
ld bc,$FF
Ralentir1:
djnz Ralentir1
pop bc
djnz Ralentir2
pop bc
ret
I thought this display "239", but i read "0"

Do anyone know why this?
Thanks you!

PS: Sorry for my bad English, but I'm French