64 bit execution and integers?

Everything else that doesn't fall into one of the other PB categories.
localmotion34
Enthusiast
Enthusiast
Posts: 665
Joined: Fri Sep 12, 2003 10:40 pm
Location: Tallahassee, Florida

64 bit execution and integers?

Post by localmotion34 »

ok, with a possible grant from the gov't for my PHD, i might be able to swing a double dual core AMD64 motherboard with NVIDIA 6800 512 MEG PCI-Express in SLI and about 8 GIGS of RAM for imaging and electrophysiology.

now my question is that i will be running XP64 Pro and still programming with PB. when i use the API with XP64 and return values of the lparam and wparam:

how is the 64bit going to affect the "words" of the params, as well as integer and other functions?

i mean in 64 bit, the lparam will now be twice as big (four words) instead of 2? will you have to do something like this:

result=hiparam(lparam): hiword(result) ????

i dont plan really to use 32bit mode with the AMD, and want to only use 64bit and see what will still work so i can ensure that everything i use will be 100% compatible.


now i know MS will keep the DLL and API of 32bit in XP64 so that 32 is supported, but how us the new OS going to affect using the API and PB?

Code: Select all

!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

AFAIK AMD64 fully suports 32bit executables...

And i've read the fasm site, and it also compiles for 64bit, my guess is that with some work PB could produce 64 execs!
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

i suspect / expect (but it's just me :-)) that 32 bit apps under 64 bit xp are going to be slower than the same apps under 32 bits xp

again, i could be wrong :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply