Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
2 user(s) are online (1 user(s) are browsing Forum)

Members: 1
Guests: 1

mordesku, more...

Browsing this Thread:   1 Anonymous Users



« 1 (2) 3 »


Re: lowlevel.library enhancements

Joined:
2004/3/29 9:54
From Scotland "The Cold"
Group:
Member
Posts: 2023
Offline
Quote:

BSzili wrote:
Oops, you are absolutely right. I missed this part of the documentation:

Quote:

Only a single CIA timer will be allocated by this routine. So this
routine may only be called once without an intervening call to
RemTimerInt().


Although these two seem to be somewhat contradicting it:

Quote:

If your program is to exit without reboot, you MUST match all
calls to this function with calls to RemTimerInt() before exiting.

Even if you only use the function once in your program; checking
the return value will make your program more tolerant for
mulititasking on the Amiga computer platforms.

Why the heck is the handle there if you can't allocate multiple timers? It might as well return a boolean :\
Just to be sure I'll check with a small test program later, but one timer is enough for me and given what's in the documentation, I hardly think anybody dared to set up multiple interrupts with it.


I came to a similar conclusion - it's the same for the vblank handler (seems a bit silly to only allow one thing).

We could probably change it and just fire off handlers from a list (at least for the vblank handler), but I digress.

If you can let me know the outcome of the testing it would be very helpful.

Posted on: 5/18 10:38
_________________
Click to see original Image in a new window
Transfer the post to other applications Transfer


Re: lowlevel.library enhancements

Joined:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1506
Offline
I checked it and the second nested AddTimerInt returns NULL, so there really can't be more than one simultaneous timers. The first one seems to return some pointer, so this is an arbitrary limit :)

Posted on: 5/18 10:56
_________________
My AROS&MorphOS ports
Arguments that explain everything... explain nothing.
Transfer the post to other applications Transfer


Re: lowlevel.library enhancements

Joined:
2004/3/29 9:54
From Scotland "The Cold"
Group:
Member
Posts: 2023
Offline
Great - so it should hopefully just need starttimerint implemented.

Posted on: 5/18 12:23
_________________
Click to see original Image in a new window
Transfer the post to other applications Transfer


Re: lowlevel.library enhancements

Joined:
2004/3/29 9:54
From Scotland "The Cold"
Group:
Member
Posts: 2023
Offline
Ok it should be implemented, but I'm not sure if it will make tonight's nightly - check if the library is version 40.7.

Posted on: 5/18 17:33
_________________
Click to see original Image in a new window
Transfer the post to other applications Transfer


Re: lowlevel.library enhancements

Joined:
2010/8/30 7:20
Group:
Member
Posts: 899
Offline
amazing..

Posted on: 5/18 20:20
Transfer the post to other applications Transfer


Re: lowlevel.library enhancements

Joined:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1506
Offline
Indeed it is, great job and thanks! I'll grab the next nightly tomorrow and give it a go.

Posted on: 5/19 3:07
_________________
My AROS&MorphOS ports
Arguments that explain everything... explain nothing.
Transfer the post to other applications Transfer


Re: lowlevel.library enhancements

Joined:
2004/4/7 4:26
Group:
Member
Posts: 4340
Offline

Posted on: 5/19 9:40
_________________
p.bes
Icaros Desktop AROS distribution mantainer
Transfer the post to other applications Transfer


Re: lowlevel.library enhancements

Joined:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1506
Offline
I grabbed the 05/19 nightly, gave it a test, and it doesn't seem to work. I uploaded a small test program that was included on the ADCD. On AmigaOS it shows a negative number for the deviation when I press Start, on AROS it always stays 0.

Attach file:


tgz TIMERINT.TGZ Size: 10.86 KB; Hits: 40

Posted on: 5/19 12:52
_________________
My AROS&MorphOS ports
Arguments that explain everything... explain nothing.
Transfer the post to other applications Transfer


Re: lowlevel.library enhancements

Joined:
2011/5/10 23:05
Group:
Member
Posts: 76
Offline
One possible problem: timeInterval (microseconds) is not converted to CIA E-clocks.

Posted on: 5/20 10:28
Transfer the post to other applications Transfer


Re: lowlevel.library enhancements

Joined:
2012/4/16 8:41
From Brindisi (Italy)
Group:
Member
Posts: 1087
Offline
Ciao BSzili i do not know how it works TIMERINT, i tested it TIMERINT with the lowlevel.library 41.28 downloaded from Aminet and using "Mode Continuos" the OS3 system goes into Crash.

Posted on: 5/22 6:42
_________________
https://www.plagimusicali.net/
Transfer the post to other applications Transfer



« 1 (2) 3 »



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4340
2 magorium
magorium
4095
3 phoenixkonsole
phoenixkonsole
3887
4 nikolaos
nikolaos
3677
5 deadwood
deadwood
2923
6 ncafferkey
ncafferkey
2616
7 mazze
mazze
2207
8 clusteruk
clusteruk
2068
9 Kalamatee
Kalamatee
2023
10 damocles
damocles
1789
© 2004-2017 AROS Exec