Re: [rc2014-z80] Z180 + YM/AY Rev 6.1 Sound Card, Making Tune.Com play

173 views
Skip to first unread message

Wayne Warthen

unread,
Sep 14, 2023, 2:11:23 PM9/14/23
to rc201...@googlegroups.com
Hi Leslie,

Looks like I got a copy of your "disappeared" message in my email.  I will try to respond here.

Regarding problem #2, I'm not sure why TUNE is not working correctly for you.
This is an odd symptom.  It sounds like the sound file is playing at the wrong speed.

TUNE is operating in "timer" mode as you can see in the TUNE startup messages.  This
means it is using the system timer (on the Z180) to handle the timing of the sound file.

You can try using the command "TIMER /C" which will give you a continuous
display of the system timer.  If the seconds to not count at the correct pace, maybe
there is a timer problem.

Also, can you try one of the sound sample files included with RomWBW?  Maybe
there is something odd with your file.  The RomWBW sound sample files are found
on all bootable hard disk images in user 3.

Thanks,

Wayne

On Wed, Sep 13, 2023 at 1:07 PM Leslie Marentette <ljma...@gmail.com> wrote:
I'm have some trouble installing Ed Brindley's YM/AY Rev 6.1 sound card.

System hardware description:
- SC701 Backplane
- SC722 Z180 CPU
- SC721 1MB Memory
- SC715 IDE (0x10 : 0x17)
- FLOCK RTC (0x40 : 0x47) Floppy (0x48 : 0x5F)
- Ed Brindley YM/AY Rev 6.1 (0xA0 : 0xA3) (3.6864MHz onboard OSC) (CLK /2) (On-chip div disabled)

RomWBW Modifications for YM/AY Rev 6.1:
 [RomWBW\Source\HBIOS\ay38910.asm]
#IF (AYMODE == AYMODE_MSX)
AY_RSEL .EQU $A0
AY_RDAT .EQU $A1
AY_RIN .EQU $A2
#ENDIF

[RomWBW\Source\HBIOS\cfg_scz180.asm]
AY38910ENABLE .EQU TRUE ; AY: ENABLE AY-3-8910 / YM2149 SOUND DRIVER
AY_CLK .EQU 1843200 ; AY: PSG CLOCK FREQ, ASSUME MSX STD
AYMODE .EQU AYMODE_MSX ; AY: DRIVER MODE: AYMODE_[SCG|N8|RCZ80|RCZ180|MSX|LINC|MBC]

[RomWBW\Source\HBIOS\Config\scz180_sc700]
AY38910ENABLE .SET TRUE ; AY: AY-3-8910 / YM2149 SOUND DRIVER
AYMODE .SET AYMODE_MSX ; AY: DRIVER MODE: AYMODE_[SCG|N8|RCZ80|RCZ180|MSX|LINC]

YM/AY Rev 6.1 Card Setup:
Screen Shot 2023-09-13 at 10.56.15 AM.png
Channel 3 1K6 resistors on the way.. :)

RomWBW Startup:
Screen Shot 2023-09-13 at 10.57.52 AM.png

Problem #1:
I initially tried the YM/AY Rev 6.1 card at register address 0x60
RomWBW could not detect the card, but I could run Ed's BASIC Descend.bas and got sound out, not the right sound mind you.. and the BASIC program would crash the computer unrecoverable.
I then tried register address 0x70 and I got the same, but the crash could be recovered with a CTRL-C

SC700 register map:
Screen Shot 2023-09-13 at 11.07.43 AM.png
Screen Shot 2023-09-13 at 11.12.54 AM.png

I don't understand why (0x60 : 0x63) and (0x70 : 0x73) were causing conflicts ?
I've since moved to 0xA0 and RomWBW recognizes the card, Ed's BASIC Descend.bas works great and tune.com now makes noise when I play a file.

Problem #2:
Now I've got tune.com making noise ... YAY!
But.. the noise is very wrong...
The first few notes sound like they could be correct, but within a second or two the music sounds like it's running away and within 3-4 seconds it sounds like scratches and scratching.  

Screen Shot 2023-09-13 at 11.20.33 AM.png
I must have missed something in the setup, but I have no idea what that could have been ?

Thank you,


--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/a8d2c1b8-43cc-475f-8c70-63e6bdd89905n%40googlegroups.com.
Message has been deleted
Message has been deleted

Wayne Warthen

unread,
Sep 15, 2023, 2:20:46 PM9/15/23
to rc201...@googlegroups.com
Well, that doesn't sound good at all!

The TUNE.COM application does not actually utilize RomWBW HBIOS at all.  It probes the hardware directly and then plays the audio file by interacting directly with the hardware.  So there really isn't any kind of config to tweak in RomWBW -- it should just work.  The TUNE startup messages look correct which indicates it is able to see the sound card at the address it should.

I am going to put together some hardware here that is virtually identical to yours and confirm everything is working properly "in the lab".  I'll post again after I have done that.

Thanks,

Wayne

On Fri, Sep 15, 2023 at 3:36 AM Leslie Marentette <ljma...@gmail.com> wrote:
Okay, I ran a stop watcher with timer.com /c
And they match.. so the timer appears to be correct.

I tried some xxxx.pt3's from the RomWBW download..
- Attack.pt3
- BadMice.pt3

Let me see if I can record..  oh I think I can...

I have attached WAV recordings of what I hear when I play Attack or Badmice

I also tried changing the Yamaha chip.. bought five.. three of them sound the same so far...

I tried retouching my solder joints..
I've tried different slots in my backplane
I pulled the FLOCK out, so it was just Z180, Mem, CF card and Sound card.
The 'noise' remains the same :)

I figure I've missed something in the RomWBW setup ...

Wayne Warthen

unread,
Sep 15, 2023, 3:58:41 PM9/15/23
to RC2014-Z80
Well, I used my SC126 Z180 system with the same sound card you are using.  It is all working great.  I really don't know what would be causing the issue you are having.  It does sound like some kind of hardware conflict, but I don't see anything that would be a problem.

Sorry I don't know what to try.

Thanks,

Wayne

Leslie Marentette

unread,
Sep 16, 2023, 12:18:07 AM9/16/23
to RC2014-Z80
Thank you for trying, 
I'll ask around and see if anyone else has an SC722 paired with a YM/AY Rev 6.1 sound card and it plays music normally... :)

Reply all
Reply to author
Forward
0 new messages