I am not yet loading this module in CreateTask_my, so perhaps spytask cannot yet run? Perhaps I should uncomment this part in CreateTAsk_my.
There's a timeout if this isn't implemented, see core/main.c core_spytask
Camera boots, stays booted. Horizontal bars appear for a moment in the middle of the LCD, followed by a short busy, and then replaced near the top where they stay. Like the screen raster is sized incorrectly (which wouldn't suprise me)
This is quite likely. You can dump RAM starting at your expected bitmap buffer addresses and then use srsa's tool
https://chdk.setepontos.com/index.php?topic=12721.0 to try to find the resolution.
To dump RAM before you have script, ptp etc working you can just fopen, fwrite a file somewhere, like the start of spytask, or somewhere in the main spytask loop withe a variable to ensure it only gets called once.
You can also try to determine the correct resolution(s) from disassembly. Resolution may vary depending on whether you are using EVF or the camera LCD, or if you have any video out connected.
Note that if active_bitmap_buffer is incorrect, but on something that happens to stay 0 in the time you test, it would also not crash.