benkonz / gameboy_emulator Goto Github PK
View Code? Open in Web Editor NEWGameboy Emulator written in Rust
License: Apache License 2.0
Gameboy Emulator written in Rust
License: Apache License 2.0
Environment: Windows 10, Chrome 86
Repro: Built WASM with cargo web deploy, opened Chrome to HTML page and payload. Monitor on 60Hz refresh runs as expected. Monitor on 165Hz refresh rate causes AV desync as the video is sped up several times and the audio backs up/buffers. Tabbing out will cause the audio to continue to run until it has finished catching up to the paused emulation and then the process will repeat on tab in.
Hi there @benkonz,
I'm developing a GBC emulator myself. In my implementation, all of the background render happens just before the h-blank period. Looking at your code, I wonder why you implemented background rendering like this. Is there a purpose of not rendering all background at once, but tile by tile every tick?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.