Skip to content

Commit

Permalink
Version up to 3.8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
110-kenichi committed Aug 18, 2021
1 parent e078cfe commit 05ff8f0
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 25 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MAmidiMEmo 3.7.5.0/ Itoken (c)2019, 2020, 2021 / GPL-2.0
MAmidiMEmo 3.8.0.0/ Itoken (c)2019, 2020, 2021 / GPL-2.0

*** What is the MAmidiMEmo? ***

Expand Down Expand Up @@ -269,6 +269,7 @@ e.g.) YM2151 has 8ch FM sounds, so you can play 8 chords on MIDI 1ch or sharing
*** Changes ***

3.8.0.0 Added Velocity Mapping feature.
Supported VSIF for MSX. You can drive PSG, OPLL, SCC, OPL3 sound chip on the real MSX.
3.7.5.0 Supported Scale Tuning. You can set it on ScaleTuning property to the MIDI(Dedicated) category.
Supported Channel After Touch MIDI event. You can set the effect on the SCCS property on a Timbre property.
3.7.4.0 Fixed Master Clock prop crashing when resetting the value to default.
Expand Down
Binary file modified docs/MAmidiMEmo/Manual.pdf
Binary file not shown.
Binary file modified docs/MAmidiMEmo/Manual.pptx
Binary file not shown.
Binary file modified src/VSIF/VGMPlay_MSX/VGMPlay_msx.bin
Binary file not shown.
Binary file modified src/VSIF/VGMPlay_MSX/VGMPlay_msx.rom
Binary file not shown.
17 changes: 4 additions & 13 deletions src/VSIF/VGMPlay_MSX/uart-4800.asm
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ CHPUT = #0xA2
AND #0xf ; 7 47
OR E ; 4 51

;WRITE BOTH BYTE AND NEXT BYTE
;WRITE BOTH 1st BYTE AND 2nd BYTE
LD (HL), D ; 7 58
INC L ; 4 62
LD (HL), A ; 7 69
Expand Down Expand Up @@ -197,7 +197,6 @@ __WRITE_OPLL_ENA:
LD A,D ; SLOT #
LD HL,#0x7FF6 ; Address for EXT OPLL ENA FLAG
CALL WRSLT

INIT_CONST
JP __VGM_LOOP

Expand All @@ -220,7 +219,7 @@ __WRITE_SCC_SLOT:
CP #0x03
JP Z,__ENA_SCC

JP __WRITE_SCC_SLOT_END
JP __VGM_LOOP

__ENA_SCC1:
LD HL,#0xBFFE
Expand All @@ -230,25 +229,17 @@ __ENA_SCC1:
LD HL,#0xB000
LD A,#0x80
LD (HL),A
JP __WRITE_SCC_SLOT_END
INIT_CONST
JP __VGM_LOOP

__ENA_SCC1_COMPAT:
LD HL,#0xBFFE
LD A,#0x00
LD (HL),A

LD HL,#0x9000
LD A,#0x3F
LD (HL),A
JP __WRITE_SCC_SLOT_END

__ENA_SCC:
LD HL,#0x9000
LD A,#0x3F
LD (HL),A
JP __WRITE_SCC_SLOT_END

__WRITE_SCC_SLOT_END:
INIT_CONST
JP __VGM_LOOP

Expand Down
2 changes: 1 addition & 1 deletion src/mamidimemo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static class Program
/// <summary>
///
/// </summary>
public const string FILE_VERSION = "3.7.5.0";
public const string FILE_VERSION = "3.8.0.0";

