+cubanismo Posted May 7, 2022 Share Posted May 7, 2022 (edited) For most carts, you can already do that via jaggd -ux demo.j64. It doesn't go through a normal boot process though, it just execs the code. It would be cool if the reset function had another mode though, where it reset without touching the ROM-space RAM and hence booted the cartridge like it does when selecting a ROM from the menu, enabling a workflow like this: # Wish this worked: $ jaggd -u myrom,a:$800000 # Load a ROM $ jaggd -rb # Reset GD and boot the ROM using the regular Jaguar boot process But I assume that requires at least new firmware. In the meantime, you can try faking it using this tiny stub program I wrote using the JagGD Homebrew SDK (Which I stumbled upon after taking a look at the jaggd source) that calls GD_Reset(GD_RESET_NORMAL). # This works sometimes, but not always. Why? $ jaggd -rd -u mygame.rom # Reset to the debug stub and upload a ROM to $800000 $ jaggd -ux boottorom.cof You just upload your ROM to $800000+ with jaggd -u, then upload and exec boottorom.cof with jaggd -ux, and it boots your ROM using a normal boot flow through the Jaguar BIOS. Note this includes validating the ROM/checking the ROMs encryption, so be sure it has a valid header! Sorry to keep editing this, but the above workaround only works sometimes. It seems flaky somehow, and I don't know why. YMMV. I've had it work 5 times in a row with different ROMs, then not work for several attempts. Very confusing. boottorom.c boottorom.cof Edited May 7, 2022 by cubanismo Nope, still not working 100% 2 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.