Login
Username:

Password:

Remember me



Lost Password?

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

Members: 0
Guests: 1

more...
   All Posts (BSzili)


(1) 2 3 4 ... 151 »


Re: Probably my last post..

Joined:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1506
Offline
I wouldn't consider getting paid for hard work a handout.

Posted on: 6/9 2:43
_________________
My AROS&MorphOS ports
Arguments that explain everything... explain nothing.
Transfer the post to other applications Transfer


Re: Probably my last post..

Joined:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1506
Offline
If anybody deserves a chunk of the AROS Development Fund it's Kalamatee. There must be a way to help out...

Posted on: 6/8 10:42
_________________
My AROS&MorphOS ports
Arguments that explain everything... explain nothing.
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: 41

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/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:
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:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1506
Offline
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.

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


Re: lowlevel.library enhancements

Joined:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1506
Offline
Awesome! At a brief glance you don't seem to be using the timer handle at all? There will be no way to start multiple timers without it. I'll check it out in detail later.

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


Re: lowlevel.library enhancements

Joined:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1506
Offline
@Kalamatee
The code I linked does what the lowlevel.library timer can do, it just needs a slightly different interface. The oldest version of refkeen I used this code because I didn't know about the lowlevel.library timer. I don't have this version anymore.

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


lowlevel.library enhancements

Joined:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1506
Offline
Recently I've been making 68k game ports, and when I tested them with the AROS ROM I found that they didn't work properly. I checked, and AROS only implements a limited subset of lowlevel.library. I used to rely on it extensively, but right now I only use the timer interrupt from it. The RKRM Devices manual has an example for cia.resource, which could be reused to implement AddTimerInt() RemTimerInt() StartTimerInt() and StopTimerInt():
http://amiga.sourceforge.net/amidevhe ... ource/ex01_cia.resource.c
(Of course this is for 68k only, the rest of the architectures need a generic timer task.)
Are there any developers who would be interested in incorporating this into AROS' lowlevel.library?

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


Re: AROS68K: Development Methodology And Bounties

Joined:
2011/9/25 1:23
From Hungary
Group:
Member
Posts: 1506
Offline
It's almost as if he wanted to force GitHub down the throats of AROS developers at all cost.

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



 Top
(1) 2 3 4 ... 151 »




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
2073
9 Kalamatee
Kalamatee
2023
10 damocles
damocles
1789
© 2004-2017 AROS Exec