Maybe you'll find something on the SpiderBasic forum.PBJim wrote: Mon Feb 17, 2025 3:34 pm Out of interest, is there a demonstration of work that's been done within the realm of mobile applications with Spiderbasic, even something very simple to inspire others to make a start?
PureBasic 6.20 is out !
-
- Addict
- Posts: 4770
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: PureBasic 6.20 is out !
Re: PureBasic 6.20 is out !
link, helpPBJim wrote: Mon Feb 17, 2025 3:34 pm Out of interest, is there a demonstration of work that's been done within the realm of mobile applications with Spiderbasic, even something very simple to inspire others to make a start?
The help file for the phone
Re: PureBasic 6.20 is out !
By skimming the possible ideas to integrate into PureBasic (except 3D), there will be nothing more to add.
One day, we may have a "PureBasic 9 Integral"...
Yeah, yeah, I see it around version 9, I don't know why.
One day, we may have a "PureBasic 9 Integral"...
Yeah, yeah, I see it around version 9, I don't know why.
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: PureBasic 6.20 is out !
IsPack() is fully missing in 6.20, added only to online manual(.chm file also missing whole page)
P.S. btw, would someone be able to fix IDE syntax highlight please?
P.P.S. Also figuring out occasional IDE crashes(freezes) after 6.10 release, can't get specific steps...
P.S. btw, would someone be able to fix IDE syntax highlight please?
P.P.S. Also figuring out occasional IDE crashes(freezes) after 6.10 release, can't get specific steps...
Re: PureBasic 6.20 is out !
Please open regular bug reports, we can't track these properly here
Re: PureBasic 6.20 is out !
WebWiewProxy - there's not a typo in here? WebViewProxy?
-
- Addict
- Posts: 1516
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.20 is out !
Sometimes this happens.gamparono wrote: Tue Feb 18, 2025 7:27 am IsPack() is fully missing in 6.20, added only to online manual(.chm file also missing whole page)
For example, in version 5.50, a line appeared in the history
But it was never implemented. Later this line disappeared from history.- Added: #StringConstant$ syntax support, to get the address of a string constant
Re: PureBasic 6.20 beta 3 is out !
Sorry pf_shadoko i was very busy, no work over macos catalina 10.15.7.pf shadoko wrote: Tue Jan 28, 2025 10:40 amsorry for the late reply
normally the bug with macs is fixed
can you confirm?
Initengine3D() no run.
ohhhhh!!

Try with if initengine3d() but not..
If translation=Error: reply="Sorry, Im Spanish": Endif
Re: PureBasic 6.20 is out !
Just checking, PureLibrary does not support inline assembly yet right?
Compiling this old code returns an error.
Compiling this old code returns an error.
Code: Select all
; QuickHelp GetCPUID() - Returns the CPU's Processor ID.
ProcedureDLL$ GetCPUID()
Protected tmp_HiBits.l
Protected tmp_LoBits.l
Protected tmp_Serial.q
! mov eax, 01h
! cpuid
! mov dword [p.v_tmp_LoBits], eax
! mov dword [p.v_tmp_HiBits], edx
tmp_Serial = (tmp_HiBits << 32) | tmp_LoBits
ProcedureReturn Hex(tmp_Serial, #PB_Quad)
EndProcedure
;Debug GetCPUID()
Code: Select all
Compiling C:\Data\PureLibrary\Library\GetCPUID.pb to library GetCPUID.
PureBasic 6.20 - C Backend (Windows - x64)
Compiling C:\Data\PureLibrary\Library\GetCPUID.pb
Loading external libraries...
Starting compilation...
16 lines processed.
Error: Assembler
error: unknown type name 'mov'
64 | mov eax, 01h
| ^~~
purebasic.c:64:11: error: invalid suffix "h" on integer constant
64 | mov eax, 01h
| ^~~
purebasic.c:64:11: error: expected identifier or '(' before numeric constant
Re: PureBasic 6.20 is out !
Since the C backend is used when compiling, you must use inline C syntax.akee wrote: Thu Feb 27, 2025 11:04 am Just checking, PureLibrary does not support inline assembly yet right?
Compiling this old code returns an error.
Code: Select all
; QuickHelp GetCPUID() - Returns the CPU's Processor ID. ProcedureDLL$ GetCPUID() Protected tmp_HiBits.l Protected tmp_LoBits.l Protected tmp_Serial.q ! mov eax, 01h ! cpuid ! mov dword [p.v_tmp_LoBits], eax ! mov dword [p.v_tmp_HiBits], edx tmp_Serial = (tmp_HiBits << 32) | tmp_LoBits ProcedureReturn Hex(tmp_Serial, #PB_Quad) EndProcedure ;Debug GetCPUID()
Code: Select all
; QuickHelp GetCPUID() - Returns the CPU's Processor ID.
ProcedureDLL.s GetCPUID()
Protected eax.l, edx.l
!__asm__ __volatile__ (
!".intel_syntax noprefix;"
!"mov eax, 1;"
!"cpuid;"
!".att_syntax"
!:"=a" (v_eax), "=d" (v_edx)
!);
ProcedureReturn Hex((edx << 32) | eax, #PB_Quad)
EndProcedure
;Debug GetCPUID()
Re: PureBasic 6.20 is out !
Correct, currently PureLibrary creation in PureBasic is limited to the C backend. So you can use inline C, but not inline Asm.akee wrote: Thu Feb 27, 2025 11:04 am Just checking, PureLibrary does not support inline assembly yet right?
Compiling this old code returns an error.
Re: PureBasic 6.20 is out !
With the C optimizer, native code gets very close or exceeds asm.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PureBasic 6.20 is out !
thanks breeze4me... your code works.