DarwinNE wrote: ↑Mon Jul 20, 2020 9:23 am
I really like playing Alien Invasion in a browser, it works quite well now! BTW, I noticed a slight delay between the game and the audio effects, is there an audio buffer somewhere?
I am enjoying it as well
yes there is a 4096 bytes buffer because the audio was glitching on my old computer, I have to find it a good value that also works on slow mobile phones (perhaps that could be selectable by the user).
DarwinNE wrote: ↑Mon Jul 20, 2020 9:23 am
Is there a way to integrate the emulator in a webpage such as there?
yes I am working on it. Unfortunately the browser security (aka "CORS") does not allow to load a .prg from an external website, so you can't have the emulator and the file on different servers. Currently you either have to embed the whole emulator on your site or put the .prg file on the emulator's server. But perhaps there is a workaround, I have to investigate more.
Regarding Cavern Explorer, I'll use it as a benchmark for fixing the current 6561 emulation, the source code is very handy, thanks! BTW, I tested it on my MiST FPGA and it runs perfectly.