NES emulator on an ESP32
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: NES emulator on an ESP32
Hi a2retro,
To fix back-light check http://www.esp32.com/viewtopic.php?f=17&t=325#p3823 by rudi.
To fix back-light check http://www.esp32.com/viewtopic.php?f=17&t=325#p3823 by rudi.
Re: NES emulator on an ESP32
Okay so I looked more closely at the change documented by Rudi above and the back-light works as expected.
I looked at that last night but it was late - that's my story ...
I looked at that last night but it was late - that's my story ...
Re: NES emulator on an ESP32
Seems like I make one step forward and then step back again.
After updated esp-idf to the latest code i get this message
$ make flash
make[1]: *** No rule to make target 'libcoap/src/address.o', needed by 'libcoap.a'. Stop.
make: *** [/home/Glenn/src/esp-idf/make/project.mk:378: coap-build] Error 2
my libcoap dir is empty
i see it's a submodule - not sure why it's not being pulled in
Edit: recloned with --recursive worked as well. It seemed odd as initially I saw other submodules automatically pulled down but not libcoap for some reason
After updated esp-idf to the latest code i get this message
$ make flash
make[1]: *** No rule to make target 'libcoap/src/address.o', needed by 'libcoap.a'. Stop.
make: *** [/home/Glenn/src/esp-idf/make/project.mk:378: coap-build] Error 2
my libcoap dir is empty
i see it's a submodule - not sure why it's not being pulled in
Edit: recloned with --recursive worked as well. It seemed odd as initially I saw other submodules automatically pulled down but not libcoap for some reason
Last edited by a2retro on Tue Jan 10, 2017 5:37 pm, edited 1 time in total.
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: NES emulator on an ESP32
hi guys,
what you think?
can we save ROMS to sd card (yes )
make a menue for selecting from this ( yes )
after select, ROM cpy to nmap (yes )
is no sdcard found, load "factory" 0x10000
return romdata (yes)
perhaps we can nmap sdcard (raw) too (usually yes) vfat?
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: NES emulator on an ESP32
Unfortunately, we can't mmap SD cards like we can mmap SPI flash. Flash MMU only knows how to use SPI0 peripheral to talk to SPI flash chips. But copying from SD into flash and mmap-ing the flash is certainly doable.
Re: NES emulator on an ESP32
yes , first steps now it works from sdhc now too, txs ivan.ESP_igrr wrote:..But copying from SD into flash and mmap-ing the flash is certainly doable.
play with a menu just in time for simple selection and load the next game
if esp_sprite too busy at the time for sound... i will try this next time too, but not sure how this comes in steps.. must read in deeper first.
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: NES emulator on an ESP32
The screen looks great, what is the LCD size of this one? And what model is it? Thanksrudi ;-) wrote:hi
cause tested with ESP32 WROVER KIT V2 ( black )
found out, that we must change a small thing.
https://github.com/espressif/esp32-nese ... _lcd.c#L53
txs for your great work Jeroen!Code: Select all
/*orig WROVER KIT 1 ( red ) Backlight active high! */ // #define LCD_BKG_ON() GPIO.out_w1ts = (1 << PIN_NUM_BCKL) // Backlight ON // #define LCD_BKG_OFF() GPIO.out_w1tc = (1 << PIN_NUM_BCKL) //Backlight OFF /*rudi mod 06 jan 2017 on WROVER KIT V2 ( black ) Backlight active low! */ #define LCD_BKG_OFF() GPIO.out_w1ts = (1 << PIN_NUM_BCKL) // Backlight OFF #define LCD_BKG_ON() GPIO.out_w1tc = (1 << PIN_NUM_BCKL) //Backlight ON
now i need a PS1/PS2 Controller
i usually do not play so sorry for this i have not PS1/PS2 controller here
see a sequenze on twitter
best wishes
rudi
Re: NES emulator on an ESP32
hi
if you lookup in the pdf shematic of wrover
you see Z320IT010 and it is a 240RGBx320 3.2" screen sheet from here
hope this helps
best wishes
rudi
edit:
look up 1
look up 2
if you lookup in the pdf shematic of wrover
you see Z320IT010 and it is a 240RGBx320 3.2" screen sheet from here
hope this helps
best wishes
rudi
edit:
look up 1
look up 2
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: NES emulator on an ESP32
rudi ;-) wrote:hi
if you lookup in the pdf shematic of wrover
you see Z320IT010 and it is a 240RGBx320 3.2" screen sheet from here
hope this helps
best wishes
rudi
edit:
look up 1
look up 2
Thanks it looks awesome
Who is online
Users browsing this forum: No registered users and 22 guests