Alyosha
He/Him
Editor, Emulator Coder, Expert player (3840)
Joined: 11/30/2014
Posts: 2845
Location: US
I've been pretty busy lately, but I'm still trying to make progress where I can. Recently I became aware of some relatively new tests: https://github.com/hades-emu/Hades-Tests Turns out GBAHawk was failing several of them, but for relatively simple reasons. I fixed those up (but one of them fails on hardware, dma latch test 4, so that one will remain failing, I opened an issue about it.) Also recently many new tests were added to the mGBA test suite, mainly focused on the serial port. I fail most of those for some reason, I think for them to work I need to have a link cable plugged in but not connected to a second GBA, maybe, I haven't had time to look into any of the details. Serial port is still low priority (its good enough for pokemon coop diploma, and that's probably one of the only use cases), so I'll kick that can down the road. More interestingly, there is a ppu background display test that fails. I thought I had that pretty well nailed down so I was pretty surprised it wasn't quite right. Anyway always more to do.
YoshiRulz
Any
Editor, Emulator Coder
Joined: 8/30/2020
Posts: 118
Location: Sydney, Australia
I went to check which suites you have, but there are no testroms in the repo—please tell me you're not running them manually.
I contribute to BizHawk as Linux/cross-platform lead, testing and automation lead, and UI designer. This year, I'm experimenting with streaming BizHawk development on Twitch. nope Links to find me elsewhere and to some of my side projects are on my personal site. I will respond on Discord faster than to PMs on this site.
Hey look buddy, I'm an engineer. That means I solve problems. Not problems like "What is software," because that would fall within the purview of your conundrums of philosophy. I solve practical problems. For instance, how am I gonna stop some high-wattage thread-ripping monster of a CPU dead in its tracks? The answer: use code. And if that don't work? Use more code.
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3840)
Joined: 11/30/2014
Posts: 2845
Location: US
By mGBA suite I mean this one: https://github.com/mgba-emu/suite which has many many tests in one ROM, testing many aspects of the GBA. More generally, there are many suites of GBA tests scattered around. Some of them are represented here: https://emulation.gametechwiki.com/index.php/GBA_Tests but there are others. By running them manually I assume you mean as opposed to some automated process, then yes. I'm also aware that my documentation of any of this is poor to non-existent, but there's always just too much to do.
Hâlian
He/Him
Joined: 26 days ago
Posts: 1
Location: Central Florida
A new GBA emulator with a focus on hyperaccuracy? Hell yeah. I actually found out about this by checking the Emulation General Wiki's article on GBA accuracy tests, since a friend of mine is working on a Fire Emblem 8 hack and the community's guide to hacking on the decomp suggests using Nocash, which dates it. (Also, hi. I'm surprised I didn't already have an account here.)
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3840)
Joined: 11/30/2014
Posts: 2845
Location: US
Hâlian wrote:
A new GBA emulator with a focus on hyperaccuracy? Hell yeah. I actually found out about this by checking the Emulation General Wiki's article on GBA accuracy tests, since a friend of mine is working on a Fire Emblem 8 hack and the community's guide to hacking on the decomp suggests using Nocash, which dates it. (Also, hi. I'm surprised I didn't already have an account here.)
Hi! For game / hack development, nocash has a lot of good tools. For Fire Emblem in particular, it does rely on open bus emulation to be accurately emulated for console accurate enemy movement near the bottom of the screen as I've detailed in a previous post. Not sure if nocash has this or not. If you want something more modern and accurate for game / hack development you might also consider Mesen, which has a relatively new GBA core and a lot of cool tools. GBAHawk is research and TAS focused, so admittedly has limited dev tools. This post reminds me that I should add some more info to the Github page instead of just the one line ReadMe I've had since the start.
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3840)
Joined: 11/30/2014
Posts: 2845
Location: US
I finally got a dev board, this one: ( https://shop.insidegadgets.com/product/gba-32mb-512kbit-flash-save-flash-cart/ ) to test flash save timing. This was opened as an issue as GBAHawk fails test 002 of the flash save tests from here: https://github.com/jsmolka/gba-tests . However the test writes and then immediately reads from Flash, without giving time for the write to process. I asked JSMolka about this, who confirmed that the test itself was only ever tested against a EZ flash and not original hardware. So, I got the dev board to check, and indeed test 002 fails on hardware (the board has an sst39vf512 which is accurate to original carts.) I'll revise the test so that test 002 takes a reasonable amount of time and see if that version passes on the dev board as well. That will confirm it is indeed a timing issue. EDIT: With further testing updating all tests to wait for an expected time for writes to occur, the save fails on hardware on test 6 (I wasn't giving it long enough, with enough time to write all tests pass.) This is a good example of why testing on correct hardware is important.

1737452929