Search found 57 matches

by Skipper
Sat Sep 13, 2025 4:33 pm
Forum: 3D Programming
Topic: Black Hole simulation at the approximation
Replies: 11
Views: 189

Re: Black Hole simulation at the approximation

Same here, on OSX x64
by Skipper
Thu Sep 04, 2025 5:50 pm
Forum: Tricks 'n' Tips
Topic: Subscriber/Observer Pattern
Replies: 6
Views: 536

Re: Subscriber/Observer Pattern

Hi Phollyer,

For code like this it would have been nice to have generics...

Thanks for posting!

Cheers,
Skipper
by Skipper
Thu Sep 04, 2025 10:33 am
Forum: Feature Requests and Wishlists
Topic: Get access to C-backend compiler switches?
Replies: 1
Views: 317

Get access to C-backend compiler switches?

Can we please have access to the C-backend's compiler switches without having to resort to external scripts ?
Thanks!

Cheers,
Skipper
by Skipper
Sun Aug 31, 2025 6:18 pm
Forum: Coding Questions
Topic: Temporary Double
Replies: 12
Views: 795

Re: Temporary Double

I hope you understood my reference to the PB -C-compiler backend? No need to learn C, really...
by Skipper
Sun Aug 31, 2025 5:10 pm
Forum: Coding Questions
Topic: Temporary Double
Replies: 12
Views: 795

Re: Temporary Double

Piero,

creating a ternary operator this way will indeed make our sources somewhat more compact, but in the end, the compiler will generate similar binaries - this is especially valid for the optimising C-backend?

Cheers,
Skipper
by Skipper
Fri Aug 29, 2025 8:03 pm
Forum: Tricks 'n' Tips
Topic: Debug TypeOf
Replies: 5
Views: 636

Re: Debug TypeOf

Piero wrote: Fri Aug 29, 2025 6:47 pm Hope I wasn't too cryptic :)
No you weren't, all clear, read you '5'. I'm curious about what comes next... :D

Skipper
by Skipper
Fri Aug 29, 2025 6:45 pm
Forum: Tricks 'n' Tips
Topic: Find next power of two integer
Replies: 5
Views: 582

Re: Find next power of two integer

Piero,

I documented my test configuration in my post now, thanks!

Skipper
by Skipper
Fri Aug 29, 2025 2:03 pm
Forum: Tricks 'n' Tips
Topic: Debug TypeOf
Replies: 5
Views: 636

Re: Debug TypeOf

Thank you, Piero. Very interesting!
by Skipper
Fri Aug 29, 2025 1:25 pm
Forum: Tricks 'n' Tips
Topic: Find next power of two integer
Replies: 5
Views: 582

Re: Find next power of two integer

Thanks Azjio,

your nicely structured code provides me with insights for other themes I was wrestling with (window client area(s) resizing...)

Btw: your method provides power-of-two integers smaller than the one I type in. My code returns the integer itself if it is already a power-of-two integer ...
by Skipper
Fri Aug 29, 2025 11:07 am
Forum: Tricks 'n' Tips
Topic: Find next power of two integer
Replies: 5
Views: 582

Find next power of two integer

Hi all,

for an application I'm working on, I needed a somewhat quick method to find the next power of two value equal to or larger than any integer value I might have. I cooked something up that I might as well drop here, enjoy!

If there is a faster method to do this, I'd like to hear about it ...
by Skipper
Thu Aug 21, 2025 8:36 pm
Forum: Off Topic
Topic: The advertisings on this forum
Replies: 47
Views: 3283

Re: The advertisings on this forum

with uBlock Origin, no issue for me. Didn't know it carried ads at all...
by Skipper
Thu Aug 21, 2025 8:34 pm
Forum: Off Topic
Topic: Commodore is back!
Replies: 12
Views: 1005

Re: Commodore is back!

the joys of zero-page addressing - I had almost forgotten about it....
by Skipper
Mon Aug 18, 2025 4:51 pm
Forum: Feature Requests and Wishlists
Topic: Dark mode
Replies: 20
Views: 2217

Re: Dark mode

As long as I'm not forced to use dark mode.... :wink:
by Skipper
Sun Aug 17, 2025 10:01 am
Forum: Coding Questions
Topic: Issue with converting tiny classifier routine into a macro
Replies: 17
Views: 1203

Re: Issue with converting tiny classifier routine into a macro


Staying on topic

X64 only but was worth a crack, i tried a branchless version which took quite a bit of effort but it was slower and fasm couldn't handle the macro


CompilerIf #PB_Compiler_Debugger
CompilerError "Disable debugger to time measurements!"
CompilerEndIf

Global azaz.q ...