Hello.
I'm playing with an IPAQ 3600 series. I wrote an assembler routine to copy a buffer directly into the screen memory, and I'm having some "issues".
If I do:
or
It works fine (plotting 2 and 4 pixels respectively).
The minute I try to write a single 32-bit word (or 2,3,4, .. 12,13,14
), it either does nothing or the application terminates. I'm presuming that the framebuffer memory is 16-bit and something is objecting to the 32-bit writes?
If so, is this kind of thing documented anywhere?
Cheers,
Refractor.
I'm playing with an IPAQ 3600 series. I wrote an assembler routine to copy a buffer directly into the screen memory, and I'm having some "issues".
If I do:
- Code:
(r0 = screen address
(r1 = random)
strb r1,[r0],#1
strb r1,[r0],#1
strb r1,[r0],#1
strb r1,[r0],#1
or
- Code:
(r0 = screen address
(r1 = random)
strh r1,[r0],#2
strh r1,[r0],#2
strh r1,[r0],#2
strh r1,[r0],#2
It works fine (plotting 2 and 4 pixels respectively).
The minute I try to write a single 32-bit word (or 2,3,4, .. 12,13,14
If so, is this kind of thing documented anywhere?
Cheers,
Refractor.