Poster | Thread |
salass00
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 14:33:45
| | [ #21 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @spotUP
Quote:
so... why is the eclock value different in AOS4?
|
Because the PPC eclock works at different frequency to the 68k one?
Quote:
struct ExecBase { /* ... */ /* The next ULONG contains the system "E" clock frequency, expressed in Hertz. The E clock is used as a timebase for the Amiga's 8520 I/O chips. (E is connected to "02"). Typical values are 715909 for NTSC, or 709379 for PAL. */ ULONG ex_EClockFrequency; /* (readable) */ /* ... */ }
|
|
|
Status: Offline |
|
|
Anonymous
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 14:43:01
| | [ # ] |
|
| *shrug* :)
Last edited by Trezzer on 19-Jun-2006 at 02:46 PM. Last edited by Trezzer on 19-Jun-2006 at 02:46 PM. Last edited by Trezzer on 19-Jun-2006 at 02:44 PM.
|
|
|
|
|
Geri
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 15:04:40
| | [ #23 ] |
|
|
|
Elite Member |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| On a classic Amiga the ECLOCK is the base system clock (7MHz) divided by 10. The signal is used by the CIAs (complex interface adapters) for their counters and the bus that interfaces the CIAs is running with this clock signal. IIRC the CIA have a 6800 compatible interface, which is running with a max. frequency of 1MHz.
I guess that DeliTracker programs the CIA counters/times directly and therefore doesn't run correctly on OS4. _________________ A1SE: G3@600MHz, 2GB, 1GBit network card A1XE: G4@933MHz, 2GB, refitted AC'97 codec microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
spotUP
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 15:06:26
| | [ #24 ] |
|
|
|
Elite Member |
Joined: 19-Aug-2003 Posts: 2896
From: Up Rough Demo Squad | | |
|
| @Geri
it runs on MOS.
_________________ AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.
http://www.asciiarena.com http://www.uprough.net |
|
Status: Offline |
|
|
Anonymous
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 15:27:10
| | [ # ] |
|
| @spotUP
Yes, because a fix/hack/patch was done. That probably won't be done in OS4 since it's strictly just for legacy software that isn't written correctly. |
|
|
|
|
spotUP
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 15:37:51
| | [ #26 ] |
|
|
|
Elite Member |
Joined: 19-Aug-2003 Posts: 2896
From: Up Rough Demo Squad | | |
|
| @Trezzer
If that's really the case, then that excludes DeliTracker and leaves us with EaglePlayer as the source is available. I've done what I can now, the subject is brought to the public, i'm stepping back to my corner now, continuing my daydreaming. _________________ AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.
http://www.asciiarena.com http://www.uprough.net |
|
Status: Offline |
|
|
Rogue
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 15:43:50
| | [ #27 ] |
|
|
|
OS4 Core Developer |
Joined: 14-Jul-2003 Posts: 3999
From: Unknown | | |
|
| @Geri
As far as I remember, it's not the reading of the CIA (it can use timer.device as well) but rather the fact that it makes assumptions about the frequency. AmigaOS 4.0 uses the CPU'S timebase register for eclock, which runs at a quarter FSB (33 MHz) and Delitracker uses a 16 bit value to store the timequantum, which simply overruns. _________________ Seriously, if you want to contact me do not bother sending me a PM here. Write me a mail |
|
Status: Offline |
|
|
Rogue
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 15:46:26
| | [ #28 ] |
|
|
|
OS4 Core Developer |
Joined: 14-Jul-2003 Posts: 3999
From: Unknown | | |
|
| @spotUP
We would need to "slow down" the eclock for that. However, the eclock is a nice accurate way of measuring time, so we're not going to do it. _________________ Seriously, if you want to contact me do not bother sending me a PM here. Write me a mail |
|
Status: Offline |
|
|
itix
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 15:52:42
| | [ #29 ] |
|
|
|
Elite Member |
Joined: 22-Dec-2004 Posts: 3398
From: Freedom world | | |
|
| @Rogue
Quote:
We would need to "slow down" the eclock for that. However, the eclock is a nice accurate way of measuring time, so we're not going to do it.
|
There is reason why MorphOS provides ReadCPUClock() and CPU clock timer units _________________ Amiga Developer Amiga 500, Efika, Mac Mini and PowerBook |
|
Status: Offline |
|
|
Anonymous
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 16:28:09
| | [ # ] |
|
| @itix
I guess that's nice. In an ideal world it shouldn't be necessary though (apps making assumptions). |
|
|
|
|
Rogue
| |
Re: Deliplayer on OS4? Posted on 19-Jun-2006 16:43:14
| | [ #31 ] |
|
|
|
OS4 Core Developer |
Joined: 14-Jul-2003 Posts: 3999
From: Unknown | | |
|
| @itix
All fine and dandy, but:
From timer.device.doc/ReadEClock():
FUNCTION This routine calculates the current 64 bit value of the E-Clock and stores it in the destination EClockVal structure. The count rate of the E-Clock is also returned.
...
RETURNS Dest -- the EClockVal structure will contain the E-Clock time E_Freq -- The count rate of the E-Clock (tics/sec).
E_Freq is there for a reason. Ignoring it is not good programming practice (i.e. the program is at fault, not timer device). At the very least, the return value should make people think twice about using a constant there (after all, why would it be there). _________________ Seriously, if you want to contact me do not bother sending me a PM here. Write me a mail |
|
Status: Offline |
|
|
elwood
| |
Re: Delitracker / Eagleplayer on OS4? Posted on 20-Jun-2006 13:46:30
| | [ #32 ] |
|
|
|
Elite Member |
Joined: 17-Sep-2003 Posts: 3428
From: Lyon, France | | |
|
| @spotUP
Quote:
Has anyone managed to get EaglePlayer to work under AOS4? |
Is it the only app that doesn't work on OS4 because of a different eclock on the A1 ? In this case, as a user I say "I don't care". I'm looking towards the future, not the past.
Quote:
it wasn't the Delitracker sources that was released, it is the EaglePlayer sources. |
So you have your solution : "delete delitracker"._________________ Philippe 'Elwood' Ferrucci Sam460 1.10 Ghz AmigaOS 4 betatester Amiga Translator Organisation |
|
Status: Offline |
|
|
NutsAboutAmiga
| |
Re: Deliplayer on OS4? Posted on 20-Jun-2006 15:33:02
| | [ #33 ] |
|
|
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12820
From: Norway | | |
|
| |
Status: Offline |
|
|
elwood
| |
Re: Deliplayer on OS4? Posted on 20-Jun-2006 15:54:59
| | [ #34 ] |
|
|
|
Elite Member |
Joined: 17-Sep-2003 Posts: 3428
From: Lyon, France | | |
|
| @NutsAboutAmiga
First, we were talking about Delitracker and not EaglePlayer. Second, how could Rogue know without looking at the code?
Last edited by elwood on 20-Jun-2006 at 03:55 PM.
_________________ Philippe 'Elwood' Ferrucci Sam460 1.10 Ghz AmigaOS 4 betatester Amiga Translator Organisation |
|
Status: Offline |
|
|
Anonymous
| |
Re: Deliplayer on OS4? Posted on 20-Jun-2006 16:46:28
| | [ # ] |
|
| @elwood
It has been discussed a long time ago. The only possible way of fixing it is to get the authors to do an update. They are still in business and they have the sources - but no incentive to update it. |
|
|
|
|
spotUP
| |
Re: Deliplayer on OS4? Posted on 20-Jun-2006 17:26:16
| | [ #36 ] |
|
|
|
Elite Member |
Joined: 19-Aug-2003 Posts: 2896
From: Up Rough Demo Squad | | |
|
| @Trezzer
yes my fault, i confused it... it wasn't the deli sources that was released, it was the eagleplayer sources, but eagleplayer is just as fine. so, eagle player is our best shot i guess.
... and just to have it said, i'm not looking at the past, i just want my new amigaone to replace my a1200 in as many ways as possible. and at the moment, there is no mod player that is on par with the old classic ones. _________________ AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.
http://www.asciiarena.com http://www.uprough.net |
|
Status: Offline |
|
|
Anonymous
| |
Re: Deliplayer on OS4? Posted on 20-Jun-2006 19:52:12
| | [ # ] |
|
| @spotUP
...or enough people could let the Delitracker people know that there's interest in an updated version for OS4... - in a very polite manner of course. :)
All we need is the timer fix. The rest should be fine. Last edited by Trezzer on 20-Jun-2006 at 07:55 PM.
|
|
|
|
|
Anonymous
| |
Re: Deliplayer on OS4? Posted on 20-Jun-2006 22:25:45
| | [ # ] |
|
| @elwood
Well, Rogue is right. From the DeliTracker include file (which is usually not public, but as Eagleplayer has cloned the API and AFAIK is backwards compatible, I assume it also carries this 16 bit timer value):
UWORD dtg_Timer ; timer-value for the CIA-Timers
In any case: A fix is not trivial and probably needs a change in all players and genie's to cater for this. Or at least the SetTimer() function pointer (which should be easier to do, but does not guarantee correct behaviour in all cases).
|
|
|
|
|
spotUP
| |
Re: Deliplayer on OS4? Posted on 20-Jun-2006 22:31:24
| | [ #39 ] |
|
|
|
Elite Member |
Joined: 19-Aug-2003 Posts: 2896
From: Up Rough Demo Squad | | |
|
| @platon42
if this is the case.... which would be kinda sad, as the sources for all replayers most surely is out of reach, then... the only way to get eagle or deli to work would be for someone to write a patch for os4 like back in the old days.. hmmm :/
let's hope it's only the main app that needs to get fixed...
anyone with the needed skills and motivation that want to take a look into the eaglepalyer sources?
_________________ AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.
http://www.asciiarena.com http://www.uprough.net |
|
Status: Offline |
|
|
Samwel
| |
Re: Deliplayer on OS4? Posted on 21-Jun-2006 8:40:24
| | [ #40 ] |
|
|
|
Elite Member |
Joined: 7-Apr-2004 Posts: 3404
From: Sweden | | |
|
| @spotUP
Why not use a newer player like Tunenet instead? If a codec is missing get someone to make one
_________________ /Harry
[SOLD] µA1-C - 750GX 800MHz - 512MB - Antec Aria case
Avatar by HNL_DK! |
|
Status: Offline |
|
|