Just want to see if I understand MIDI
You start with note on which is Decimal 144 followed by the value of the note (0-127) then pause until the note is released and issue note off or decimal 128. So middle C would be
HEX 0x90,0x3c",0x80 or
DEC 144,60,128 or
BIN 1001 0000,0110 0000,1000 0000
Basic code something like this as a generic
HSEROUT(144,note_value)
Pause(length_of_note)
HSEROUT(128)
HSERsetup would be N31250_8 for an 8mhz processor
Did I get this right?
You start with note on which is Decimal 144 followed by the value of the note (0-127) then pause until the note is released and issue note off or decimal 128. So middle C would be
HEX 0x90,0x3c",0x80 or
DEC 144,60,128 or
BIN 1001 0000,0110 0000,1000 0000
Basic code something like this as a generic
HSEROUT(144,note_value)
Pause(length_of_note)
HSEROUT(128)
HSERsetup would be N31250_8 for an 8mhz processor
Did I get this right?