6809 & 68HC11 Monitors, Assemblers, C Compilers, RTOS … from the 90s

I retrieved some old embedded fun I had in the 90’s off an old disk. More to come at some point once I find the other disk.  Anyway this is a recreation of an old website I had. Retro fun.

http://musictechnologiesgroup.com/HC11/

 

Posted in Motorola 6809 68HC11 | 1 Comment

TurboCPU MIDI Board – Alternate Source

If you are in the UK or EU (ouch), here is a source for a DIY MIDI IN/OUT/THRU bare PCB that can be used with the TurboCPU. No DAC option, but otherwise it’s pretty similar to the MTG MIDI board. Two wires need to be flipped and a couple parts I substituted with my preferred values, but it’s the only viable TTL-to-MIDI board I’ve seen anywhere that sticks to the spec just like the MTG one does. All the Arduino one’s I’ve seen suck.

Here is the bare board:
https://electricdruid.net/product/midi-inoutthru-pcb/

Here is the schematic:
https://electricdruid.net/wp-content/uploads/2016/04/MIDISchematic-3-1024×724.jpg

Here it is connected to a test setup on my bench:

TurboCPU MIDI by Electric Druid

Alternate MIDI Board

Power (red) and ground (black) go “straight through”, but the Tx/Rx data lines need to be crossed (yellow, blue).  I also changed a few components.  Here is the parts list I used:

R1, R2              470R        Make sure to use high efficiency LEDs
R3                  4k7
R4                   -          Not used, leave empty
R5 to R9            220R
IC1                 74LS14      
IC2                 6N137       Different IC than the schematic!
C1                  0.1uF

Also refer to the TurboCPU Installation instructions for more guidance such as wiring the jacks.

 

Posted in Pro One CPU | Leave a comment

Found Another DX7 Bug

This one isn’t a huge bug, but anyone with an original DX7 running OS version 1.7 or earlier (on an expander based on it) can see this bug.  If you edit a patch and set an oscillator mode for Fixed Frequency, you can see that the display shows the frequency table is corrupted in one place.

The table should go (for example with a starting freq of 100Hz):

166.0Hz -> 169.8Hz -> 173.8Hz -> 177.8Hz

but the buggy version has this:

166.0Hz -> 169.8Hz -> 133.8Hz -> 177.8Hz

DX7 v1.8 and later has fixed the table bug

DX7 v1.8 and later has fixed the table bug

It sure would be nice to find some Yamaha Service Notes with information on the changes from one version to the next.  Also this version boots significantly slower. All the expansions I’m selling either have these both fixed or were not affected by them.

DX7 v1.7 and earlier has this table bug

DX7 v1.7 and earlier has this table bug

 

 

 

Posted in Yamaha DX7 | 1 Comment

MIDI Velocity Tester

While looking into the DX7 and some of the expansions for it, I needed a way to capture all the possible velocities that a given MIDI keyboard could put out. Not all of them send all 127 possible velocities.

I threw together a quick PC application to show and log them.  Here is the main form of said application:

MIDI Velocity Test results for the Oxygen 8 controller

MIDI Velocity Test results for the Oxygen 8 controller

Here is a link to the software. I may continue to update it, not sure. If you have issues with it let me know. It’s a Windows 32-bit application and I’ve tested it on Win8.1 .

http://musictechnologiesgroup.com/files/MidiVelocityTest.exe

Posted in Uncategorized, Yamaha DX7 | Leave a comment

DX7 Velocity Issues

A lot of comments, cliche’s, criticisms and chit-chat exists about the original DX7 Velocity limitations.  I will address a few of those, mainly from the perspective of someone looking at the underlying code. It’s another level of fun for someone sitting or standing in front of one and playing it.

NOTE: This is only about the MIDI-OUT, I’m not commenting here about the internal sounds.  That’s another matter, albeit related somewhat.

Original DX7 Velocity Curve

Original DX7 Velocity Curve

The curve.  This is what the DX7 MIDI-OUT Note-On velocity curve is supposed to look like and it does. Almost.  The X axis (horizontal) is the time it takes for the key travel and the Y axis (vertical) is the resulting MIDI Note-On velocity.  So, to the left we see very quick key travel meaning high velocity.  As you go to the right you see slower key travel and lower velocity. It looks like a piece-wise approximation of a curve but I have not figured out the math for the curve at this point.

First thing you notice is 32 points. That’s it. That’s the resolution of the DX7’s MIDI Note-On velocity. And that also includes 0 (zero) AKA Note-Off.  What’s interesting as I look at the BIN files for the various versions (I don’t have them all) is that the OS code is buggered. The $7F value cannot be accessed by the code. Impossible. It’s a glaring bug. I think the highest the code will allow is something like $7B, but in order to achieve that you need a hammer almost.

I can see this behaviour in firmware versions 1.7 and 1.8 of the Mark I DX7.

FWIW, I think the DX7S has a 64-byte table and the DX7II has a 128-byte table. I haven’t  done a lot of work on those yet as I don’t have either keyboard.

I am planning on fixing this as much as I can in the expansions that I sell. Two of them, the DX7 4X EXP and DX7 8X EXP have a Velocity Offset setting that can add a value to the table value I’ve been discussing. This solves the major issue and the one most people are familiar with, that it’s hard to get the upper values.  As they say, “you can’t get much above 100”.

