kerberos MIDI code and VICE

45 views
Skip to first unread message

Eric Cyb

unread,
Aug 6, 2017, 9:41:35 AM8/6/17
to kerberos-midi
Hello

I have compiled synthesizer.c example code.
When I run it on a real C64 with the kerberos, it works fin and I can hear the MIDI notes.

Since the kerberos is compatible with DATEL MIDI interfaces, I assumed that the same code would run on VICE, with DATEL emulation.
Am I wrong?

If not, does anyone have an example similar to synthesizer.c, in C language (at least some parts), working on a DATEL interface ?

Thank you
Eric

Frank Buss

unread,
Aug 6, 2017, 3:41:14 PM8/6/17
to kerberos-midi
Look at line 81 in synthesizer.c: "init Namesoft MIDI emulation". And you need a recent version of VICE, because there was a bug with MIDI IRQs. You might need to delete the test with "midiIrqNmiTest()", too, for VICE.

Eric Cyb

unread,
Aug 6, 2017, 6:39:04 PM8/6/17
to kerberos-midi
Hello and thank you for your quick reply.

You were right, the function midiIrqNmiTest() returned an error, so I assumed that MIDI emulation didn't work at all.
Once I removed this test, I managed to get MIDI working in Namesoft emulation using WinVice 3.2 with wine under linux.
But unfortunately I couldn't get it to work directly with Vice for linux...

Thanks a lot and thanks for the kerberos, it's amazing!

Eric
Reply all
Reply to author
Forward
0 new messages