English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 489
Search took 0.05 seconds.
Search: Posts Made By: deimos
Forum: Coders. C/C++ 02 December 2019, 22:05
Replies: 67
Views: 5,242
Posted By deimos
That's not what it's for. It's not a full C++...

That's not what it's for. It's not a full C++ environment with all those libraries. It's a cut down pure Amiga environment for demo / game creators.
Forum: Coders. General 29 November 2019, 12:45
Replies: 9
Views: 309
Posted By deimos
It has to be CMake? I do this with gnu make...

It has to be CMake? I do this with gnu make fairly easily.
Forum: Coders. General 27 November 2019, 23:47
Replies: 106
Views: 2,688
Posted By deimos
I'm not at a PC anymore, so I'll let this rest,...

I'm not at a PC anymore, so I'll let this rest, except to ask why you do all this instead of typing 'make'?
Forum: Coders. General 27 November 2019, 22:36
Replies: 106
Views: 2,688
Posted By deimos
But this was one of the key points, you're...

But this was one of the key points, you're measuring from outside, I asked you to measure from inside.



You were triggered, not me:



And I remind you, I offered to help by building and...
Forum: Coders. General 27 November 2019, 21:43
Replies: 106
Views: 2,688
Posted By deimos
What? You want me to give you a written example? ...

What? You want me to give you a written example?



I'm here to help, not to do it for you.



Ah well, you see, that's the thing you don't seem to be understanding. It was never about...
Forum: Coders. General 27 November 2019, 21:20
Replies: 106
Views: 2,688
Posted By deimos
Because if you're spending 90s in both cases in...

Because if you're spending 90s in both cases in start up code, then it's not.

You always have a constant bit.

Then a bit that grows with the number of objects you draw, or whatever.

It's the...
Forum: Coders. General 27 November 2019, 21:16
Replies: 106
Views: 2,688
Posted By deimos
No, not change in source code. Change in time...

No, not change in source code. Change in time spent in the effected parts of code. But I'm sure you know that. If you really want to know the how the code has improved, you'll measure around that -...
Forum: Coders. General 27 November 2019, 21:05
Replies: 106
Views: 2,688
Posted By deimos
You've obviously chosen not to hear what I've...

You've obviously chosen not to hear what I've said. You've said whether or not there were improvements, and given percentage measurements. But the percentage measurements were not of the thing that...
Forum: Coders. General 27 November 2019, 21:00
Replies: 106
Views: 2,688
Posted By deimos
Where did you do that?

Where did you do that?
Forum: Coders. General 27 November 2019, 20:47
Replies: 106
Views: 2,688
Posted By deimos
Then why not tell us the improvement in the...

Then why not tell us the improvement in the actual routine that was optimised?



Everyone is allowed their own foibles, however misguided.
Forum: Coders. General 27 November 2019, 20:42
Replies: 4
Views: 301
Posted By deimos
As in what's used in a lot of CNC / 3D Printer...

As in what's used in a lot of CNC / 3D Printer controllers? I reckon this might have had more to do with it than us.

But a win is a win.
Forum: Coders. General 27 November 2019, 20:30
Replies: 106
Views: 2,688
Posted By deimos
In one of your posts you reported a performance...

In one of your posts you reported a performance improvement of 0.034%. My issue is with numbers like that and with the way you've measured them. You haven't reported the actual improvement of the...
Forum: Coders. General 27 November 2019, 19:47
Replies: 106
Views: 2,688
Posted By deimos
Well then, I guess you're going to have a busy...

Well then, I guess you're going to have a busy weekend.
Forum: Coders. General 27 November 2019, 19:46
Replies: 106
Views: 2,688
Posted By deimos
I really think we should just measure the thing...

I really think we should just measure the thing we're trying to measure.

It's useful to know other measurements, so we can know where to put our effort into, but they don't help to measure the...
Forum: Coders. General 27 November 2019, 19:22
Replies: 106
Views: 2,688
Posted By deimos
Maybe, but possibly not in percentage terms,...

Maybe, but possibly not in percentage terms, which is how we've been shown times so far. There may have been far more significant gains in the assembly language versions than we were led to believe....
Forum: Coders. General 27 November 2019, 18:51
Replies: 1
Views: 191
Posted By deimos
Just found this:...

Just found this: https://gcc.gnu.org/onlinedocs/gcc/Volatiles.html


Which seems to back up what I'm saying, even if I can't pinpoint it in my compiled code.
Forum: Coders. General 27 November 2019, 18:07
Replies: 106
Views: 2,688
Posted By deimos
The way you're calling your assembly routines...

The way you're calling your assembly routines won't work under GCC 8.3.
Forum: Coders. General 27 November 2019, 17:40
Replies: 106
Views: 2,688
Posted By deimos
You're measuring the total elapsed time,...

You're measuring the total elapsed time, including loading and initialising the executable?
Forum: Coders. General 27 November 2019, 16:40
Replies: 106
Views: 2,688
Posted By deimos
Been there. Even us sub-optimal people can...

Been there.

Even us sub-optimal people can rewrite our C code so that mostly decent assembly is produced. But we need constant reminders to not use complex indexes into arrays instead of pointers...
Forum: Coders. General 27 November 2019, 16:32
Replies: 106
Views: 2,688
Posted By deimos
If you don't do Windows, and if your code can run...

If you don't do Windows, and if your code can run and output two numbers (C vs asm) for valid comparison, then I don't mind doing it for you, as long as it's that easy.
Forum: Coders. General 27 November 2019, 15:37
Replies: 106
Views: 2,688
Posted By deimos
No, all the cool kids use Windows nowadays.

