Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
188 user(s) are online (118 user(s) are browsing Forums)

Members: 0
Guests: 188

more...

Headlines

 
  Register To Post  

Has anyone compiled co_thread for AOS?
Quite a regular
Quite a regular


See User information
Hi everybody,

Does anybody know of a working build of the co_thread library (http://byuu.org/articles/optimization) for AmigaOS? The version I have doesn't work because it causes an ISI in Grim Reaper - it has an array in which it stores compiled machine code, and tries to execute this. For some reason this work under OSX and Linux (it would appear) but causes an ISI on AmigaOS.
There's apparently a source code file for an assembly version but I can't find it - it appears to be missing,

Does anyone have any pointers they could give? Thanks to anyone who can!

--
Ian Gledhill
ian.gledhill@btinternit.com (except it should be internEt of course...!)
Check out my company's shop: http://www.mutant-caterpillar.co.uk/shop/ - specialising in Sinclair Spectrums but will be adding Amigas!
Go to top
Re: Has anyone compiled co_thread for AOS?
Quite a regular
Quite a regular


See User information
Sorry to reply to my own thread, but in case it's of use:

I think I've got it working. The program that uses it runs correctly anyway!

I did it by just making the data array in the code the prototype - then in the init function I AllocVec()'ed the array as a MEMF_EXECUTABLE chunk and copied it in, and used that as the pointer instead. It worked!

With a bit of luck I'll be uploading the program that uses it soon (see if you can work out what it is :P ).

--
Ian Gledhill
ian.gledhill@btinternit.com (except it should be internEt of course...!)
Check out my company's shop: http://www.mutant-caterpillar.co.uk/shop/ - specialising in Sinclair Spectrums but will be adding Amigas!
Go to top
Re: Has anyone compiled co_thread for AOS?
Just can't stay away
Just can't stay away


See User information
Bsnes?

Go to top
Re: Has anyone compiled co_thread for AOS?
Quite a regular
Quite a regular


See User information
Nearly - guess again. :)

Put it this way - it takes a looooong time to compile, and is too slow to be of use on anything less than an X1000, really. But I've never let a little thing like that stop me. Wish I had an X1000 though.

Of course if anyone wants to test it on their hardware, whatever it is, let me know.

Oh, it works, too. :)

--
Ian Gledhill
ian.gledhill@btinternit.com (except it should be internEt of course...!)
Check out my company's shop: http://www.mutant-caterpillar.co.uk/shop/ - specialising in Sinclair Spectrums but will be adding Amigas!
Go to top
Re: Has anyone compiled co_thread for AOS?
Just can't stay away
Just can't stay away


See User information
If its not too much work i can test it for you on my x1000.

Go to top
Re: Has anyone compiled co_thread for AOS?
Quite a regular
Quite a regular


See User information
Excellent!
Can you download it from http://www.retroreview.com/iang/mametiny0145.lha please?

If you extract it somewhere on your hard disk (it didn't work when I did it from RAM just now - not looked at it properly though), then start sh. I think it needs a /home directory. It may work from a normal shell if you have HOME: assigned.
Then from sh:
export SDLMAME_DESKTOPDIM=320x200

That makes it spend less time on the display, and more on processing.

Then see how any of the ROMs do. They all struggle on my machines I've tested on so far, needing at best frame skip of about 6 frames (Peg II/A1) and the SAM needs about 10 frames. Looping doesn't run at full speed at all.

It's a "tiny" build so don't bother with any ROMs not in the "tiny" ROM set.

Do please let me know what happens. :)

--
Ian Gledhill
ian.gledhill@btinternit.com (except it should be internEt of course...!)
Check out my company's shop: http://www.mutant-caterpillar.co.uk/shop/ - specialising in Sinclair Spectrums but will be adding Amigas!
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project