> A long time ago I downloaded some sample vectrex source code and adapted one > particular program to play a little tune I transposed from guitar... > > Anyway, I could never get the program to repeat the main procedure (even in the > sample before I started messing with it). Here is a snippet: > > main_loop: > JSR DP_to_C8 ; DP to RAM > LDU #yankee ; get some music, here yankee > JSR Init_Music_chk ; and init new notes > JSR Wait_Recal ; Vectrex BIOS recalibration > JSR Do_Sound ; ROM function that does the > ; sound playing > BRA main_loop ; and repeat forever
I would assume that Do_Sound is never returning. Try running it in an emulator with a good debugger (like MESS) and see if it even makes it to the BRA.
|