I checked the version on my laptop and it has a RETURN at the end of each subroutine


If you use RETURN then you need to use GOSUB to get to these routines instead of GOTO.

DEFINE HSER_BAUD 31250

NOT A VALID BAUDRATE IMHO.

31250 is a common "MIDI" data rate.