public const string FILE_COPYRIGHT = @"Virtual chiptune sound MIDI module ""MAmidiMEmo"" Version {0}
Copyright(C) 2019, 2021 Itoken.All rights reserved.";
Expand Down
4 changes: 2 additions & 2 deletions src/mamidimemo/instruments/Chips/YM2413.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ private void enableOpll(OPLLSlotNo slot)
/// Rhythm mode
/// </summary>
[DataMember]
[Category("Chip")]
[Category("Chip(Global)")]
[Description("Rhythm mode (0:Off(9ch) 1:On(6ch))\r\n" +
"Set DrumSet to ToneType in Timbre to output drum sound")]
[SlideParametersAttribute(0, 1)]
Expand Down Expand Up @@ -295,7 +295,7 @@ private void updateRhyRegisters()
/// FrequencyCalculationMode
/// </summary>
[DataMember]
[Category("Chip")]
[Category("Chip(Global)")]
[Description("Select Frequency Accuracy Mode (False:3.6MHz mode(Not accurate) True:3.579545MHz mode(Accurate)")]
[DefaultValue(false)]
public bool FrequencyAccuracyMode
Expand Down
6 changes: 3 additions & 3 deletions src/mamidimemo/instruments/Chips/YM2612.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public enum MasterClockType : uint
/// <summary>
/// </summary>
[DataMember]
[Category("Chip")]
[Category("Chip(Global)")]
[Description("Set Master Clock of this chip.")]
[TypeConverter(typeof(EnumConverter<MasterClockType>))]
public uint MasterClock
Expand Down Expand Up @@ -262,7 +262,7 @@ public void ResetMasterClock()
/// LFRQ (0-255)
/// </summary>
[DataMember]
[Category("Chip")]
[Category("Chip(Global)")]
[Description("LFO Enable (0:Off 1:Enable)")]
[SlideParametersAttribute(0, 1)]
[EditorAttribute(typeof(SlideEditor), typeof(System.Drawing.Design.UITypeEditor))]
Expand Down Expand Up @@ -290,7 +290,7 @@ public byte LFOEN
/// LFRQ (0-7)
/// </summary>
[DataMember]
[Category("Chip")]
[Category("Chip(Global)")]
[Description("LFO Freq (0-7)\r\n" +
"0: 3.82 Hz\r\n" +
"1: 5.33 Hz\r\n" +
Expand Down
4 changes: 2 additions & 2 deletions src/mamidimemo/instruments/Chips/YM3812.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public override uint DeviceID
/// AM Depth (0-1)
/// </summary>
[DataMember]
[Category("Chip")]
[Category("Chip(Global)")]
[Description("AM depth (0:1dB 1:4.8dB)")]
[SlideParametersAttribute(0, 1)]
[EditorAttribute(typeof(SlideEditor), typeof(System.Drawing.Design.UITypeEditor))]
Expand Down Expand Up @@ -100,7 +100,7 @@ public byte AMD
/// Vibrato depth (0:7 cent 1:14 cent)
/// </summary>
[DataMember]
[Category("Chip")]
[Category("Chip(Global)")]
[Description("Vibrato depth (0:7 cent 1:14 cent)")]
[SlideParametersAttribute(0, 1)]
[EditorAttribute(typeof(SlideEditor), typeof(System.Drawing.Design.UITypeEditor))]
Expand Down
7 changes: 4 additions & 3 deletions src/mamidimemo/instruments/Chips/YMF262.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public int FtdiClkWidth
/// <summary>
/// </summary>
[DataMember]
[Category("Chip")]
[Category("Chip(Global)")]
[Description("Max number of 4 op mode sound")]
[SlideParametersAttribute(0, 6)]
[EditorAttribute(typeof(SlideEditor), typeof(System.Drawing.Design.UITypeEditor))]
Expand Down Expand Up @@ -239,7 +239,7 @@ public byte CONSEL
/// AM Depth (0-1)
/// </summary>
[DataMember]
[Category("Chip")]
[Category("Chip(Global)")]
[Description("AM depth (0:1dB 1:4.8dB)")]
[SlideParametersAttribute(0, 1)]
[EditorAttribute(typeof(SlideEditor), typeof(System.Drawing.Design.UITypeEditor))]
Expand Down Expand Up @@ -267,7 +267,7 @@ public byte AMD
/// Vibrato depth (0:7 cent 1:14 cent)
/// </summary>
[DataMember]
[Category("Chip")]
[Category("Chip(Global)")]
[Description("Vibrato depth (0:7 cent 1:14 cent)")]
[SlideParametersAttribute(0, 1)]
[EditorAttribute(typeof(SlideEditor), typeof(System.Drawing.Design.UITypeEditor))]
Expand Down Expand Up @@ -443,6 +443,7 @@ private void YMF262WriteData(uint unitNumber, uint address, int op, int slot, by
case SoundEngineType.VSIF_MSX_FTDI:
switch (adrH)
{
//https://w.atwiki.jp/msx-sdcc/pages/65.html
case 0:
vsifClient.WriteData(10, adr, data, f_ftdiClkWidth);
break;
Expand Down

0 comments on commit 05ff8f0

Please sign in to comment.