Search found 1054 matches
- Thu Jun 22, 2023 8:55 am
- Forum: Announcement
- Topic: PureBasic 6.03 LTS is released !
- Replies: 184
- Views: 65537
Re: PureBasic 6.03 LTS beta 1 is ready to test !
I never will leave this forum until the absolute bugfree PB :mrgreen:
Holy bit man, I seen you often, maybe just visit Fred or whatever :)
Not my deal anyway, I'm currently out of here and not posting, seen yesterday once.
// previously too posted about bugs often, now it's surely much closer ...
- Wed Jun 21, 2023 12:45 pm
- Forum: Off Topic
- Topic: Good Freeware Stuff
- Replies: 668
- Views: 677064
Re: Good Freeware Stuff
Hi again, just notifying I've set up "licensing" for some PB things posted time ago, seen this topic so let be here instead of posting others (are they "good", IDK^^).
// So slow with that, but nothing to do, "suppressed by reality" :mrgreen:
https://github.com/Lunasole/DialogDesigner2
https ...
// So slow with that, but nothing to do, "suppressed by reality" :mrgreen:
https://github.com/Lunasole/DialogDesigner2
https ...
- Tue Apr 25, 2023 11:27 pm
- Forum: Coding Questions
- Topic: Im getting this response from Google (UNICODE)
- Replies: 14
- Views: 2795
Re: Im getting this response from Google (UNICODE)
And yes, you anyway have a lot to pay for me, and that's not about paying something like punishment^^
+1, I even don't need to count your loops and my responses. And more of it, I'm evolving even of that.
+1, I even don't need to count your loops and my responses. And more of it, I'm evolving even of that.
- Tue Apr 25, 2023 11:25 pm
- Forum: Coding Questions
- Topic: Im getting this response from Google (UNICODE)
- Replies: 14
- Views: 2795
Re: Im getting this response from Google (UNICODE)
"what does it means to dreams with zombies"
This is itself an interesting query, of what have you formed it?
I'd also answer to it like: just great, nothing will break nor freedom or truth.
You may repeat such loops infinitely, that won't change. At some moment I'd break that anyway and just ...
- Tue Apr 25, 2023 12:04 am
- Forum: Coding Questions
- Topic: Im getting this response from Google (UNICODE)
- Replies: 14
- Views: 2795
Re: Im getting this response from Google (UNICODE)
"what does it means to dreams with zombies"
This is itself an interesting query, of what have you formed it?
This is itself an interesting query, of what have you formed it?
- Mon Apr 24, 2023 11:53 pm
- Forum: Tricks 'n' Tips
- Topic: Hex2Dec (hex string to decimal)
- Replies: 27
- Views: 11843
Re: Hex2Dec (hex string to decimal)
What about my that code of 2016 it maybe looks funny. Should be made better, but I didn't updated it more because was not needed.
- Mon Apr 24, 2023 11:43 pm
- Forum: Tricks 'n' Tips
- Topic: Hex2Dec (hex string to decimal)
- Replies: 27
- Views: 11843
Re: Hex2Dec (hex string to decimal)
I liked "optimizations for optimizations"
I still do :lol:
I guess it's a leftover from staring with a computer with a 3.5 Mhz processor.
You are right ASM is more difficult to debug. Even without using ASM, there's still room for optimization but a bit less of course.
Here's a bit manipulation ...
- Sat Apr 22, 2023 6:24 pm
- Forum: Applications - Feedback and Discussion
- Topic: DialogDesign0R V1.86
- Replies: 250
- Views: 179683
Re: DialogDesign0R V1.83
Still active. I haven't look at your DD since moment years ago (v.1.49), but have no doubts it is made good.
- Wed Apr 19, 2023 7:01 pm
- Forum: Tricks 'n' Tips
- Topic: BSwap64/32/16
- Replies: 28
- Views: 4698
Re: BSwap64/32/16
Too.idle wrote: Tue Apr 18, 2023 9:28 pmYes and add type alias as int32 or uint32 it's clear for everyone with no ambiguity.RichAlgeni wrote: Tue Apr 18, 2023 4:58 pmI would so love unsigned integers.infratec wrote: Thu Apr 13, 2023 9:27 am The main problem is, that PB does not have unsigned long and quad.
c backend abuse variable a is treated as unsigned!
[/code]
- Wed Apr 19, 2023 6:48 pm
- Forum: Tricks 'n' Tips
- Topic: BSwap64/32/16
- Replies: 28
- Views: 4698
Re: BSwap64/32/16
Nice.RichAlgeni wrote: Tue Apr 18, 2023 4:58 pmI would so love unsigned integers.infratec wrote: Thu Apr 13, 2023 9:27 am The main problem is, that PB does not have unsigned long and quad.
- Tue Apr 18, 2023 2:57 am
- Forum: 3D Programming
- Topic: Versioned, Inspired, Enhanced & Extended Conway's 0 player game
- Replies: 5
- Views: 1506
Re: Versioned, Inspired, Enhanced & Extended Conway's 0 player game
Funny
But actually 0-player game will look much different.

- Mon Apr 17, 2023 3:37 pm
- Forum: Tricks 'n' Tips
- Topic: BSwap64/32/16
- Replies: 28
- Views: 4698
Re: BSwap64/32/16
You're making it too complicated for yourself.
In Purebasic, all comparison, shift and math of byte, word, longs, integers, quads are processed signed.
With the introduction of Unicode, the vartype var.a (ascii) was added as an unsigned byte and the vartype var.u (unicode) as an unsigned word.
I ...
- Mon Apr 17, 2023 11:59 am
- Forum: Tricks 'n' Tips
- Topic: BSwap64/32/16
- Replies: 28
- Views: 4698
Re: BSwap64/32/16
Do you understand it looking at the assembly?
Yes, at least see key ops, even though I don't want to go to ASM now and didn't looked at that <<4 also. Just curious as I said, asked without doing anything myself until really will need that, as soon at there are talks around that.
This thread ...
- Mon Apr 17, 2023 2:54 am
- Forum: Tricks 'n' Tips
- Topic: BSwap64/32/16
- Replies: 28
- Views: 4698
Re: BSwap64/32/16
However, I prefer the type unsigned char for C-backend as in my example, because PB internally converts everything back to quad before shifting bits.
No any theoretically possible fix for that with 1-byte? Like this I tried with masking:
Procedure.b t(v_value.b)
ProcedureReturn %00001111&v ...
- Sun Apr 16, 2023 9:22 pm
- Forum: Tricks 'n' Tips
- Topic: BSwap64/32/16
- Replies: 28
- Views: 4698
Re: BSwap64/32/16
I though he may explain his code, but wellidle wrote: Sun Apr 16, 2023 9:08 pm It fails as input is signed.
Byte swap is a stage in swar parallel bitreverse see here
https://graphics.stanford.edu/~seander/bithacks.html
