Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/02/08 03:20
Read: times


 
#160473 - Midi Thru Problems...
Responding to: ???'s previous message
Chico,

Your idea of changing to MIDI Thru is a good one as it allows you to validate your data exchange.

The problem as i see it is that you check TI instead of RI. Also you use the Accum without protecting it. With the "jmp RUN" foreground no problem but you might insert some other diag and forget so i'd protect it.

I would code this as:

SERI:
        push ACC
        jnb TI,midi_rx
        clr TI
midi_rx:
        jnb RI,midi_exit
        clr RI
        CPL P0.1
        MOV A,SBUF
        MOV SBUF,A
Midiexit:
        pop  ACC
        RETI


regards,
p


List of 19 messages in thread
TopicAuthorDate
Midi trouble with Keyboard!            01/01/70 00:00      
   Blame the computer?            01/01/70 00:00      
      I'm lost            01/01/70 00:00      
         Check for differences            01/01/70 00:00      
            you are right...            01/01/70 00:00      
         First check grounding            01/01/70 00:00      
   ==CODE==            01/01/70 00:00      
   Can I post...            01/01/70 00:00      
   MIDI Trouble            01/01/70 00:00      
      I can be wrong...            01/01/70 00:00      
         MIDI Trouble ...            01/01/70 00:00      
            Should be JB ACC.7 ...            01/01/70 00:00      
   Maybe I discovered something, but have no clue to solve            01/01/70 00:00      
      Midi Thru Problems...            01/01/70 00:00      
         Same problem            01/01/70 00:00      
            MIDI Head Scratcher ..            01/01/70 00:00      
               Data is arriving corrupted            01/01/70 00:00      
   tried simplest way            01/01/70 00:00      
      Already tried this            01/01/70 00:00      

Back to Subject List