beeeepp!

Door PingPong

Prophet (3460)

afbeelding van PingPong

02-01-2017, 20:50

hi, all and good year.
Does some one know how msx beep generate the sound? i know it drive the sound port via cpu, but where it get the data from for the various 'kind' of beep tones?
thx. in advance

Aangemeld of registreer om reacties te plaatsen

Van Louthrax

Prophet (2093)

afbeelding van Louthrax

02-01-2017, 21:27

That's a good question. With some luck the sound is produded in an "atomic" CPU loop (not using interruptions). Just use openMSX and break into the code when the beep is playing (using one of the "long" beep version) ?

Van ARTRAG

Enlighted (6279)

afbeelding van ARTRAG

02-01-2017, 22:25

Put a break point at 0xc0 and follow the code when a beep is executed

Van gdx

Prophet (3085)

afbeelding van gdx

03-01-2017, 12:25

The Beep and the click sound of keys are produced by PPI.

Van hit9918

Prophet (2868)

afbeelding van hit9918

05-01-2017, 08:56

but, when you say sound 8,8 then it makes the same tone as beep.
so the beep was made by AY.

Van hit9918

Prophet (2868)

afbeelding van hit9918

05-01-2017, 09:02

a beep with the keyboard click I would expect to be louder, full amplitude like sound 8,15.
and when after sound 8,8 you press CTRL-G, then it sounds like "simply off".
a beep happened but it sounded no different than sound 8,8, the impression is "simply off".
it's these indications that make me assume AY without further looking.

Van zeilemaker54

Master (249)

afbeelding van zeilemaker54

05-01-2017, 11:29

Beep is generated by the PSG for sure.
See my MSXSYSSRC project:
MSX1:
https://sourceforge.net/p/msxsyssrc/git/ci/master/tree/base1..., beep is on A1113
MSX2:
https://sourceforge.net/p/msxsyssrc/git/ci/master/tree/base2..., beep is on J1A62

Van gdx

Prophet (3085)

afbeelding van gdx

05-01-2017, 12:23

You are right.

Van zeilemaker54

Master (249)

afbeelding van zeilemaker54

05-01-2017, 15:09

zeilemaker54 wrote:

Beep is generated by the PSG for sure.
See my MSXSYSSRC project:
MSX1:
https://sourceforge.net/p/msxsyssrc/git/ci/master/tree/base1..., beep is on A1113
MSX2:
https://sourceforge.net/p/msxsyssrc/git/ci/master/tree/base2..., beep is on J1A62

Turbo-R version is better commented:
https://sourceforge.net/p/msxsyssrc/git/ci/master/tree/base4..., beep is on J1B58

Van witchspace

Supporter (5)

afbeelding van witchspace

01-02-2017, 07:53

Those disassembled ROM listings are nice, incredible work zeilemaker54.