pico-zxspectrum
pico-zxspectrum copied to clipboard
mirrored text on lcd
Great project, kudos to you, when I tried to assemble on a zero pcb to test, I get mirrored text on lcd, using zxspectrumpicomputerzxlcd uf2 file gp2-gp6 for ili9341 lcd and gp19-gp13 for sdmicro. Someone please suggest a fix.
That will be because the driver is for a st7789.
A tweak to the MADCTL (Memory Access Control 0x36) register will probably sort the rotation. Possibly 0x47 or 0x87.
Fixing the colours may be more involved... but interesting to try!
See: https://github.com/fruit-bat/pico-zxspectrum/blob/main/src/picomputer/picomputer_st7789/st7789_lcd.cpp
You in a position to build the firmware?
Looks like blue and red are swapped. That what you think?
Thanks for your reply, I have never built, however i have picosdk installed, will surely try, kindly guide me stepwise.
I think I need to replace tinyusb then tweak madctl value ( kindly suggest filename), then execute cmake command in build folder then execute make command.
Yup, I can have a go for you if you like... give me a few minutes....
Unfortunately I am not good at recognising colours, it seems a washed out to me. Will see once it's working.
This is 0x10, so we know for the next try.
ZxSpectrumPicomputerZxLcd.uf2.zip
NB you need to unzip the uf2
Unfortunately that makes it behave more erratic.
X30 seems good, attached picture for reference, colours also look right to me ;-)
Thank you very much, I need some more time to test usb keyboard etc. I am preparing this for my daughter, she love programming. 🙏
Colours look inverted (or wrong in some other way_ to me...
What does this one look like?
X30 looked better to me, stripes on logo in front of this are blue cyan green yellow, previous one (X30) contains yellow red pink blue.
Kindly tell me when you are done, will close it.
This swaps the red and blue components...
ZxSpectrumPicomputerZxLcd.uf2.zip
Hopefully, that should do it :-)
Sorry for delay, this one I think matches with the logo, colours are red, yellow, green and cyan.
Here is the picture
On testing keyboard it is working but I was not able to type " or : and few other keys , tried 2 different keyboards, one dell wired keyboard and one portronics hydra in wired configuration, it seems a layout issue may be. Seems need to read manual.
The keys on the USB keyboard map 'literally' to the spectrum keys. Alt-gr (on the right) is symbol shift.
Thanks will try alt-gr tonight, never owned a spectrum or any 8 bit computer, so missed that. 🙏