MIDIcar - Independent MIDI device for Atari XE

Moderator: bbiernat

Post Reply
User avatar
pancio
Administrator
Posts: 63
Joined: 18 September 2013, 23:02 - Wed
Location: SILESIA

MIDIcar - Independent MIDI device for Atari XE

Post by pancio »

Introduction
I would like to present new device for Atari XE series which can play/record MIDI files on Atari 8-bit computer. Idea was taken from Mytek's SIO2MIDI (https://ataribits.weebly.com/midi.html) but I decided to use CART/ECI port for communication with MIDI devices because in case I may use SIO independently for load/save data during MIDI working. Using CART/ECI provide possibility to use Atari as MIDI sequencer with direct access to FDD (SIO) and/or other mass storage device, for example with AVG CART (CART/ECI).

Project was made as Free Hardware under Creative Commons BY-NC-SA 4.0.This means - you can do it yourself, for private use. Commercial use is possible after obtaining the authors' consent.

This is the next project created as part of the activities of PTODT (Polskie Towarzystwo Ochrony Dziedzictwa Technicznego, which means the Polish Society for the Protection of Technical Heritage), founded for the protection of technical heritage, especially in the field of informatics and computers.

MIDIcar is hardware which can nothing without software... best player I ever seen was written by PeBe: https://github.com/GSoftwareDevelopment/MIDICar-Player

Notice:
This device is still under development. Please read whole information carefully. If you plan to do device by your own hand, please use newest revision as possible. Now it's 1.0.5 which is free of some minor issues on PCB.


Change log:
1. MIDIcar v1.0 - first issue
2. MIDIcar v1.0.1 - added polygons
3. MIDIcar v1.0.2 - added correct polygons (connected to GND), Added good power distribution wiring.
4. MIDIcar v1.0.3 - removed bad connection between /RST and /RTS
5. MIDIcar v1.0.4 - added full address decoder for D5xx/D1xx (avoid issue with mixed decoders from Atari and MIDIcar)
6. MIDIcar v1.0.5 - removed bad wiring between RD4 and RD5 on the PCB - now each cartridge can run with MIDIcar together.
7. MIDIcar v1.0/1.0.1 PBI - first issue of MC PBI version.
8. MIDIcar Vertical v1.0 PBI and CART/ECI universal version based on mezzanine board (CAUTION! New version of mezzanine was added as attachment, the previously one has really dangerous bug!)
9. MIDIcar for 1090 v.1.0 - MIDI device for 1090XL board.



Features:
- possibility to play external MIDI source like MIDI keyboard or synthesizer,
- MIDI IN/MIDI OUT LED indicators on board,
- serial communication with 31250 b/s, 125 kb/s or 2mb/s with PC (using e.g. FT232 dongle),
- fully transparent for other cartridges/interfaces (based on D1XX/D5XX address decoder),
- equipped with S2 DREAMBLASTER is ready to play (similar like SIO2MIDI,

Revision 1.0
First issue of MIDIcar v1.0 is dedicated for Atari XE series but I’ll prepare version for XL series as soon as possible,
MIDIcar 1.0 render
MIDIcar 1.0 render
MIDIcar-render.png (419.42 KiB) Viewed 103389 times
MIDIcar v.1.0 prototype
MIDIcar v.1.0 prototype
MIDIcar.jpeg (394.74 KiB) Viewed 105154 times
The first whole MIDI file played on MIDIcar (PeBe's player): https://www.youtube.com/watch?v=oDyei72TeGE

According to ABBUC HSC 2022 event I'll share more details after competition...
Following topic: https://abbuc.de/forum/viewtopic.php?f=3&t=639

Unfortunately, first release has two bugs on PCB layer:
1. bad crossed lines on audio channels output,
2. polygon was not connected to GND - so more noises might going to audio output

Revision 1.0.1
New revision (1.0.1) has been designed which eliminates the problem with audio and polygon connections:
MIDIcar 1.0.1-01
MIDIcar 1.0.1-01
MIDIcar1.0.1-01.jpeg (133.67 KiB) Viewed 102377 times
MIDIcar 1.0.1-02
MIDIcar 1.0.1-02
MIDIcar1.0.1-02.jpeg (113.55 KiB) Viewed 102377 times
MIDIcar 1.0.1-03
MIDIcar 1.0.1-03
MIDIcar1.0.1-03.jpeg (127.5 KiB) Viewed 102377 times
Parallel, my colleague Kkrys made prototype case for MIDIcar. It was first shown on Lost Party 2022 (Licheń Stary, Poland).
midicar-prototype.jpeg
midicar-prototype.jpeg (159.13 KiB) Viewed 102377 times
midicar-prototype-case-dev.jpg
midicar-prototype-case-dev.jpg (3.09 MiB) Viewed 102377 times
MIDIcar-wood1.jpeg
MIDIcar-wood1.jpeg (151.69 KiB) Viewed 102377 times
MIDIcar-wood2.jpeg
MIDIcar-wood2.jpeg (236.14 KiB) Viewed 102377 times
MIDIcar-wood3.jpeg
MIDIcar-wood3.jpeg (152.34 KiB) Viewed 102377 times
MIDIcar-wood4.jpeg
MIDIcar-wood4.jpeg (168.5 KiB) Viewed 102377 times
The next photo shown that it's possible use MIDIcar with external memory expansion (512kb in case) so you don't need to modify stock Atari to enjoy most midi files :-)
midicar-prototype-case-socket.jpeg
midicar-prototype-case-socket.jpeg (163.71 KiB) Viewed 102377 times

But I was still missing something... MIDIcar was great at playing files loaded from the SIO device, but it didn't want to work with AVG, SIDE2 and my favorite IDEplus. And the worst thing is that I had no idea why this was happening... I ruled out conflicts on the address bus because the devices have different register addresses... I came to the conclusion that the problem is in... insufficient power supply due to the thickness of the traces on the PCB. This is how revision 1.0.3 was born.

Revision 1.0.2
Only better power distribution and signals was added...

Unfortunately, the problem has not gone away. I was able to play files from SIO and IDE2ECI without any problems. IDEplus and other devices were not cooperating... until finally, I found the (partial) cause... it turned out that I had mistakenly connected the /RTS (ready to send) signal of the MC6850 to the /RST (reset) signal, which caused the MC6850 to keep a permanent RESET on other devices. The fix is very easy... just leave the 5th pin of the MC6850 up and not connected. Of course, revision 1.0.3 will be made :-)

Now, IDEplus is working perfectly. SIDE2 and AVG (my favorite!) not yet but I'm still working on that.
MIDIcar_and_IDE+
MIDIcar_and_IDE+
MIDIcar_and_IDE+.jpg (756.35 KiB) Viewed 102374 times
Short test MIDcar under SpartaDosX and IDE+: https://www.youtube.com/watch?v=h5Pq4HO0sL0

Revision 1.0.3 - 1.0.5
midicar_black_background.25.jpg
midicar_black_background.25.jpg (202.03 KiB) Viewed 102370 times
midicar_black_background.26.jpg
midicar_black_background.26.jpg (1.83 MiB) Viewed 102370 times
signal-2022-10-28-094030_003.jpeg
signal-2022-10-28-094030_003.jpeg (149.26 KiB) Viewed 102370 times
midicar_black_background.29.jpg
midicar_black_background.29.jpg (1.11 MiB) Viewed 102370 times
midicar.31.jpg
midicar.31.jpg (988.16 KiB) Viewed 102370 times
midicar.32.jpg
midicar.32.jpg (1.02 MiB) Viewed 102370 times

Finally I found the bug which was responsible for not working with SIDE2 and AVGCART. it was short circuit between RD4 and RD5 signals... so, the solution is very easy, just cut one wiring between RD4 and RD5 pins on PCB ( close to CART slot):




MIDIcar - cart socket.png
MIDIcar - cart socket.png (349.32 KiB) Viewed 101156 times
MIDIcar wiring to cut.png
MIDIcar wiring to cut.png (132.47 KiB) Viewed 101156 times
Revision 1.0 PBI
Actually it's pretty the same as v1.0.4 but regarding of lack of internal decoder for D1/D5 page additional parts were placed on PCB. The same approach will be use in CART/ECI version (fully separately decoder for D1/D5).
MIDIcarPBI1.0.1-pcb-1.png
MIDIcarPBI1.0.1-pcb-1.png (258.95 KiB) Viewed 70290 times
PBI version is equipped with additional power socket realized by standard DC-5 plug (+5V on center pin) - this is not needed if you have Atari 600XL or modified Atari 800XL (power mod on PBI) - pin 47 or 48 shall provide the power. You may configure how to power MC by dedicated jumpers on J9. Please use it with careful!
MCpbi-power.png
MCpbi-power.png (35.33 KiB) Viewed 70288 times
You may use MC-PBI with the same mass storage devices as MC-CART/ECI, It was tested with IDE2+, AVG and other...
MCpbi-1.jpeg
MCpbi-1.jpeg (498.86 KiB) Viewed 70289 times
MCpbi-3.jpeg
MCpbi-3.jpeg (839.87 KiB) Viewed 70289 times
MCpbi-2.jpeg
MCpbi-2.jpeg (691.06 KiB) Viewed 70289 times
Attachments
PBImezzanine2.0.zip
(33.58 KiB) Downloaded 8 times
MIDIcar1090.zip
Schematic, PCB, gerbest for MICIcar1090XL
(404.93 KiB) Downloaded 8 times
MIDIcarPBIvertical.zip
(1.13 MiB) Downloaded 17 times
MIDIcar1.0.5.zip
Full decoder equipped. Working with AVG/SIDEx/IDE+
(4.06 MiB) Downloaded 961 times
mcp156b.com.zip
(10.71 KiB) Downloaded 992 times
MIDIcarPBIv1.0.zip
MIDIcar for XL computers
(768.02 KiB) Downloaded 995 times
MCP124.XEX.zip
(9.53 KiB) Downloaded 1011 times
MIDIcar_v1.0.3.zip
Archived - use only as reference to existing PCBs
(3.89 MiB) Downloaded 1001 times
Last edited by pancio on 13 November 2022, 20:43 - Sun, edited 10 times in total.

