marcelk wrote: ↑18 Nov 2018, 22:59
There're some quirks. It's reaching 96% speed if I interpret the indicator correctly, but 36 fps? It defaults to a non-standard 64K and the the startup sound is choppy (probably due to the speed). I haven't figured out much the controls. F11 switches between controlling the Gigatron and the hex editor. Delete, PageDown and PageUp seem to be mapped to the correct game controller signals. The emulation of video mode 2 looks quite messy.
- The CPU usage bar only makes sense if you setup the correct fences in the vasm code, (you can do it in GCL code as well), the examples I wrote show you how to do it. It's purpose is to get an approximate idea of how much CPU time you have left per frame after the firmware does it's bit bashing magic and after the vCPU interpreter has interpreted your code outside the fences. I used this to fine tune my tetris example so that the sound never stuttered, (by finding the appropriate places in the code to call playMidiAsync). So the 96% figure you are seeing is probably nonsense as the fences are not set correctly for the code initially running, (the menu).
- If the emulation doesn't hit 60FPS or close, then sound will start to chop/stutter as the the gaps between output samples become too large.
- 'h' will give you a help screen.
- The emulation of video modes is the original native code that I wrote to disable scanlines, I wouldn't expect it to work with any ROM's apart from the original and in fact there are a bunch of patches applied to the ROM at emulator startup that absolutely rely on the correct ROM version. (I just never had a chance to refactor this code, before I ran out of time on this project).
marcelk wrote: ↑18 Nov 2018, 22:59
P.S.2: Do you have a GitHub account? I think we should archive the zip file in Contrib/<yourname> instead of just in a forum post.
I'd personally be really unhappy with this, as the implication is that the executable/DLL's were built/obtained from a reliable source with my name attached to them. I am in no way responsible for what happens to anyone who downloads these or any pre-built versions of my code. The only code I will attach my name to and endorse is the original source code that anyone can build as I have shown in this thread.