English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 3045
Search took 0.24 seconds.
Search: Posts Made By: Thorham
Forum: Amiga scene Yesterday, 15:41
Replies: 592
Views: 20,972
Posted By Thorham
I bench marked my code on a 50mhz 68030, and it...

I bench marked my code on a 50mhz 68030, and it really is 10 cycles. Obviously, the code was executed from the cache completely.
Forum: Amiga scene Yesterday, 14:27
Replies: 592
Views: 20,972
Posted By Thorham
Check the manual. Exg really is 4 and non taken...

Check the manual. Exg really is 4 and non taken byte branches are 4. Just benched it, and my code always executes in 10 cycles.
Forum: Amiga scene Yesterday, 14:19
Replies: 592
Views: 20,972
Posted By Thorham
The cmp is 2 cycles, the exg is 4 cycles, the...

The cmp is 2 cycles, the exg is 4 cycles, the bgt.s is 4 cycles when it's not taken and 8 cycles when it is. This adds up to 10 cycles in both cases. Note that this is based on 68030 timings, so it...
Forum: Amiga scene Yesterday, 13:34
Replies: 592
Views: 20,972
Posted By Thorham
Faster on 68020 and 68030: cmp.l d0,d1 ...

Faster on 68020 and 68030:
cmp.l d0,d1
bgt.s .l1
exg d0,d1
.l1
Forum: Amiga scene Yesterday, 12:18
Replies: 592
Views: 20,972
Posted By Thorham
What's SAS? I tried googling it but that didn't...

What's SAS? I tried googling it but that didn't get me very far.
Forum: Amiga scene Yesterday, 11:26
Replies: 592
Views: 20,972
Posted By Thorham
It's more about knowing the concepts involved...

It's more about knowing the concepts involved then about implementing everything in the book as is.

For me, Amiga like wouldn't be the goal of writing a new OS anyway. We already have AOS, AOS 4,...
Forum: Amiga scene Yesterday, 10:39
Replies: 592
Views: 20,972
Posted By Thorham
Is it that bad? Indeed. Even old 16bit FPUs...

Is it that bad?

Indeed. Even old 16bit FPUs can handle 64bit (and 80bit!) floats.

:lol

It's the book Operating System Concepts.
Forum: Amiga scene Yesterday, 01:16
Replies: 592
Views: 20,972
Posted By Thorham
:D Still doesn't seem too difficult,...

:D

Still doesn't seem too difficult, especially since I have an OS book.

Starting from scratch might not be a bad idea, unless you're running it on a recent CPU. Assuming there's nothing wrong...
Forum: Amiga scene 23 May 2018, 17:43
Replies: 592
Views: 20,972
Posted By Thorham
Somehow I didn't understand exactly what you...

Somehow I didn't understand exactly what you meant :o

No, you don't, but you can still use the script language for automating things if you want.

Just what's in the archive I gave you earlier....
Forum: Amiga scene 23 May 2018, 17:04
Replies: 592
Views: 20,972
Posted By Thorham
The calculator already runs directly. Yeah,...

The calculator already runs directly.

Yeah, I can see how it could be a problem.

How hard can it be?
Forum: Amiga scene 21 May 2018, 22:35
Replies: 592
Views: 20,972
Posted By Thorham
If you mean Lua code, then all I have is in the...

If you mean Lua code, then all I have is in the archive. If it's C, then you need the Cephes library object file and link it to your own test program because I have nothing that runs directly.

A...
Forum: Amiga scene 21 May 2018, 21:07
Replies: 592
Views: 20,972
Posted By Thorham
The Cephes library should be more than mature...

The Cephes library should be more than mature enough. Been around since the early '80s or something. The calculator should also be fine. Would be interesting to see what you can find.

The problem...
Forum: Amiga scene 21 May 2018, 15:37
Replies: 75
Views: 2,886
Posted By Thorham
Wouldn't be surprised if it ends up being...

Wouldn't be surprised if it ends up being possible to just print new chips.
Forum: Amiga scene 21 May 2018, 15:03
Replies: 592
Views: 20,972
Posted By Thorham
It probably isn't.

