Page 2 of 3
Re: NES emulator on an ESP32
Posted: Tue Jan 10, 2017 2:56 pm
by ESP_krzychb
Re: NES emulator on an ESP32
Posted: Tue Jan 10, 2017 3:02 pm
by a2retro
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 ...
Re: NES emulator on an ESP32
Posted: Tue Jan 10, 2017 3:37 pm
by a2retro
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
Re: NES emulator on an ESP32
Posted: Tue Jan 10, 2017 3:52 pm
by ESP_krzychb
Re: NES emulator on an ESP32
Posted: Tue Jan 10, 2017 5:19 pm
by rudi ;-)
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
Re: NES emulator on an ESP32
Posted: Tue Jan 10, 2017 6:21 pm
by ESP_igrr
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
Posted: Thu Feb 09, 2017 9:50 pm
by rudi ;-)
ESP_igrr wrote:..But copying from SD into flash and mmap-ing the flash is certainly doable.
yes , first steps now it works from sdhc now too, txs ivan.
play with a menu just in time for simple selection and load the next game
- IMG_5892_s.jpg (93.46 KiB) Viewed 16385 times
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
Re: NES emulator on an ESP32
Posted: Mon Mar 27, 2017 2:21 pm
by Redvenger
rudi ;-) 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
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
txs for your great work Jeroen!
now i need a PS1/PS2 Controller
i usually do not play
so sorry for this i have not PS1/PS2 controller here
IMG_5832_s.jpg
see a sequenze on twitter
best wishes
rudi
The screen looks great, what is the LCD size of this one? And what model is it? Thanks
Re: NES emulator on an ESP32
Posted: Mon Mar 27, 2017 3:58 pm
by rudi ;-)
hi
if you lookup in the
pdf shematic of wrover
- screen_Z320IT010.jpg (56.16 KiB) Viewed 16214 times
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
Re: NES emulator on an ESP32
Posted: Sat Apr 01, 2017 8:47 am
by Redvenger