bitluni / ESP32Lib

http://bitluni.net/esp32-vga/
441 stars 78 forks source link

Problems in 6 bit mode #25

Closed rampa069 closed 5 years ago

rampa069 commented 5 years ago

Hi.

I am using esp32lib in a ZX spectrum emulator (https://github.com/rampa069/ZX-ESPectrum) and it works fine in 3 and 14 bits. but when in 6 bits (dont need the 14 bits and RAM memory is a needed resource) seems that the osd is not working at all. The emulation only uses init,clear and dotfast, the osd uses rect, and print. Are all the primitives working in 6bit?

Thanks in advance.

rampa069 commented 5 years ago

tested one by one. vga.line is the culprit. commenting this line, all works. This is working fine in 3bits and 14bits

bitluni commented 5 years ago

interesting. line only uses dot itself. It's either a bigger problem or something else

On Tue, Jun 4, 2019 at 12:18 AM Ramon Martinez notifications@github.com wrote:

tested one by one. vga.line is the culprit. commenting this line, all works. This is working fine in 3bits and 14bits

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bitluni/ESP32Lib/issues/25?email_source=notifications&email_token=ADCGI24PAAYBDVTCH752OD3PYWKCBA5CNFSM4HSJUIIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW23GZQ#issuecomment-498447206, or mute the thread https://github.com/notifications/unsubscribe-auth/ADCGI2ZAWNT5EG4JVAKJKK3PYWKCBANCNFSM4HSJUIIA .

rampa069 commented 5 years ago

May be it is calculating bad coordinates? I remember to see something similar when plotting outside the buffer.

rampa069 commented 5 years ago

was my fault. had an extern to 14bit mode in a header file and this was the problem :-( thanks and sorry....