It probably isn't.
Forum: Amiga scene 21 May 2018, 15:02
Replies: 592
Views: 20,972
Posted By Thorham
Probably because they're used for the wrong thing...

Probably because they're used for the wrong thing or in the wrong way. For a calculator with 384bit floats it really doesn't matter much at all.

Also, some examples would be fun.

Yes, but why...
Forum: Amiga scene 21 May 2018, 01:22
Replies: 75
Views: 2,886
Posted By Thorham
That's probably only going to happen when our sun...

That's probably only going to happen when our sun starts swelling up in a billion years or so :D
Forum: Amiga scene 20 May 2018, 13:45
Replies: 592
Views: 20,972
Posted By Thorham
My Lua calculator defaults to 30 digits out of...

My Lua calculator defaults to 30 digits out of ~100, so it's not a problem there.

While that would be nice, the only decimal floating point package I could find that's easy to compile with SASC...
Forum: Amiga scene 20 May 2018, 13:25
Replies: 598
Views: 55,281
Posted By Thorham
Try meynaf's Dungeon Master port on a 68030 and...

Try meynaf's Dungeon Master port on a 68030 and you'll understand the advantage.
Forum: Amiga scene 19 May 2018, 17:09
Replies: 592
Views: 20,972
Posted By Thorham
It's not uncommon to express binary floating...

It's not uncommon to express binary floating point precision in decimal significant digits. It's convenient. 368bit doesn't tell me much at all. It doesn't tell me the size of the mantissa and it...
Forum: Amiga scene 19 May 2018, 13:52
Replies: 592
Views: 20,972
Posted By Thorham
That's nitpicking. Completely disagree :p ...

That's nitpicking.
Completely disagree :p

But 640x200 in 4 colors is. 640x256 or 640x200 in 4 colors is the Workbenches default!

Patches will get rid of that.

It's what was released by...
Forum: Amiga scene 18 May 2018, 17:40
Replies: 592
Views: 20,972
Posted By Thorham
For a calculator with 100 significant digits I...

For a calculator with 100 significant digits I wouldn't be too worried about infinitesimal inaccuracies.

With 100 digits only very slowly.

Yes, for simply formulae and customization, not for...
Forum: Amiga scene 18 May 2018, 17:40
Replies: 592
Views: 20,972
Posted By Thorham
So most Amiga games aren't the Amiga experience? ...

So most Amiga games aren't the Amiga experience?

It still doesn't change the Amiga hardware into something else.

OCS, ECS and AGA + 68k.

I can't agree with that at all. The way I see it is...
Forum: Amiga scene 18 May 2018, 13:47
Replies: 592
Views: 20,972
Posted By Thorham
The OS is not required to use the Amigas...

The OS is not required to use the Amigas capabilities, as shown by the countless games that don't use the OS, while the hardware mostly affects the OSs graphics subsystem. There's no reason at all...
Forum: Amiga scene 18 May 2018, 13:39
Replies: 592
Views: 20,972
Posted By Thorham
Decimals aren't exact, either. The problem isn't...

Decimals aren't exact, either. The problem isn't the base, the problem is the fact that the number of significant digits is finite.

They probably use doubles. Tried it with Cephes, and it works...
Forum: Amiga scene 18 May 2018, 13:03
Replies: 75
Views: 2,886
Posted By Thorham
Amiga all the way, but WinUae is great for...

Amiga all the way, but WinUae is great for compiling large C source code because it's soooo much faster than my 50mhz 68030.
Forum: Amiga scene 18 May 2018, 12:50
Replies: 592
Views: 20,972
Posted By Thorham
I find it stunning that Amiga is seen as a...

I find it stunning that Amiga is seen as a software platform. Like the peecee is Windows or something.
Forum: Amiga scene 18 May 2018, 12:45
Replies: 592
Views: 20,972
Posted By Thorham
They're binary. :D They are, but I'm...

They're binary.

:D

They are, but I'm NOT porting that thing. No way. No sirree :p Combining Lua 5.3 and Cephes is pretty easy, and the Lua interpreter can already be used as a calculator, so...
Forum: Amiga scene 17 May 2018, 23:22
Replies: 592
Views: 20,972
Posted By Thorham
Exactly. Cephes floats have ~100 significant...

