Search found 437 matches

by xahmol
Fri Mar 31, 2023 2:00 pm
Forum: C programming
Topic: oricOpenLibrary by [raxiss]
Replies: 5
Views: 5202

Re: oricOpenLibrary by [raxiss

Thanks. Again. The TTF addition is very interesting.

And without the other parts my Oric Screen Editor and Ludo would not have been possible, at least not in their present form.
by xahmol
Sun Feb 26, 2023 8:42 am
Forum: General Discussion
Topic: raycating on C64
Replies: 12
Views: 2635

Re: raycating on C64

Dbug wrote: Sat Feb 25, 2023 6:51 pm Does that include racing games and flying games, or specifically games where you have to walk around?
The most with walking, sometimes with flying, but never had it with racing.
by xahmol
Sat Feb 25, 2023 4:45 pm
Forum: General Discussion
Topic: raycating on C64
Replies: 12
Views: 2635

Re: raycating on C64

Perhaps you could try to get back from the screen one or two meters. I wonder if the problem could come from the fact that you're too close from the screen. Apart from the fact that that distance is not possible in my present hobby room, I had the same when I still had a Playstation3 in the living ...
by xahmol
Fri Feb 24, 2023 11:57 pm
Forum: General Discussion
Topic: raycating on C64
Replies: 12
Views: 2635

Re: raycating on C64

I'm being told by people on #c64 that's it's probably ECM mode, where you have the character set reduced from 256 to 64, with the two unused bits used to select one of the 4 background colors, so each character can have one foreground color and one background color among 4 stored in D021/2/3/4. Yea...
by xahmol
Fri Feb 24, 2023 9:13 pm
Forum: General Discussion
Topic: raycating on C64
Replies: 12
Views: 2635

Re: raycating on C64

Dbug wrote: Fri Feb 24, 2023 9:13 am Looks like it's in character mode using the PETSCII character set to do the graphics.
Don’t think so. That is not PETSCIi. Looks more like multicolor mode hires.
But might also be multi color mode char sets. But definitely not standard PETSCII.
by xahmol
Mon Feb 20, 2023 11:34 pm
Forum: Games
Topic: Free Petscii Robots for the Oric-1 / Atmos
Replies: 13
Views: 3181

Re: Free Petscii Robots for the Oric-1 / Atmos

Well, a game that is not ripped of all documentation and without cracker intro is not the real retro feel 😉 think I did not own more than two or three original games back then. So always quickly skipped games unplayable without manual. Having a manual almost dies not feel right. A proper game should...
by xahmol
Fri Feb 17, 2023 7:45 pm
Forum: C programming
Topic: vbcc optimizing C compiler now with Oric Atmos support
Replies: 79
Views: 15991

Re: vbcc optimizing C compiler now with Oric Atmos support

It works in cc65 too! Look at the 0xcafe row. Ok, see now indeed in the documentation that you are right. Great! Then why in hell did I think CC65 was not excepting this? Almost sure I tried it once…. probably somehow used —standard then. Funny, never ever so far saw someone using this in CC65 C so...
by xahmol
Fri Feb 17, 2023 6:18 pm
Forum: C programming
Topic: vbcc optimizing C compiler now with Oric Atmos support
Replies: 79
Views: 15991

Re: vbcc optimizing C compiler now with Oric Atmos support

There's only one thing that I'll miss : binary litterals (YES they're not part of C99 std but I LIKE THEM !) Agree, miss this in CC65 as well. So nice that that is adapted so fast in Vbcc, I actually do use bit masking a lot in my Commodore projects, as many Commodore registers have completely diff...
by xahmol
Sat Feb 11, 2023 8:51 pm
Forum: C programming
Topic: All CC65 lib functions are weak
Replies: 7
Views: 1160

Re: All CC65 lib functions are weak

If the CC65 libs are like the ones from the OSDK, then possibly you could use sprintf instead of printf, and use the screen address for the location you want to print, which would be by writing directly in the screen so no need to call a ROM function to output characters. That is basically what cpr...
by xahmol
Sat Feb 11, 2023 7:48 pm
Forum: C programming
Topic: All CC65 lib functions are weak
Replies: 7
Views: 1160

Re: All CC65 lib functions are weak

And the conio.h cprintf function is also very handy to print including the Oric color attribute codes. Like (prints player number and a space with the player color as background color): gotoxy(0,3); cprintf("%cPlayer %c%d%c: %c %c\n\r", A_FWYELLOW, A_FWCYAN, turnofplayernr+1, A_FWYELLOW, 1...
by xahmol
Sat Feb 11, 2023 7:40 pm
Forum: C programming
Topic: All CC65 lib functions are weak
Replies: 7
Views: 1160

Re: All CC65 lib functions are weak

Ok, but if you want speed and less functions, go direct to assembly. That is what I chose to do in my Oric Atmos project Oric Screen Editor: CC65 for logic and formatted output (cprintf is slow, but unmatched to print formatted things). Assembly for direct screen output, scrolling etc. But never wen...
by xahmol
Sat Feb 11, 2023 5:33 pm
Forum: C programming
Topic: All CC65 lib functions are weak
Replies: 7
Views: 1160

Re: All CC65 lib functions are weak

Why do you think the CC65 Atmos lib are useless? Worked fine for the stuff I wrote, but personally use assembly for time sensitive screen output.
by xahmol
Wed Feb 08, 2023 7:58 pm
Forum: C programming
Topic: vbcc optimizing C compiler now with Oric Atmos support
Replies: 79
Views: 15991

Re: vbcc optimizing C compiler now with Oric Atmos support

However that does not really work with cc65, because it does not preserve the data segment. Initialized variables do not have the correct values when running the program a second time Recognise that, but always took that as a given 😉 therefore never use variables where that is an issue as pre-initi...
by xahmol
Wed Feb 08, 2023 4:04 pm
Forum: C programming
Topic: vbcc optimizing C compiler now with Oric Atmos support
Replies: 79
Views: 15991

Re: vbcc optimizing C compiler now with Oric Atmos support

Yes, KickC is good but unfortunately I can't classify it as 100% standard C compiler. It has many language extensions which can make wonders but this means you need to devote yourself exclusively to its dialect. Very true and exactly the main reason what still makes me not considering it yet. My pr...
by xahmol
Wed Feb 08, 2023 4:01 pm
Forum: C programming
Topic: vbcc optimizing C compiler now with Oric Atmos support
Replies: 79
Views: 15991

Re: vbcc optimizing C compiler now with Oric Atmos support

Oh, and to clarify DBug, was not intended in any way as criticism as I understand fully where you are coming from. Just wanted to add my perspective in staying with CC65.