Search found 9 matches

by naf
Mon May 19, 2025 10:10 pm
Forum: The PureBasic Editor
Topic: color scheme
Replies: 0
Views: 951

color scheme

:D :D :D REJOICE GIRLS !!! :D :D :D
Today I don't have a new color scheme.
I have better ;
I have two ripe color schemes.

This one I call Caparica (named after some Portuguese nostalgia) :

; PureBasic IDE Exported Preferences
;
[Sections]
IncludeColors = 1
;
; Color settings
;
[Colors ...
by naf
Mon May 19, 2025 9:59 am
Forum: Coding Questions
Topic: Running directly C code with v6.00 [Resolved]
Replies: 23
Views: 6859

Re: Running directly C code with v6.00 [Resolved]

:?: One step further : since PB can use gcc C compiler, can it accept nVidia's cuda C compiler too ? :D
by naf
Mon May 19, 2025 9:31 am
Forum: Assembly and C Programming in PureBasic
Topic: Problem with 128 bit registers (XMM)
Replies: 12
Views: 10768

Re: Problem with 128 bit registers (XMM)

Does the structure 'p4' or the data table 'q4' have to be aligned also?
Older gfx cards needed it. Later they accepted unaligned.

Code: Select all

movaps  movups
a and u mean aligned/unaligned.
by naf
Thu May 15, 2025 1:02 pm
Forum: Coding Questions
Topic: Running directly C code with v6.00 [Resolved]
Replies: 23
Views: 6859

Re: Running directly C code with v6.00 [Resolved]

This simple example runs on windows10home and PB6.20
"main()" is not even necessary. PB and C seem to mix nicely.

; NEEDS C-BACKEND AND CONSOLE MODE (compiler-->options).
! int foom(float valoo){
! printf("Hello Moony! %f %f ********", valoo, valoo);
input()
! return 0;}

openconsole ...
by naf
Thu May 15, 2025 11:38 am
Forum: Assembly and C Programming in PureBasic
Topic: Problem with 128 bit registers (XMM)
Replies: 12
Views: 10768

Re: Problem with 128 bit registers (XMM)

I tried all possible ways and could not get started using the 128-bit registers of SSE2.
I agree with Fred, "enableASM" seems to make things worse.

;comment
structure p4 : w.f : x.f : y.f : z.f : endstructure
global ppp.p4
dataSection
q4: ; like a virtual table
Data.f 1.1, 2.2, 3.3, 4.4 ...
by naf
Sat Nov 02, 2024 9:30 pm
Forum: General Discussion
Topic: 600€ de gain en PB !!!!!!
Replies: 26
Views: 7756

Re: Small PB game for 200€

Security by obscurity just makes no sense.
I already heard this sentence but no one could ever demonstrate it. Please can anyone demonstrate this dogma.
Thank you.
by naf
Sat Nov 02, 2024 8:39 pm
Forum: The PureBasic Editor
Topic: windows 10 «high contrast» option.
Replies: 0
Views: 3251

windows 10 «high contrast» option.

Hi! I use windows 10 pro, my PB theme "bleu petrole" (see recent post), and a windows dark theme with high-contrast.
Cool combination.
The PB editor (6.02 LTS) is fine at first launch.
After restarting windows some problems appear:
The opened files tabs appear black on black, can't read the names ...
by naf
Sat Oct 12, 2024 11:04 am
Forum: The PureBasic Editor
Topic: new theme: "Bleu petrole"
Replies: 2
Views: 3708

new theme: "Bleu petrole"

EDIT 02 nov 2024 : version D fixes a clash with the too dark black color for module names. Now modules are "kind of grey" and the 3 blue colors look better when slightly darker : background, procedure background, and current line.
https://imgbox.com/gLPv83dk
https://imgbox.com/gLPv83dk
https ...
by naf
Mon Oct 09, 2023 1:07 pm
Forum: Coding Questions
Topic: #PB_EventType_LeftClick [weird bug]
Replies: 2
Views: 432

#PB_EventType_LeftClick [weird bug]

Hi !
I get this weird bug of an invading #PB_EventType_LeftClick as soon as I open a window. I checked mouse function, sensitivity, other things... What's going on ???
First goal was typing on a canvas, but the invading #PB_EventType_LeftClick doesn't let the keyboard events showing up ...