Coder Social home page Coder Social logo

espeon's Issues

Missing File: gbbios.h

Upon attempting to compile

gbfiles.h:17:21: fatal error: gbbios.h: No such file or directory
compilation terminated.
exit status 1
gbbios.h: No such file or directory

Linux feedback

Hello and thanks for this great project !

Here's some unsollicited feedback from my attempt to get this working from Linux Ubuntu (16.04).

  • Arduino IDE isn't happy with the lowercase .ino filename, I've renamed espeon.ino to Espeon.ino to stop the IDE from complaining :-)

  • Before realizing I could install bin2h with apt, I used the xxd utility to get the bios in a C format:

      xxd -i gbc_bios > gbbios.h
    
  • Also the following commands:

      ffmpeg -vcodec png -i "gbborder.png" -vcodec rawvideo -f rawvideo -pix_fmt rgb565 "gbborder.raw"
      bin2h -cz gbborder<"gbborder.raw" > gbborder.h
    

... produced a 153600 bytes gborder.raw file (921652 bytes for the .h file)
and the dreadful DRAM segment data does not fit. compilation error.

I've used the built-in jpeg decoder M5.Lcd.drawJpg as a workaround, not sure about the performances hit but that produced a more ideal memory footprint (2804 bytes) and got me out of the compilation error.

image

  • The SD Updater seems to fit with the gameboy menu, but I haven't tested any game yet (using a M5Fire and no Faces stick around)

image

I'll edit this post with the followup, trying to get my hands on some roms to verify I'm using the correct bios version (can you share you md5sums?) :D

[edit 1] : as expected the rom won't load when the sketch is compiled with the basic Arduino IDE board/partitions settings, adding some debug statements to the code (#include <esp32-hal-log.h> along with log_e(), log_w() and log_i()) was helpful to find out the reason.

Not sure if this is feasible from the UI though, thinking about platformio ๐Ÿค”

Wrong Library Versions

With current versions of M5 libraries and ESP toolchains the project does not run on the ESP32. I managed to get a usable menu with ESP 1.0.6 but the emulation does not work. What versions of the libraries are required to build the Emulator?

ROM Won't Load

ROM (Any) Won't Load

Including flash or sd card

IMG_3174
IMG_3175
IMG_3176

To reproduce

Edit the gbfiles.h file and comment out the three defines (since i don't have a bios file)

/* Uncomment this to include a fallback ROM */
// #define USE_INTERNAL_ROM
// #define USE_INTERNAL_BIOS
// #define USE_INTERNAL_BORDER

Attempt to load from sd card - fails

Flashed to M5 Directly as per partition table - fails

python (path to my esp-idf toolchain)/esptool.py --chip esp32 --port /dev/cu.SLAB_USBtoUART --baud 2000000 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x110000 dinosofflineadventure.gb

Usability with the WIO terminal dev board?

I know this library is primarily written for ESP32, specifically the m5stack core, but is there any reason it could not run on a wio terminal device board. The wio runs at half the speed and has a much reduced amount of ram, but if you drop the bundled ROM and overclock the WIO to 200mhz it should run albeit with issues in terms of speed.

[question] landing page and walkthrough

Hey! this is such a super awesome project! I was trying to get everything setup and realized that I had documented some pretty good steps with pictures to getting this project setup, is that something you were interested in having someone contribute?

Missing File: gbborder.h

Upon Compile

gbfiles.h:24:23: fatal error: gbborder.h: No such file or directory
compilation terminated.
exit status 1
gbborder.h: No such file or directory

Cant open file system or flashed rom.

Ive recently gotten NES running on the m5stack, and now I'm trying to get GBA to run on it, I've flashed the 4 bin files using esptools, along with arduino IDE. The software runs, but when I try to load a flash from, it says "espeon fainted, rom_init failed e.t.c.". When I try to click on "Load Rom (SD Card)" nothing happens. I've checked the sd card as well, it isn't corrupt.

It works :)

found my way, working fine now :)
have a nice week-end.

Cant open file system or flashed rom.

Ive recently gotten NES running on the m5stack, and now I'm trying to get GB to run on it, I've flashed the 4 bin files using esptools, along with Arduino IDE. The software runs, but when I try to load a flash from it, it says "espeon fainted, rom_init failed, etc.". When I try to click on "Load Rom (SD Card)" nothing happens. I've checked the sd card as well, it isn't corrupt. Neither can I interact with the Settings button.

Rom loaded correctly, but game not starting

Hello, thanks for this nice project.
My roms are properly loaded , I can see the GameBoy picture, but there is blank or black full screen displayed depending on the loaded rom.
Do I need a game controller to launch the games properly or the games introduction are supposed to be displayed with no further action ?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.