Exactly. Cephes floats have ~100 significant decimal digits and an exponent range of about 5000 to -5000. Good enough for almost anything.

But now I would need a big int library just for...
Forum: Amiga scene 17 May 2018, 18:31
Replies: 592
Views: 20,972
Posted By Thorham
No, but Cephes isn't very fast. It's written in C...

No, but Cephes isn't very fast. It's written in C (and not the best), and compiled with SASC 6.58 (not the most optimal). If it was written in optimized assembler it would undoubtedly be much faster....
Forum: Amiga scene 17 May 2018, 15:23
Replies: 592
Views: 20,972
Posted By Thorham
For factorial(1500) it executes 1499 384 bit...

For factorial(1500) it executes 1499 384 bit floating point multiplies. On 68030 it's slow because 384 bit floating point is slow.

That's a good question. Who knows what certain languages do for...
Forum: Amiga scene 17 May 2018, 14:50
Replies: 592
Views: 20,972
Posted By Thorham
Strange, the archive works fine here (AOS3). Have...

Strange, the archive works fine here (AOS3). Have you checked the file protection bits of the files? ZIP files don't preserve those.

From the official website: https://www.lua.org/ The source code...
Forum: Amiga scene 17 May 2018, 13:59
Replies: 592
Views: 20,972
Posted By Thorham
Perhaps I just didn't look into it properly and...

Perhaps I just didn't look into it properly and Rexx isn't bad at all.

That factorial table really speeds things up though. The original code just had a simple loop. Quite slow for big factorials...
Forum: Amiga scene 17 May 2018, 13:20
Replies: 592
Views: 20,972
Posted By Thorham
There's good old, reasonable old and bad old....

There's good old, reasonable old and bad old. A1000 is good old, IBM XT is bad old :D

Lua 5.3 is VERY easy to compile, and that's coming from a C compiler n00b like me :D

Here's my Lua 5.3.0...
Forum: Amiga scene 17 May 2018, 11:25
Replies: 75
Views: 2,886
Posted By Thorham
If only it was the other way around!

If only it was the other way around!
Forum: Amiga scene 17 May 2018, 11:09
Replies: 592
Views: 20,972
Posted By Thorham
Perhaps, but if it was written in C, they...

Perhaps, but if it was written in C, they should've done a better job.

Seems so old fashioned, end not in a good way.

That's probably true.

I always wondered why you can't just copy files....
Forum: Amiga scene 16 May 2018, 17:54
Replies: 592
Views: 20,972
Posted By Thorham
Lua is a general purpose scripting language. ...

Lua is a general purpose scripting language.


Lua is usually embedded in other programs.
Forum: Amiga scene 16 May 2018, 17:12
Replies: 592
Views: 20,972
Posted By Thorham
Then they really did write it in a crappy way. ...

Then they really did write it in a crappy way.

I don't like Arexx :o

Yeah, maybe. Windows certainly doesn't do everything better from a technical perspective.

Yes, but this was about out of...
Forum: Amiga scene 16 May 2018, 16:21
Replies: 592
Views: 20,972
Posted By Thorham
Certainly. Windows undoubtedly has bugs and...

Certainly. Windows undoubtedly has bugs and design flaws.

Of course, but that's still a software problem.

Yes, but didn't you change the algorithm too?

It would be a combination of shell...
Forum: Amiga scene 15 May 2018, 15:46
Replies: 592
Views: 20,972
Posted By Thorham
Sure, but on Windows it almost never happens in...

Sure, but on Windows it almost never happens in the first place.

Indeed. AOS isn't crap, but I find the Windows end user experience to be mostly better than that of AOS.

It's just Windows...
Forum: Amiga scene 15 May 2018, 14:13
Replies: 592
Views: 20,972
Posted By Thorham
On average it would be less than twice as fast....

On average it would be less than twice as fast. Too small a return for too much of a cost increase.
Showing results 1 to 40 of 3045

 
Forum Jump

All times are GMT +2. The time now is 20:46.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.22745 seconds with 10 queries