I have a project I'm working on where most of the game uses the bB DPC+ kernel. But for some other parts (menus, etc), I want to do some custom things that I'd need to implement my own kernel from scratch.
What all needs to be done in my main loop to let me break out cleanly and run my own kernel code? I assume the "drawscreen" bb command waits until the vblank timer is done, jumps into a kernel loop, then sets a new timer. Can I just hijack that, and instead of calling drawscreen, jump to my own loop where I wait for the timer, run my own kernel, then set a new timer?
Are there additional considerations that I need to keep in mind being DPC+?