Add documents

Important: it will break previously baked modules with 5B and AY8930
This commit is contained in:
cam900 2022-05-05 13:38:10 +09:00
parent 4f1ebc3b6e
commit 7b91045bac
2 changed files with 9 additions and 3 deletions

View File

@ -45,8 +45,8 @@
#define BUSY_BEGIN_SOFT softLocked=true; isBusy.lock();
#define BUSY_END isBusy.unlock(); softLocked=false;
#define DIV_VERSION "dev91"
#define DIV_ENGINE_VERSION 91
#define DIV_VERSION "devff" // it breaks compatiblity
#define DIV_ENGINE_VERSION 0xff
// for imports
#define DIV_VERSION_MOD 0xff01

View File

@ -215,13 +215,19 @@ struct DivSong {
// - 8: 0.83MHz (Sunsoft 5B on PAL)
// - 9: 1.10MHz (Gamate/VIC-20 PAL)
// - 10: 2.097152MHz (Game Boy)
// - 11: 3.58MHz (Darky)
// - 12: 3.6MHz (Darky)
// - bit 4-5: chip type (ignored on AY8930)
// - 0: AY-3-8910 or similar
// - 1: YM2149
// - 2: Sunsoft 5B
// - bit 6: stereo
// - 3: AY-3-8914
// - bit 6: stereo (ignored on Sunsoft 5B)
// - 0: mono
// - 1: stereo ABC
// - bit 7: clock divider pin (YM2149, AY8930)
// - 0: high (disable divider)
// - 1: low (internally divided to half)
// - SAA1099:
// - bit 0-1: clock rate
// - 0: 8MHz (SAM Coupé, Game Blaster)