I'm afraid to disappoint you, but my code is certainly not perfect, although it works in most cases.
The whole problem is in the resolution. The program has a limit on the number of pixels in a rectangle for each coordinate and this limit is 1 byte. That is, in 1 rectangle there cannot be more than 256 pixels for each axis (code lines 1428, 1429).
Code: Select all
PokeA(*blackPos, j)
PokeA(*blackPos+1, i)
I'll think about how you can overcome this situation as soon as I have some free time.