| |
willymanilly Account closed
Registered: Jan 2016 Posts: 27 |
Testbench GUI - VICE plugin
I'm working on an interface which uses testbench created by Groepaz. I've incorporated it into my emulator (available http://www.z64k.com - use the latest version of C64_Beta)and I plan on making it a standalone version which will work with other emulators.
I've started working on a plugin for VICE which I have successfully got working for the windows version. In theory it should work on other platforms but I haven't tested it yet. Instructions for installing the plugin is on z64k's website (13 August - C64 Beta).
I have a question about how the VICE debug cartridge works on how soon it exits after the debug register is written to. I notice the CIA test 'dd0dtest' passes in testbench when the program has fails in when executed in VICE independent of testbench. Is this because the return value is the last value written to the debug register when using the testbench debug cartridge? cia2tanew fails as expected. |
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11357 |
a write to the debug register makes VICE exit immediately - i'll have a look at that test program again, maybe its simply buggy :)
edit: can't see an obvious error in the test program... what i remember is that it doesnt work right with "new" CIA (wilfred can perhaps tell more about it...)
i've also checked your testbench plugin - works fine on linux too, very nice! |
| |
willymanilly Account closed
Registered: Jan 2016 Posts: 27 |
Thanks Groepaz,
I think I found the issue. I set breakpoints at both locations where the test program writes to the debug register (0925-success and 099b-fail). The test program always triggers the success code before checking if an error occurred and triggering the fail code. A quick browse of the test program's source code seems to confirm this as well.
The fact a write to the debug register makes VICE exit immediately explains the incorrect result, so at least the VICE testbench plugin seems to be working correctly. :)
That's good to know the testbench plugin works in linux too. :) |