rpsubc8 / ESP32TinyFake86

Port Fake86 to TTGO VGA32
Do What The F*ck You Want To Public License
15 stars 2 forks source link

some keys not working #2

Open djogopatrao opened 10 months ago

djogopatrao commented 10 months ago

code tested @: a544cc using a hp keyboard model hp-0316 ABNT2

I found the following issues regarding keyboard (using the COMPAQ DOS at boot)

the below looks like it is by design but I'm documenting here anyway =)

rpsubc8 commented 10 months ago

Thank you very much for the tests. The project is not intended for an end user, but for a developer, so that as things are needed, everyone can add or remove them. Not the whole keyboard has been implemented, only the main part for gaming. It is very easy to add more keys. I have given priority to low-cost ESP32, so it makes use only of SRAM, which is very limited, hence the 640x200 mode is actually 320x200, saving 64 KB of video, but sacrificing quality. The F8 to load the game digger COM, was left for testing, to load directly without using the OSD. It's as easy as removing that functionality in the handleinput function. The code is very easy to follow. We left the F12 key to bring up the OSD menu instead of F1 like the other emulators, because of something as simple as the fact that the digger game uses the F1 key to shoot an enemy. It's interesting to look at the code very carefully, especially the part of use_lib_sna_rare, which allows to load games with much more RAM than available in the ESP32, and without using PSRAM. MADMIX 2 requires 217 KB of RAM, which is impossible with the resources of the ESP32, but with this option I can run it perfectly, as you can see in the video:

https://www.youtube.com/watch?v=aJNQKN4ITMc

There is also code to output video through the GPIO 26 PIN 5 CLK mouse, allowing to run the full original Maniac Mansion game, which requires 255 KB of real RAM, something that with VGA output, is not available.

rpsubc8 commented 10 months ago

Hello, I would appreciate your help: At the end of the issue, I have put a couple of utilities so you can test the video modes that give problem with your board:

https://github.com/rpsubc8/ESP32TinyFake86/issues/1

You can also try the new utility update: https://github.com/rpsubc8/ESP32TestVGA

320x240x60hz bitluni PLL 320x200x70hz bitluni PLL

djogopatrao commented 9 months ago

Hi. Yes, i'll try as soon as possible!