Nice. In BASIC, too... somewhat impressive.
updated the archive once more.
BTW, does anyone have code showing how to toggle the clock speed between 26.8/28.6MHz?
Thanks for posting. You are talking about a Sega library function or something yes? I haven`t looked at any of that, since I don`t really understand C. I spotted the 0x06000320 in your post though, and tried calling the routine at that vector by using TRAPA #200. It seems to work fine on the Saturn but under Yabause it somehow ends up going through $6000010 (illegal instruction exception?)
The address at $6000320 needs to be loaded, and then JSR needs to be used to call the routine at that address (because it returns with RTS). Don`t ask me why they put jump tables in the vector area and decided to use JSR/RTS instead of TRAPA/RTE.