Posted in Yamaha DX7 | Leave a comment

Yamaha DX7 OS without Active Sensing

While peeking around at the various DX7 firmware versions I was able to identify the code that is responsible for the DX7 transmitting $FE (MIDI Active Sensing) constantly.  I did not have the time to look at adding a menu item for it, so I just disabled it. If anyone is disgruntled by the DX7 sending MIDI $FE (Active Sensing) then this will alleviate your pain.

This link points to the updated v1.8 firmware that I renamed v1.8a:

https://www.dropbox.com/s/qm8rhtkje1dn12z/DX7-v1_8a_MTG%28NoFE%29.bin?dl=0

This link points to the updated Special Edition ROM firmware, SER7, that I renamed SER7a:

https://www.dropbox.com/s/sq0eknyoh0g6fjf/SER7a_MTG%28NoFE%29.bin?dl=0

One other issue that kind of irked me about the DX7 is the burst of MIDI Note-Off events and controller settings that occur at power on. I haven’t had time to sort that out yet.

 

Posted in Yamaha DX7 | 1 Comment

Hitachi HD6303 Monitor

Micro6303 Cold Boot

It lives!

The Hitachi 6303 is a variation on the Motorola MC6800/6801/6803 Motorola microprocessors and microcontrollers from the late 70’s and early 80’s.  I have an interest in reverse engineering embedded systems from that era.  Previously I have created a 6809 EPROM Monitor program called Micro09 and later a variation call Micro11 for the Motorola 68HC11.  The latter is still available on the web in a few places.  This new one, Micro6303, is basically the same beast, except for the 6303.

Micro6303 Main Menu

Micro6303 Main Menu

In all cases the idea of a Monitor is to create a development OS of sorts that can run on a minimal hardware setup.   A serial port is used for communication with the embedded system and a timer is used for single-stepping code.  The HC11 and 6303 have the timer and Serial Communications Interface on the chip, so that simplifies the hardware required to bring a system “up”.  But still quite a few components are required compared to today’s flash microcontrollers.

Micro6303 CPU Window

Micro6303 CPU Window

Anyway, without further adieu, here are some screen shots of the Micro6303 EPROM Monitor including the Cold Boot screen, the Main Menu and the CPU Window which is the facility for single-stepping and setting breakpoints. It is a work in progress and I will release binaries in the near future.

Posted in Hitachi HD6303, Yamaha DX7 | 6 Comments

New MTG Kawai R-50/R-50e to R50iii conversion kit

This is a kit loosely based on the R50iii that was a factory modified/upgraded R50 or R50e.  The factory had the advantage of starting with new blank circuit boards which current R50 owners do not.  Still, this expansion is pretty easy to install except for 3 wires that do need to be soldered by a steady hand.

MTG Kawai R50 3x

MTG Kawai R50 3x

MTG Kawai R50 3x expansion board

MTG Kawai R50 3x expansion board

 

Posted in Kawai R100 | Tagged , , , , , , , | 1 Comment

A DX7 Expansion “for the rest of us”

The DX7 E! expansion is known for being very hard to use. The SuperMAX+ is easier, but still there are so many features that it can be hard to remember them all, … and not everyone needs them.  So I’m working on yet another lost 80’s expansion, hereby dubbed “DX7 4x Expansion”.

DX7_4x_Exp_LCD This expansion provides the basic elements that any DX7 owner would want, without the power, complexity or price of E! or SuperMAX.  In a nutshell you get:

  • 128 patches all directly accessible using standard MIDI Patch Changes.
  • Velocity offset to cure the DX7 velocity shortcoming.
  • A bit more MIDI flexibility and keyboard split.

And you don’t need to remember any of it since it’s all adjusted by one simple panel button. Another nice thing is that it also contains the complete latest DX7 v1.8 factory firmware, including the built-in self test. So maybe not all the bells and whistles of a doctorate level SuperMAX+ or E!, but as I said, a DX7 expansion “for the rest of us”.

 

 

Posted in Yamaha DX7 | Tagged , | 14 Comments

CR2032 Battery Holder PCB Saver Adapter (for DX7, etc)

Here is a quick “freebie” of sorts. I’ve had this PCB for a while and used them now and then to fix dead 3v coin cell batteries on Yamaha DX7’s and other synth’s and drum machines. You can order the blank PCBs yourself or download the BRD file and get them made however you want.

The description is:

This item is a battery holder, coin cell and adapter PCB that lets you mount a standard CR2032 battery holder over top of a PCB layout that uses a soldered-in battery. It basically converts the pin layout from one of many odd 2-pin and 3-pin board styles into the common battery holder style. In the future, battery replacement will be a snap! Save your gear from leakage, damaged traces and lost sounds!

It will work with many synthesizers, drum machines or effects gear provided you have room inside the unit. The board can be mounted using wires, connector pins, component legs, connectors, etc. You can mount the board directly above where the old battery used to be or any convenient location as long as the board and battery are secure and absolutely insulated from any metal.

OSH Park Shared project MTG CR2032 PCB Saver, Rev A

s-l500 (1) s-l500 s-l1600 (1) s-l1600 (2) s-l1600

 

Posted in Uncategorized, Yamaha DX7 | Tagged , , , | 1 Comment