No, all the cool kids use Windows nowadays.
Forum: Coders. General 27 November 2019, 15:05
Replies: 1
Views: 191
Posted By deimos
Are "memory barriers" needed with GCC?

Of late I've grown increasingly suspicious that the enabling and disabling of interrupts around the sensitive parts of my code wasn't working as expected. Looking into it, GCC is happy to rearrange...
Forum: Coders. General 27 November 2019, 14:37
Replies: 106
Views: 2,688
Posted By deimos
What ross said, but here's the original thread...

What ross said, but here's the original thread about it too: http://eab.abime.net/showthread.php?t=98525

It's not as established as bebbo's, and I'm not sure if I find the VS Code integration all...
Forum: Coders. General 27 November 2019, 14:10
Replies: 106
Views: 2,688
Posted By deimos
I'd be interested to see if GCC 8.3 can do even...

I'd be interested to see if GCC 8.3 can do even better. Would it be hard to try?
Forum: Coders. General 27 November 2019, 12:38
Replies: 106
Views: 2,688
Posted By deimos
Am I missing something, or is the C version...

Am I missing something, or is the C version within 3 to 4% of the current best assembly version? Which C compiler and what flags?
Forum: Coders. General 26 November 2019, 18:27
Replies: 7
Views: 395
Posted By deimos
I think I agree with you.

I think I agree with you.
Forum: Coders. General 26 November 2019, 17:10
Replies: 7
Views: 395
Posted By deimos
I've added more keyboard controls to allow better...

I've added more keyboard controls to allow better testing. I think I've fixed all the bugs and can now return to drawing the ground efficiently.

Attached is the latest executable (and source).

...
Forum: Coders. General 26 November 2019, 13:56
Replies: 7
Views: 395
Posted By deimos
I've finished adding the code to use the blitter...

I've finished adding the code to use the blitter to draw the ground polygon that's calculated by the above code. I first use the blitter to clear the first three bitplanes (in one blit, they're...
Forum: Coders. General 26 November 2019, 12:34
Replies: 7
Views: 395
Posted By deimos
It's an interesting idea, but my copper list is...

It's an interesting idea, but my copper list is already complicated and fragile, and my blitter fill is also taking care of one bitplane's worth of clearing the screen.
Forum: Coders. General 26 November 2019, 09:19
Replies: 7
Views: 395
Posted By deimos
My question is now, can anyone see any obvious...

My question is now, can anyone see any obvious ways to improve this code (bearing in mind that it's only executed once per frame, and the optimiser will get its chance too)?

Also, how should I...
Forum: Coders. General 25 November 2019, 16:04
Replies: 7
Views: 395
Posted By deimos
Drawing the ground in my flight sim game

Edit: I think I've fixed it.
Forum: Coders. Asm / Hardware 24 November 2019, 14:03
Replies: 14
Views: 621
Posted By deimos
Nevermind, it works now.

Nevermind, it works now.
Forum: Coders. Asm / Hardware 24 November 2019, 12:53
Replies: 14
Views: 621
Posted By deimos
So, everything works until I actually try to use...

So, everything works until I actually try to use it.

My current problem is bad screen glitches when I swap in a new copper list for my triple buffering. This glitch only lasts for a screen refresh...
Forum: Coders. General 24 November 2019, 11:22
Replies: 16
Views: 652
Posted By deimos
That is what I mean by scan line fill, but I...

That is what I mean by scan line fill, but I didn't find it necessary to order points or remove duplicates when I did mine. I think the only difference is that you'd have to split your concave...
Forum: Coders. Asm / Hardware 24 November 2019, 08:30
Replies: 18
Views: 714
Posted By deimos
I think you should consider changing your...

I think you should consider changing your approach, calculate positions, physics, collisions, etc. at whatever accuracy is needed and using line intersections, bounding boxes, etc. for efficiency,...
Forum: Coders. General 24 November 2019, 08:17
Replies: 16
Views: 652
Posted By deimos
Can I ask why you chose not to use a scan line...

Can I ask why you chose not to use a scan line fill instead?
Forum: Coders. Asm / Hardware 22 November 2019, 15:05
Replies: 18
Views: 714
Posted By deimos
You can do byte accesses to memory at any...

You can do byte accesses to memory at any address. On a 68000 words accesses always need to be aligned to an even address. On 68020 or higher this restriction is lifted, but comes with a performance...
Forum: Coders. Asm / Hardware 21 November 2019, 11:22
Replies: 14
Views: 621
Posted By deimos
Yes, I think so. I've even managed to fix the...

Yes, I think so. I've even managed to fix the black dot that disabling the bitplanes during the split introduced.

I'm going to work on it a bit more before calling it done though.
Forum: Coders. Asm / Hardware 21 November 2019, 10:44
Replies: 14
Views: 621
Posted By deimos
No, if I fiddle with the number of iterations the...

No, if I fiddle with the number of iterations the first loop does so that the change to y=00 occurs one row earlier, things look like they work. But now I'm not sure my maths adds up.


...
Forum: Coders. Asm / Hardware 21 November 2019, 10:00
Replies: 14
Views: 621
Posted By deimos
So, currently, with a/b's changes, I get black...

So, currently, with a/b's changes, I get black until the edge of the display window, 3 pixels of 999 light grey, 1 pixel of black, a bunch of 777 grey, then 8? pixels of 070 green before 977 pink.
...
Showing results 1 to 40 of 489

 
Forum Jump

All times are GMT +2. The time now is 13:08.


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