![]() |
![]() |
#41 | |||
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Quote:
In the linked document there is a DMA one, other not. It is not specified in detaill but the only possible way when is written "DMA audio playback is limited to a maximum output rate of 28867 values per channel (PAL: 28837) per second totaling 57674 (PAL: 57734) values per second on each stereo output" is to temporally interleave and synchro two samples from two channels in the same stereo voice. Not trivial as it sound. and resulting sound can delude you, because how Paula PWM works. Second method is what Toni already mentioned in this same thread: CPU intensive and non-DMA. Theoretically Paula can emit sounds at a frequency of 1.77Mhz (PAL) (a bare square wave) but there are two impassable limits: 1) Volume is implemented with PWM technique so for periods less than 64 (possible volume steps available) you are forced to use the maximum volume. This corresponds to a frequency of 55420Hz (PAL). 2) At output stage it has 2 filters and one cannot be deactivated. This does not mean that it cannot emit high frequency harmonics but the sound is colored. And this filter, variable channel frequency and volume PWN are responsible for Paula unique sound ![]() Quote:
But where is technical details? I seriously doubt there is something new here.. Quote:
What you do with it depends on you (and it may also be of no use) ![]() |
|||
![]() |
![]() |
#42 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,814
|
for an idiot like myself what is UHRES?
|
![]() |
![]() |
#43 |
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 329
|
An undocumented feature in ECS Agnus and AGA Alice that is suspected to have been intended to allow a high resolution video output, possibly similar to the A2024 monitor but integrated into the computer. As it stands, there's no hardware to use this feature and it's not clear how it should work, or even if it does actually work as it presumably was meant to.
Does anyone know anything about the history of the Amber chip and rest of the scan doubler? I was just wondering if maybe it was originally intended for this UHRES function and then ended up being cut down to just scan doubling/deinterlacing. Last edited by Rotareneg; 25 September 2019 at 04:56. |
![]() |
![]() |
#44 | |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,814
|
Thanks for the explanation
![]() Quote:
|
|
![]() |
![]() |
#45 | ||||||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,878
|
Quote:
Also as visible on many Paula die photo - there are 4 DAC's thus no time sample interleaving (weird as die could be half of the current size). Quote:
http://eab.abime.net/showthread.php?t=65348 Quote:
Quote:
Low pass filter should reconstruct valid samples (PWM*PWM) - problem is probably hidden in relatively slow OPAMP thus at least first stage of this filter should be passive LC design - like in first Amiga a.k.a. Amiga 1000 (or replace current OPAMP with very fast one) btw Copper can be used to keep this synchronized and accurate i.e. low jitter - low jitter is essential to avoid "coloration". Quote:
And for Paula "uniqueness" i would blame too low sample rate of audio samples (too many aliasing) - outcome of small CHIP RAM. Quote:
AAA would be unavoidable fail anyaway. Instead insane AAA complexity, CBM should expose original chipset digital video (as form of overlay like blit bitmap) and use PCI based video card... secure legacy software and open architecture for future. Last edited by pandy71; 26 September 2019 at 20:25. |
||||||
![]() |
![]() |
#46 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Yup, much you have written are possible (I've simplified for a pretty standard usage or better "relatively" advanced).
EDIT: and yes Paula PWM is a mistery but http://eab.abime.net/showpost.php?p=...8&postcount=81 I seem to have read the thread of which you posted the link, very interesting. In the distant past I made a replayer through Copper so I know that's possible, I've simply omitted it ![]() I did not understand this passage though: Well if you modify audio buffer word frequently then it can be more than two samples (Copper driven Audio DMA?) Can you elaborate? There is enough time to feed Paula for a frequency >1.7Mhz? Last edited by ross; 26 September 2019 at 20:53. |
![]() |
![]() |
#47 | |
Registered User
Join Date: Dec 2014
Location: germany
Posts: 439
|
Quote:
Banging those registers I mentioned (UHRES specific pointers/modulos/identifiers) should not alter chipset timing at all. You can try it yourself it you've got a real ECS/AGA Amiga around. Anyway, I still don't see the point why it matters for compatibility to change registers no one ever used. |
|
![]() |
![]() |
#48 |
Registered User
Join Date: Dec 2014
Location: germany
Posts: 439
|
Maybe not strictly UHRES related, but as it concerns ECS and may (or not) give some clues about UHRES, I'll post it here:
I noticed something interesting when having a look with the UAE debugger at the A2024 JumpStart disk, which is a special WB disk containing kick 1.4-beta code (exec v35.6, graphics 35.15, intution 35.45) to support the A2024 monitor and it's higher resolution. It is from 1988. Now what's interesting about it? It reads VPOSR for the Agnus revision, but also DENISEID. The latter register was only introduced with the ECS Denise. It checks for value 0xfc (ECS Denise 8373) and 0xfe (according to this document, also from 1988 btw., a prototype Denise numbered 8369). Both values result in the same operation (bit set in memory, probably some structure like GfxBase->ChipRevBits0), so one could speculate that they were largely functional identical. I only had a brief look, and my 68000 assembler skills are really rusty, so atm I could not see what it's used for. At least I do not see any writes to the UHRES related registers. But there may still be a chance that something is burried in some code that they failed to remove and that is never executed. It may be, of course, just contain some support for the known ECS enhancements or nothing at all. It's rather stunning that Commodore had the ECS Agnus and Denise already in 1988 and maybe even a bit earlier, judging from the 8369 prototype mentioned in the above doc, and did not release it officially until mid-1990 with the A3000... |
![]() |
![]() |
#49 | |||
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,878
|
Quote:
Personally i would design Paula in different way, use NCO instead counter (so provide very fine AUDxPER even for 16 bit tuning word - assuming 20 - 24 bit NCO with few low and perhaps high bits hardwired), i would do only 2 physical DAC's and use time sharing (interleaving) to support 4 channels on those DAC's, perhaps add some PANorama register (as such provide source location between L and R channel)... Anyway Paula was breakthrough in computer world - i think good example how Amiga (and Paula) inspired artist is music of the Susumu Hirasawa [ Show youtube player ] or [ Show youtube player ] btw This is last time He used A4000 with Bars & Pipes (so not only Paula but also MIDI). Quote:
Yes, software PWM will be slow but also response of filter will be limited due capacitance so i assume few hundred Hz should be sufficient to control LPF. Quote:
Last edited by pandy71; 30 September 2019 at 21:31. |
|||
![]() |
![]() |
#50 | |||
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Quote:
How you can force this transition and reload AUDxDAT on the very bandwidth limited internal bus and also reset the IRQ? I don't think it's possible but I'd be happy to be denied ![]() Quote:
![]() Quote:
![]() |
|||
![]() |
![]() |
#51 | |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,878
|
Quote:
I think on other approach - using two channel but in special pattern - sample sequence split on odd and even samples, form word made from odd byte + 0 (null) on one channel and on second channel even sample + 0 - sequence will be like 0;odd;0;even;0;odd;0;even;0;odd;0;even... PAN and NCO - for N bit NCO frequency resolution uniformly distributed across whole frequency range will be: @N=16 bit (fit in current register map 1:1) - 54.1213226318359Hz @N=20 bit 3.38258266448975Hz @N=24 bit 0.211411416530609Hz This means no problem with CD audio playout (44.1/22.05kHz vs Amiga AUDxPER) btw same rule for UART... |
|
![]() |
![]() |
#52 |
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 329
|
Alice schematics have shown up online and include logic for the UHRES mode on page 8: http://eab.abime.net/showthread.php?p=1444496
|
![]() |
![]() |
#53 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,573
|
It confirms what we have already found. Dual switches between normal hpos counter and separate hhpos counter. Has 2 DMA channels (BPLHDAT and SPRHDAT), priority above copper but below bitplanes etc..
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Curiosity | tygre | support.Hardware | 5 | 08 June 2011 09:27 |
Error explanation?? | ORSM T | support.Hardware | 7 | 01 June 2007 07:36 |
code explanation | BippyM | Coders. General | 19 | 01 May 2007 14:12 |
Microcosm CD32 curiosity | Ian | support.WinUAE | 12 | 12 April 2007 16:03 |
A combination of boredom and curiosity! | Mick_AKA | Retrogaming General Discussion | 21 | 03 July 2003 11:46 |
|
|