Jump to content

Removing MIDI processing from IIC MIDI


Recommended Posts

Hi.

I know that it isn't 'technically' MIOS, but I have been building a MIDI<->RS-232 translator (for Sony Minidisc control) and I am using an IIC MIDI and an LTC module (I suppose you could call it "IIC RS-232").

The IIC Midi code does quite a bit of processing to check that it is a valid Midi stream which I don't want it to do. I have done a quick-and-dirty hack to prot.asm which forces all bytes to be sent as single byte MIDI (F8-FF) whereby I commented out andlx 0xf8 and xorlw 0xf8 in PROT_Tick_Rx_NewStatus!

I know that this isn't perfect as it means that 2 bytes are sent over the I2C for each 1 byte of RS-232 but as I am working at 9600baud I wasn't concerned about this.

Is there a more elegant way of achieving this? As it isn't exactly easy to debug the IIC I didn't want to change too much and I last used assembler on 6502's in the late 80's!

Phil

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...