Does any one have a suggestion or codes regarding, please show me. Thanks.
You have to write an image to all four bitplanes. The OUT commandone of the slowest commands in ASM, so you want to minimize the uses of it. Since we know the pixel order is:
1st pixel, 5th pixel, 10th pixel
2nd pixel, 6th pixel, 11th pixel
3rd pixel, 7th pixel, 12th pixel
4th pixel, 8th pixel, 13th pixel
We'll just write the image in four passes, one per plane.First we adjust the registers to write the first bitplane,then we write every 4th pixel. We then change it to the 2nd plane, move the start of the image forward a pixel, andwrite every 4th pixel again.
If you plan to do a C lib, contart me, as I'm looking forsomeone to port it to C.
It looks like you're new here. If you want to get involved, click one of these buttons!