9 Commits

Author SHA1 Message Date
511bfd1d0c remove duplicate start functions
This is now provided by default in saturn/common.mk.

Also updates moved header names, changed bit macro names, and changes
to the common.mk build process.
2023-07-30 18:03:19 +00:00
86d12c37ed midi: add generator
This adds both a midi generator and a midi type 1 simulator.

While I would have preferred to use an existing tool for this, I found
that timidity++ does not emit pitch wheel events correctly, and I
don't know of another widely-distributed tool that does midi-to-midi
format conversion.

The c++ and python versions were co-developed. I wrote one to test the
other. There is more cleanup to do, but `roundtrip.cpp` produces a
valid type 0 midi file given a type 1 or type 0 midi file as input.
2023-07-01 00:15:53 +00:00
0c34b0634a midi: slow down TIMA interval
This also fixes the ordering of slot reference and slot_ix
deinitialization when turning off notes.
2023-06-27 21:28:20 +00:00
778138971f midi: play c major scale
TIMA occurs at half the speed predicted in the SCSP manual in
mednafen, but at the correct speed in Kronos. I don't know which is
correct.
2023-06-27 10:15:14 +00:00
f7a178384c scsp: add fm example 2023-06-24 02:59:31 +00:00
3b82199d08 sound_cpu__interrupt: add slot visuals
This shows the value of some of the most relevant SCSP slot fields.
2023-05-19 23:08:19 +00:00
1bd38b78f5 m68k: vectors/handlers are linked by default 2023-05-17 10:38:00 +00:00
f21e1d5c78 m68k: add new "interrupt" example
I don't completely understand how the scsp timers work; "8192" is a
magic number I came up with by experimentation.
2023-05-17 10:33:40 +00:00
8246b94aee add m68k example 2023-05-16 18:37:00 +00:00