Forum: Coders. C/C++
02 December 2019, 22:05
|
Replies: 67
Views: 5,242
|
Forum: Coders. General
29 November 2019, 12:45
|
Replies: 9
Views: 309
|
Forum: Coders. General
27 November 2019, 23:47
|
Replies: 106
Views: 2,688
|
Forum: Coders. General
27 November 2019, 22:36
|
Replies: 106
Views: 2,688
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
|
Forum: Coders. General
27 November 2019, 21:20
|
Replies: 106
Views: 2,688
|
Forum: Coders. General
27 November 2019, 21:16
|
Replies: 106
Views: 2,688
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
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
|
Forum: Coders. General
27 November 2019, 20:47
|
Replies: 106
Views: 2,688
|
Forum: Coders. General
27 November 2019, 20:42
|
Replies: 4
Views: 301
|
Forum: Coders. General
27 November 2019, 20:30
|
Replies: 106
Views: 2,688
|
Forum: Coders. General
27 November 2019, 19:47
|
Replies: 106
Views: 2,688
|
Forum: Coders. General
27 November 2019, 19:46
|
Replies: 106
Views: 2,688
|
Forum: Coders. General
27 November 2019, 19:22
|
Replies: 106
Views: 2,688
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
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
|
Forum: Coders. General
27 November 2019, 17:40
|
Replies: 106
Views: 2,688
|
Forum: Coders. General
27 November 2019, 16:40
|
Replies: 106
Views: 2,688
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
|
Forum: Coders. General
27 November 2019, 15:37
|
Replies: 106
Views: 2,688
|
Forum: Coders. General
27 November 2019, 15:05
|
Replies: 1
Views: 191
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
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
|
Forum: Coders. General
27 November 2019, 12:38
|
Replies: 106
Views: 2,688
|
Forum: Coders. General
26 November 2019, 18:27
|
Replies: 7
Views: 395
|
Forum: Coders. General
26 November 2019, 17:10
|
Replies: 7
Views: 395
|
Forum: Coders. General
26 November 2019, 13:56
|
Replies: 7
Views: 395
|
Forum: Coders. General
26 November 2019, 12:34
|
Replies: 7
Views: 395
|
Forum: Coders. General
26 November 2019, 09:19
|
Replies: 7
Views: 395
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
|
Forum: Coders. Asm / Hardware
24 November 2019, 14:03
|
Replies: 14
Views: 621
|
Forum: Coders. Asm / Hardware
24 November 2019, 12:53
|
Replies: 14
Views: 621
|
Forum: Coders. General
24 November 2019, 11:22
|
Replies: 16
Views: 652
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
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
|
Forum: Coders. Asm / Hardware
22 November 2019, 15:05
|
Replies: 18
Views: 714
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
|
Forum: Coders. Asm / Hardware
21 November 2019, 10:44
|
Replies: 14
Views: 621
|
Forum: Coders. Asm / Hardware
21 November 2019, 10:00
|
Replies: 14
Views: 621
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.
...
|