About Konamiman's page and that VCBSIZ...

By tsMKG

Resident (46)

Аватар пользователя tsMKG

01-12-2018, 18:17

https://www.konamiman.com/msx/msx2th/th-ap.txt

* Offset from voice static data area
  (offset is in decimal)


METREX (+0, 2)
  contents:	timer count down


VCXLEN (+2, 1)
  contents:	MCLLEN for this voice


VCXPTR (+3, 2)
  contents:	MCLPTR for this voice


VCXSTP (+5, 2)
  contents:	reserves the top of the stack pointer


QLENGX (+7, 1)
  contents:	number of bytes stored in the queue


NTICSX (+8, 2)
  contents:	new count down


TONPRX (+10, 2)
  contents:	area to set tone period


AMPPRX (+12, 1)
  contents:	discrimination of volume and enveloppe


ENVPRX (+13, 2)
  contents:	area to set enveloppe period


OCTAVX (+15, 1)
  contents:	area to set octave


NOTELX (+16, 1)
  contents:	area to set tone length


TEMPOX (+17, 1)
  contents:	area to set tempo


VOLUMX (+18, 1)
  contents:	area to set volume


ENVLPX (+19, 14)
  contents:	area to set enveloppe wave form


MCLSTX (+33, 3)
  contents:	reservation area of stack


MCLSEX (+36, 1)
  contents:	initialisation stack


VCBSIZ (+37, 1)
  contents:	static buffer size



* Voice static data area


VCBA (FB41H, 37)
  contents:	static data for voice 0


VCBB (FB66H, 37)
  contents:	static data for voice 1


VCBC (FB8BH, 37)
  contents:	static data for voice 2

So I was looking to implement these in my BIOSCL.Z80 file but I ran accross a problem:
VCBA's VCBSIZ overlaps with VCBB's METREX.

My code is looking like this right now:

Not done yet, but if these two overlap, is there a problem? OR is totally fine? What does it mean? oO

Для того, чтобы оставить комментарий, необходимо регистрация или !login

By tsMKG

Resident (46)

Аватар пользователя tsMKG

24-02-2019, 19:53

I know that bumps aren't welcomed for the most part, but I still want to know if anyone does have the answer Question
Thank you.