matej
Posts: 5
Joined: 10 September 2022, 20:26 - Sat

Re: MIDIcar - Independent MIDI device for Atari XE

Post by matej »

I own 2x Dreamblaster so want buy 2x also will do enclosure and upload here STL. Also love it is cartridge upgrade as I use sio for SDrive:). Want use it for midi playback also for concert in future :).

User avatar
pancio
Administrator
Posts: 63
Joined: 18 September 2013, 23:02 - Wed
Location: SILESIA

Re: MIDIcar - Independent MIDI device for Atari XE

Post by pancio »

Hi Matej,

Nice to hear that anyone in willing to use it :-) Unfortunately you should wait for a moment because Abbuc HW competition. When it will finished ( a couple of weeks ), a few devices will be available on PTODT market. If you are willing to build it by your own hand, the MIDIcar project will be available as as Free Hardware under Creative Commons BY-NC-SA 4.0.. The case was designed by my colleague KKrys and will be available as separately part.

matej
Posts: 5
Joined: 10 September 2022, 20:26 - Sat

Re: MIDIcar - Independent MIDI device for Atari XE

Post by matej »

Yes I will wait and want buy 2x assembled also with cart and eci port but buy here as I live near Tatra mountains in Slovakia :).

User avatar
pancio
Administrator
Posts: 63
Joined: 18 September 2013, 23:02 - Wed
Location: SILESIA

Re: MIDIcar - Independent MIDI device for Atari XE

Post by pancio »

I am pleased to inform you that MIDIcar was appreciated at the ABBUC competition in the second category. Thank you very much to all voters!

Full description, schematics and software will be available in first thread of this topic.

Beetle
Posts: 2
Joined: 28 October 2023, 20:53 - Sat

Re: MIDIcar - Independent MIDI device for Atari XE

Post by Beetle »

Hi there, I am a happy owner of a Midicar. What would I need to do to obtain a Midicar remote?

Can the display show lyrics as well? Some of the midi files I found show lyrics as events on PC.

Greetz,

Stefan "Beetle" Niestegge (I met Pancio on Fujiama Party)
Attachments
IMG_20231028_162320.jpg
IMG_20231028_162320.jpg (1.93 MiB) Viewed 43665 times

User avatar
pancio
Administrator
Posts: 63
Joined: 18 September 2013, 23:02 - Wed
Location: SILESIA

Re: MIDIcar - Independent MIDI device for Atari XE

Post by pancio »

Hi Beetle,

Nice to see you here :-) I asked PeBe regarding your question and.. he has plan to do it! But as always.. you need to wait a while because PeBe is involved in huge project with his new FDD for Atari. I hope he will finish it soon because we need to have new version of MCP working parallel with MIDIcarSDX version - your idea should be next :-)

Did you repair your Atari Laptop?

Best Regards,
pancio

Beetle
Posts: 2
Joined: 28 October 2023, 20:53 - Sat

Re: MIDIcar - Independent MIDI device for Atari XE

Post by Beetle »

Hi Pancio,

The 1500XL Latop is still out of commision. But i do have a solution for the screen, i just need to wait for my new "Checkmate Retro Monitor" to arrive and i will then take my current little 14" screen apart which in fact uses the same parts as the Laptop screen.

In the meantime, my MIDIcar got a nice X2SE from Serdashop, so i can utilize Midi without the mess of many cables.

Greets to all,
Stefan

User avatar
pancio
Administrator
Posts: 63
Joined: 18 September 2013, 23:02 - Wed
Location: SILESIA

Re: MIDIcar - Independent MIDI device for Atari XE

Post by pancio »

Hi Beetle,

Pity that only one Really Usable Atari Laptop is still out of order. Could you please provide an information how you connected Composite to VGA screen - did you using screen from TV Monitor 17"? MAybe I may find similar on my attic :-)

Best Regards,
pancio

Post Reply