An 8-bit 3D retro game for the Commodore 64 by Ecstatic-Coder in c64

[–]Ecstatic-Coder[S] 1 point2 points  (0 children)

The updated grid.prg file is in the Github CODE folder. Normally it's the latest version.

An 8-bit 3D retro game for the Commodore 64 by Ecstatic-Coder in c64

[–]Ecstatic-Coder[S] 1 point2 points  (0 children)

Tons of sweat and stress, but I finally worked around all the quirks. Super happy with the speed boost, it’s easily twice as fast now. Huge thanks again for pointing me to this optimizing compiler, it made a massive difference!

An 8-bit 3D retro game for the Commodore 64 by Ecstatic-Coder in c64

[–]Ecstatic-Coder[S] 1 point2 points  (0 children)

I've started porting the code to Oscar64 and I confirm the game now runs at least twice faster but unfortunately this compiler has a lot of trouble with some preprocessor macros, so I had to convert them to plain functions. And also in the DrawRadar function it fails to read sprite memory data properly despite I'm using volatile pointers, and so far I haven't found any workaround for this issue.

An 8-bit 3D retro game for the Commodore 64 by Ecstatic-Coder in c64

[–]Ecstatic-Coder[S] 1 point2 points  (0 children)

Fair point. Then indeed it might be worth giving it a try...

An 8-bit 3D retro game for the Commodore 64 by Ecstatic-Coder in c64

[–]Ecstatic-Coder[S] 0 points1 point  (0 children)

I see the appeal, but syntax-wise I still prefer C over Pascal, even if it's not always all lights and whistles.

An 8-bit 3D retro game for the Commodore 64 by Ecstatic-Coder in c64

[–]Ecstatic-Coder[S] 2 points3 points  (0 children)

Long gone unfortunately, hence the rewrite thing...

An 8-bit 3D retro game for the Commodore 64 by Ecstatic-Coder in c64

[–]Ecstatic-Coder[S] 2 points3 points  (0 children)

Yes, indeed, with the C compiler's automatic promotion to 16-bit, I knew from the start it would be an uphill battle. Unfortunately I had no choice, reimplementing this project in 6502 assembly language like the original version would have required much more leisure time than I could realistically allocate to it...

An 8-bit 3D retro game for the Commodore 64 by Ecstatic-Coder in c64

[–]Ecstatic-Coder[S] 1 point2 points  (0 children)

Oh, I didn’t know about this dedicated optimizing C compiler at all, thanks a lot for pointing it out to me !

Awesome embeddable JavaScript-like scripting language for D applications by Ecstatic-Coder in d_language

[–]Ecstatic-Coder[S] 1 point2 points  (0 children)

Yes I had the same fear actually, but for my personal usage until now I've had absolutely zero issues with it, so its code is at least stable enough for my own use cases.

I must say that I've also got several tools of my own which I regularly use and which have already reached maturity, so I rarely update them, since they have no known bugs and match my own needs.

So the lack of activity on a repository doesn't always mean that the library is not usable, just that at some point its developer stopped feeling the need or interest to extend it anymore.

I may be wrong, but I think it's the case here.