103 Commits

Author SHA1 Message Date
4503b3542e add scu-dsp demos 2025-08-08 21:13:39 -05:00
6e28a7d147 vdp2: working rbg0_font example 2025-08-08 17:35:50 -05:00
9f758e75f0 cdc/serial: disable tdre polling 2025-08-08 15:45:45 -05:00
e9ef21865c Makefile: add more .h rules 2025-08-08 15:45:45 -05:00
4301bbd4b7 vdp2: incomplete rbg0 example 2025-08-08 15:21:24 -05:00
447602ef41 font: add hp 100lx 2025-08-08 14:33:19 -05:00
b994669ad9 vdp2: add nbg0_font 2025-08-08 12:36:26 -05:00
35effc6f86 bear wip 2025-04-07 17:37:59 -05:00
3c9abcc88c vdp2: add line color screen example 2025-04-07 16:17:07 -05:00
1cce7752c0 math: adopt changes from dreamcast 2025-04-07 16:17:04 -05:00
25f4cc50f7 gitignore: add .ss 2024-09-19 21:05:27 -05:00
8d3b57835d scsp/slot: remove EGHOLD 2024-09-19 21:04:59 -05:00
f275732dfc cartridge: add adpcm example 2024-09-19 21:04:44 -05:00
f18944e523 Makefile: cdc example 2024-09-19 21:03:50 -05:00
a26d685ab3 m68k: add midi_keyboard example 2024-09-19 15:41:38 -05:00
909f67e3db math: add matrix functions 2024-09-19 15:41:00 -05:00
3b5a003401 memcpy 2024-09-19 15:40:17 -05:00
063699b4b3 cdc: get TOC 2024-09-19 15:38:49 -05:00
8f9fb2c7d7 midi/dump: add meta dumping 2024-09-15 19:54:58 -05:00
e911a20775 midi: improve dump example 2024-09-15 19:45:26 -05:00
b80cac2743 vdp1/cube2: add perspective division 2024-09-12 10:49:54 -05:00
3bb4740030 cartridge: initial
The Makefile duplication was done out of laziness; the main Makefile
should be rewritten in a similar fashion to this one to allow
per-target selection of linker script.
2024-03-28 15:41:09 +08:00
bdaa199ecb vdp2: add color_calculation_ratio 2024-03-24 22:16:41 +08:00
50173b96e3 raytracing: remove all uses of fp_raw_tag{} 2024-02-02 08:58:53 +08:00
fb041b392c smpc: update macro usage of input_ examples 2024-02-02 08:58:53 +08:00
a1707c72a8 normal_sprite_animated: update macro usage 2024-02-02 08:58:53 +08:00
863701941e scsp: add sound_cpu__midi_debug example
I don't think this is particularly useful (yet).
2024-02-02 08:58:53 +08:00
72bdd34675 vdp1: add cube2 example 2024-02-02 08:58:53 +08:00
2eef2be39e raytracing: update example 2024-02-02 08:58:53 +08:00
fb0b237e0c ttf-bitmap: allow arbitrary width/height glyphs 2024-02-02 08:49:35 +08:00
5f290a3e93 MIT license 2023-09-29 17:50:06 +00:00
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
7ec3ec5480 vdp2: remove start function 2023-07-23 18:01:10 +00:00
0c08f48750 vdp2/nbg0: add v_blank_in 2023-07-23 06:21:18 +00:00
bc7e9f8a3d vec3: add cross product 2023-07-23 06:21:18 +00:00
60f3a9d344 math/fp: negation operator declaration 2023-07-23 06:21:18 +00:00
d11490fdc3 res: add kirby data 2023-07-22 23:12:25 -07:00
5251d0cf8a asm: new example 2023-07-22 23:11:59 -07:00
646a7af953 vdp2/nbg0_16color: new example 2023-07-22 23:11:27 -07:00
db3729992e math/fp: add shift operators 2023-07-22 23:10:50 -07:00
c17ccd3f64 Makefile: remove LIBGCC
This is provided by saturn/common.mk
2023-07-10 15:34:44 -07:00
acf521e8ac cube: add example 2023-07-01 04:09:54 +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
9b57987717 midi: add basic polyphony
Timing is still broken/inconsistent between emulators and I don't yet
understand why.
2023-06-27 18:32:55 +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
c26bdd2630 scsp: incomplete midi example 2023-06-26 01:47:37 +00:00
f7a178384c scsp: add fm example 2023-06-24 02:59:31 +00:00
5ee43d8a29 use new smpc ireg/oreg struct declaration
Previously operator[] overloads were used for ireg/oreg indexes.
2023-06-23 10:07:19 +00:00
d4b5ecd3c8 vdp1/rgb: remove c++ features 2023-06-21 23:44:59 +00:00