Jump to content
IGNORED

Audio counters?


StinkerB06

Recommended Posts

According to Part 14 of the Atari Lynx Programming Tutorial, it says that Bit 3 in a "Static and dynamic control" register enables its timer.

 

As for audio timers, does clearing it make the channel stay active forever, or does it shut itself off?

I notice that Lynx Chipper cuts off the note after 2 seconds of playback, so it probably means the counter is on the max value and "Reload" (Bit 4) is disabled.

I know that an IRQ is generated when the value is reloaded, does it reset LFSR sound phase?? Does this also affect "Integrate" (Bit 5) mode?

Also, what does "Reset timer done" (Bit 6) do? Does it generate IRQ when it's changed to something different than last write?

Is "Enable interrupt" (Bit 7) persistent on audio? It is used as LFSR feedback bit 7, but in Chipper its checkbox is grayed out. Probably means feedback bit 7 can't be used while counting.

Link to comment
Share on other sites

According to Part 14 of the Atari Lynx Programming Tutorial, it says that Bit 3 in a "Static and dynamic control" register enables its timer.

 

As for audio timers, does clearing it make the channel stay active forever, or does it shut itself off?

I notice that Lynx Chipper cuts off the note after 2 seconds of playback, so it probably means the counter is on the max value and "Reload" (Bit 4) is disabled.

I know that an IRQ is generated when the value is reloaded, does it reset LFSR sound phase?? Does this also affect "Integrate" (Bit 5) mode?

Also, what does "Reset timer done" (Bit 6) do? Does it generate IRQ when it's changed to something different than last write?

Is "Enable interrupt" (Bit 7) persistent on audio? It is used as LFSR feedback bit 7, but in Chipper its checkbox is grayed out. Probably means feedback bit 7 can't be used while counting.

 

The Bit 3 stops the audio when it is cleared.

 

Chipper has a alot of extra functionality. It may be easier to use the C-version of ABCmusic to experiment in what different bits are doing.

testaudio.zip

Link to comment
Share on other sites

 

The Bit 3 stops the audio when it is cleared.

 

Chipper has a alot of extra functionality. It may be easier to use the C-version of ABCmusic to experiment in what different bits are doing.

What do I have to do with those files? I don't get it.

 

Can you provide me with a program that has an onscreen visual of every register, so that we can understand sound more better?

Link to comment
Share on other sites

What do I have to do with those files? I don't get it.

 

Can you provide me with a program that has an onscreen visual of every register, so that we can understand sound more better?

 

Of course.

 

You can download a visual tool to access all the registers from http://www.ataritimes.com/index.php?ArticleIDX=418

 

I wrote this in 2004 and all the register bits are easily accessible from a graphical interface.

 

post-2099-0-29056900-1512934700.png

 

The top row contains the hardware bits affecting the sound.

 

The bottom row is run by the CPU to control tempo and a simple waveform.

Edited by karri
Link to comment
Share on other sites

 

Of course.

 

You can download a visual tool to access all the registers from http://www.ataritimes.com/index.php?ArticleIDX=418

 

I wrote this in 2004 and all the register bits are easily accessible from a graphical interface.

 

attachicon.gifScreenshot from 2017-12-10 21-37-52.png

 

The top row contains the hardware bits affecting the sound.

 

The bottom row is run by the CPU to control tempo and a simple waveform.

What's a ".o" file?

Link to comment
Share on other sites

An ".o" file is a file that you can upload to the Lynx using the ComLynx interface. It has a small header that is also called the BLL header.

 

In a time when the encryption process was not fully understood one of the ways to run unsigned code on the Lynx was to build it ComLynx uploaders into hobby cart releases like S.I.M.I.S.

 

It is a bit tricky to convert it to a .lnx file so I will do it for you.

 

 

abclnx.zip

Link to comment
Share on other sites

An ".o" file is a file that you can upload to the Lynx using the ComLynx interface. It has a small header that is also called the BLL header.

 

In a time when the encryption process was not fully understood one of the ways to run unsigned code on the Lynx was to build it ComLynx uploaders into hobby cart releases like S.I.M.I.S.

 

It is a bit tricky to convert it to a .lnx file so I will do it for you.

 

 

Will not work on mednafen

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...