I want to compress my bitmap (monochrom) 256*256 pixels (8192 bytes). I tried to make my own rle compression in this way : the first bit to determinate state (1 = pixel on, 0 = pixel off) then 7 bits are used to indicate number of pixels to fill with this value.
eg. this code :
Should be :
Here my code, it leave program without reason. That's probably due to a corrupted RAM (each time it display ARC>7500Ko