esp-box-emu icon indicating copy to clipboard operation
esp-box-emu copied to clipboard

Improve genesis emulation

Open finger563 opened this issue 1 year ago • 1 comments

Description

  • Update genesis sound emulation to disable sn76489 emulation
  • Update genesis emulation to skip 1 frame when muted (buttery smooth) but 6 frames when audio is playing
  • Update genesis emulation VDP_CYCLES_PER_FRAME to actually be correct for better emulation
  • Update how audio emulation accuracy configuration is set (CMakeLists.txt)
  • Don't run z80 emulation if sound is disabled.
  • Set main task priority to 20

Motivation and Context

How has this been tested?

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Documentation Update
  • [ ] Hardware (schematic, board, system design) change
  • [x] Software change

Checklist:

  • [ ] My change requires a change to the documentation.
  • [ ] I have added / updated the documentation related to this change via either README or WIKI

Software

  • [ ] I have added tests to cover my changes.
  • [ ] I have updated the .github/workflows/build.yml file to add my new test to the automated cloud build github action.
  • [x] All new and existing tests passed.
  • [x] My code follows the code style of this project.

finger563 avatar Sep 29 '24 03:09 finger563

:white_check_mark:Static analysis result - no issues found! :white_check_mark:

github-actions[bot] avatar Sep 29 '24 03:09 github-actions[bot]

  1. can add VGA output instead 3.5" LCD such as FabGL ESP32 project?
  2. I can not open schematic file. because my kicad program version is old. please add PCB file and bill of material with pdf format or JPG.

Noorsun0035 avatar Dec 30 '24 18:12 Noorsun0035

@Noorsun0035 Can you please open this as a discussion instead of on this issue specifically? I'd recommend opening a new discussion for the first question.

Regarding your second question, I've included PDFs of the schematics and board files in the ecad folder of this repository.

The ecad folder currently contains a few things:

  • PDFs in the root level
  • sch/brd files (these are EAGLE / Fusion 360 Electronics format files, which can be opened with EAGLE / Fusion 360 Electronics or can be imported into KiCAD).
  • an elec folder which contains the atopile + KiCAD version of the electronics. Since I'm using atopile+KiCAD, the schematic is actually in elec/src as .ato text files and the layouts for the different modules and boards are in elec/layout subfolders.

finger563 avatar Dec 31 '24 20:12 finger563