Minimig Discussion Forum

Discussing the Open Source FPGA Amiga Project
It is currently Mon May 20, 2013 7:20 pm

All times are UTC




Post new topic Reply to topic  [ 357 posts ]  Go to page Previous  1 ... 32, 33, 34, 35, 36
Author Message
 Post subject: Re: write here about software which makes problems until now
PostPosted: Wed Jul 18, 2012 11:03 am 
Offline

Joined: Mon Dec 01, 2008 9:58 pm
Posts: 1406
Location: .de
Im offering help/test/cooperate in implementing the DAC in the MinimigV1.
Currently it seems to be a bit hard (to me) to implement the code in the core structure.
If its done, its ready for testing and adjustments :)

_________________
__________________________________________________________
JSR $BED ; will guru-meditation until next morning


Top
 Profile  
 
 Post subject: Re: write here about software which makes problems until now
PostPosted: Wed Jul 18, 2012 10:23 pm 
Offline

Joined: Sun Jan 04, 2009 3:48 am
Posts: 80
MMrobinsonb5 wrote:
Let me see how difficult it is to use Frenchshark's DAC first, and then see how difficult my modified filter idea turns out to be. (One complication is that each DAC will be converting the sum of two independent channels, so the length of time between level changes won't be constant.)

Now that you are telling that, I remember that was one reason I did not explore that path.
Another reason is that the 6-bit volume change is not synchronous with the 8-bit sample change.
Potentially, you can get quite some 15-bit sample changes over a 256-cycle window.

On the other hand, putting only the new DAC is quite trivial but you will get that metallic sound.
You can try also a simpler 1st order IIR filter. The article from Antti Lankila gives some good hints : http://www.bel.fi/~alankila/modguide/interpolate.txt

Regards,

Frederic


Top
 Profile  
 
 Post subject: Re: write here about software which makes problems until now
PostPosted: Thu Jul 19, 2012 8:17 am 
Online

Joined: Tue Dec 13, 2011 7:48 pm
Posts: 240
frenchshark wrote:
Now that you are telling that, I remember that was one reason I did not explore that path.
Another reason is that the 6-bit volume change is not synchronous with the 8-bit sample change.
Potentially, you can get quite some 15-bit sample changes over a 256-cycle window.


Ah yes. (Fun fact: the Amiga's volume control was apparently implemented as a PWM gate on the audio path.) I would imagine registering the volume transitions to become synchronous with the sample edges would be possible, though, and wouldn't impair accuracy to any great degree.

Quote:
On the other hand, putting only the new DAC is quite trivial but you will get that metallic sound.


Indeed - I've got the DAC itself working on the cheap EBay CIII board I've been using for experimentation.

The output of the 3rd order filter seems rather attenuated compared with the simple 1st order filter I've been playing with, though. Is this a side-effect of the algorithm, or a deliberate choice to keep the output at line level when driven from 3.3v?

Quote:
You can try also a simpler 1st order IIR filter. The article from Antti Lankila gives some good hints : http://www.bel.fi/~alankila/modguide/interpolate.txt


Ah thanks for that - I've just had a quick peep, and there's some good info there.

Edit: by the way, is there a practical upper limit to the frequency at which a sigma delta DAC can run before imperfect waveforms on the output pins of the FPGA become an issue, or is it OK in practice to run them at near the fmax?

_________________
~ Amiga 4000/030 ~ Amiga 1200 030/50MHz ~ Turbo Chameleon 64 ~ Altera DE1 with Minimig core ~
Details of my projects: http://retroramblings.net


Top
 Profile  
 
 Post subject: Re: write here about software which makes problems until now
PostPosted: Thu Jul 19, 2012 6:17 pm 
Offline

Joined: Sun Jan 04, 2009 3:48 am
Posts: 80
MMrobinsonb5 wrote:
The output of the 3rd order filter seems rather attenuated compared with the simple 1st order filter I've been playing with, though. Is this a side-effect of the algorithm, or a deliberate choice to keep the output at line level when driven from 3.3v?

I noticed that too, I think it is a side effect of the algorithm. You can play with the quantizer :
assign w_data_qt_p2 = (r_data_fwd_p2[23]) ? 24'hF00000 : 24'h100000;
Be careful of not saturating the computation.

Quote:
Edit: by the way, is there a practical upper limit to the frequency at which a sigma delta DAC can run before imperfect waveforms on the output pins of the FPGA become an issue, or is it OK in practice to run them at near the fmax?

Since it is a passive RC filter, you will always get imperfect waveform, switching at many MHz. ;)
I ran mine at 85.9 MHz without any problem. It might get tough on the I/O drivers.

Regards,

Frederic


Top
 Profile  
 
 Post subject: Re: write here about software which makes problems until now
PostPosted: Thu Jul 19, 2012 6:29 pm 
Offline

Joined: Mon Dec 01, 2008 9:58 pm
Posts: 1406
Location: .de
I suggest the DAC discussion would better fit in the Development thread ;)

_________________
__________________________________________________________
JSR $BED ; will guru-meditation until next morning


Top
 Profile  
 
 Post subject: Re: write here about software which makes problems until now
PostPosted: Thu Jul 19, 2012 7:08 pm 
Online

Joined: Tue Dec 13, 2011 7:48 pm
Posts: 240
boing4000 wrote:
I suggest the DAC discussion would better fit in the Development thread ;)


Good point - the next step for me is to try and get some FFT plots , so if no-one beats me to it, I'll start one in the Development forum when I'm ready to post them.

_________________
~ Amiga 4000/030 ~ Amiga 1200 030/50MHz ~ Turbo Chameleon 64 ~ Altera DE1 with Minimig core ~
Details of my projects: http://retroramblings.net


Top
 Profile  
 
 Post subject: Re: write here about software which makes problems until now
PostPosted: Thu Sep 20, 2012 11:19 pm 
Offline

Joined: Wed May 27, 2009 10:51 pm
Posts: 450
I have news here to some of the few games, which can not be loaded until now on the Minimig.

The two games "ARCADE POOL" and "THE DEEP" don`t work at all on the Minimig, when normal Diskversions of them was used.

But especially "ARCADE POOL" is a great game, which i also wanted to play on my Minimig.

So, yesterday i created some "Loader-Disks" for this games and i was successful in making this two games work now.

The game "ARCADE POOL" works perfect now with this Loader-Disk. No problems at all. It just has 2 Disks now, instead of 1.

The game "THE DEEP" has massive problems with the loading-process on the Minimig and until now, also freezing the game, just resulted in a blackscreen. But now with this Loader-Disk here, i succeeded in making a workable ingame-freeze and it´s normal playable now. Sadly, when you lost all lifes, the game don`t go back to the game-menue, but rather hangs in a blackscreen then. So the Minimig must be resetted to play again. Not perfect, but better than nothing, because the game itself works perfect, just when you finish a game it hangs.

So here are the Minimig Loader-Disks for this two games. Just rename from pdf to adf and use the Minimig-settings, which was written as instructions in the Amiga-DOS in the files itself.


Attachments:
Arcade Pool - 1.pdf [880 KiB]
Downloaded 58 times
Arcade Pool - 2.pdf [880 KiB]
Downloaded 43 times
The Deep.pdf [880 KiB]
Downloaded 53 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 357 posts ]  Go to page Previous  1 ... 32, 33, 34, 35, 36

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr