Live data from Hacker News

ESP32 Game Boy Printer (2018)

github.com

11–17 of 17 posts

Re: ESP32 Game Boy Printer (2018)

#11
post #8

"Since the whole protocol is bit-banged, it is susceptible to delays caused by other higher priority task" Ermmm no. Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Ref. me, I wrote a Java Gameboy 2BPP encoder/decoder library and have done multicore ESP32 dev. https://github.com/KodeMunkie/gameboyca…

> Ermmm no. Removing the snide 'Well, akshually...' remark from your comment makes you come across like a much better person. > Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Doesn't it? :)

No it does not. If people took so much care about writing technically correct things (instead of random observation with no substance) as they did whining about irrelevant details the snark wouldn't be needed in the first place

Re: ESP32 Game Boy Printer (2018)

#12

"Since the whole protocol is bit-banged, it is susceptible to delays caused by other higher priority task" Ermmm no. Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Ref. me, I wrote a Java Gameboy 2BPP encoder/decoder library and have done multicore ESP32 dev. https://github.com/KodeMunkie/gameboyca…

Other way to do bitbanging without being (as much) dependant on task timing is using DMA engine to just dump the state of pins and parse it after. Same thing with outputting when you need precise timings, no need to burn a core to bitbang if DMA engine is featureful enough.

Re: ESP32 Game Boy Printer (2018)

#13

I was looking at this similar project yesterday: https://github.com/mofosyne/arduino-gameboy-printer-emulator

Yes! This works great, I used it recently. Also notable: there's this custom ROM project for the gameboy camera (requires a custom PCB) https://github.com/HerrZatacke/2bit-pxlr-studio

I also finally finished Pokemon Gen 1 recently, by using one Gameboy and the two original cartridges, in combination with an arduino to trade between them: https://github.com/pepijndevos/arduino-boy

Re: ESP32 Game Boy Printer (2018)

#14
post #8

"Since the whole protocol is bit-banged, it is susceptible to delays caused by other higher priority task" Ermmm no. Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Ref. me, I wrote a Java Gameboy 2BPP encoder/decoder library and have done multicore ESP32 dev. https://github.com/KodeMunkie/gameboyca…

> Ermmm no. Removing the snide 'Well, akshually...' remark from your comment makes you come across like a much better person. > Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Doesn't it? :)

[deleted]

Re: ESP32 Game Boy Printer (2018)

#15
post #11
post #8

Earlier quoted context omitted.

> Ermmm no. Removing the snide 'Well, akshually...' remark from your comment makes you come across like a much better person. > Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Doesn't it? :)

No it does not. If people took so much care about writing technically correct things (instead of random observation with no substance) as they did whining about irrelevant details the snark wouldn't be needed in the first place

Well, I'd argue that it makes the message more likely to be ignored. I think winning people over is a useful skill (not even on the internet, but in life)

Re: ESP32 Game Boy Printer (2018)

#16
post #11
post #8

Earlier quoted context omitted.

> Ermmm no. Removing the snide 'Well, akshually...' remark from your comment makes you come across like a much better person. > Not utilising both cores properly on the ESP32 is a common mistake which causes this (described) behaviour https://randomnerdtutorials.com/esp32-dual-core-arduino-ide/ Doesn't it? :)

No it does not. If people took so much care about writing technically correct things (instead of random observation with no substance) as they did whining about irrelevant details the snark wouldn't be needed in the first place

The snark still wasn’t needed in the first place

Re: ESP32 Game Boy Printer (2018)

#17

Where's the printer part? You could connect this to a cheap chinese termal ESC/POS printer and print out the image too... there are probably libraries availble that do most of the esp32->print work.

I actually did exactly what you suggest a couple years ago.

https://github.com/iamjackg/esp32-phomemo-gameboy-printer

Post reply on HN