Video: Lesson P18 - Making Sound with the AY

MSX & MSX2 including the V9990 GPU (V9K)
Post Reply
User avatar
akuyou
Posts: 563
Joined: Mon Apr 22, 2019 3:19 am
Contact:

Video: Lesson P18 - Making Sound with the AY

Post by akuyou » Wed Apr 24, 2019 9:30 am



www.chibiakumas.com/z80/platform2.php#LessonP18

It's time to move on! We've looked as graphics, and input, but now we need to complete our game... and what game will be complete with Sound Effects!
To start we'll look at the AY sound chip... the exact same chip exists on the CPC,MSX, speccy and even the Atari ST! (no that's not a z80 system!) ...
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens

Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809

John
Posts: 40
Joined: Tue Mar 24, 2020 1:18 am

Re: Video: Lesson P18 - Making Sound with the AY-Bug in Chibisound?

Post by John » Tue Jul 07, 2020 9:36 am

Hello Keith,

This question is regarding your Chibisound described at

https://www.chibiakumas.com/z80/platform2.php

for the MSX 1 you describe loading the mixer register,which is register 7,
with the value --NNNTTT.

Don't you need to set bit 7 to 1 and bit 6 to 0 when setting
the mixer register (register 7) in the AY sound chip on an MSX 1?-
otherwise it may damage an MSX computer or make the joystick malfunction.
In other words the wrong register value in the mixer register
can cause a short circuit in an MSX and so damage the
computer.

In other words the binary register value should be 10NNNTTT and not
--NNNTTT.

For an example reference the problem is mentioned here

https://www.msx.org/forum/msx-talk/emul ... in-openmsx

But you don't mention it.

This register mixer problem is specific to MSX as far as I am aware.

I think this is the first example I have seen of 8 bit computer software
that has the possibility of damaging the hardware (usually writing buggy
software does not damage the hardware)

User avatar
akuyou
Posts: 563
Joined: Mon Apr 22, 2019 3:19 am
Contact:

Re: Video: Lesson P18 - Making Sound with the AY

Post by akuyou » Sun Jul 12, 2020 5:10 am

To be honest It's the first time I've heard of that problem.

The thread you linked is dated early 2019, my video was actually made late 2018... I'm guessing the problem is probably documented somewhere else, but I hadn't heard of it before, and as the thread says, it doesn't really show up in openMSX

I've updated the documentation with mention of the MSX'es requirement on this field and source code for this lesson accordingly.
Thanks.
Chibi Akuma(s) Comedy-Horror 8-bit Bullet Hell shooter! // 「チビ悪魔」可笑しいゴシックSTG ! // Work in Progress: ChibiAliens

Interested in CPU's :Z80,6502,68000,6809,ARM,8086,RISC-V
Learning: 65816,ARM,8086,6809

Post Reply

Return to “MSX & MSX2 Assembly Programming”