A small candle has been lit in the darkness or 2 steps toward 64 bits.
The problem that I have just overcome is a data type that is not supported in QB64. The current version of the program uses the “Currency” type (type declaration character data = @) in QuickBASIC 7.1 for some functions. This is an 8 bit data type that allows numbers to be stored from -922,337,203,685,477.5808 to 922,337,203,685,477.5807. QB does not support that type but does have a “Interger64” data type (type declaration character data = &&) that allows numbers from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
That looks pretty much the same for the range except for that pesky decimal point and of course the respective declaration character.
Unfortunately details matter. So I had to go through the entire program to change the @ into && and account for the fact that the new values are 10,000 times more than the previous values.
While QB64 will save the new data type as an 8 bit string the strings are different from the old “Currency” type which is important if you want the QB64 program to read data from the old version data files.
So I fixed all of that and pressed [F5] and the program actually compiled and ran. AMAZING!
But it is not error free. Now it is a matter of playing “Whack-a-mole” on bugs, errors, and just plain weirdness until I get a completely working 64 bit version.
There is still a long way to go but I now have some confidence that a 64 bit version of DHPOS will be possible.
64 bit version of DHPOS
Moderators:daleadmin, Dale Harris, Alan, Andrew
Re: 64 bit version of DHPOS
Glad you got past it!
I wish you good luck with the port!
I wish you good luck with the port!
- brucef2112
- Forum Regular
- Posts:336
- Joined:Mon Mar 06, 2006 11:19 pm
- Location:Broward County, Floriduhh
- Contact:
Re: 64 bit version of DHPOS
Dale, I am par excellent at breaking things.
I would like to help debug.
Send me an email to let me know when you have something stable for testing.
I would like to help debug.
Send me an email to let me know when you have something stable for testing.
Later,
Bruce
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
Benjamin Franklin - Historical Review of Pennsylvania, 1759
Bruce
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
Benjamin Franklin - Historical Review of Pennsylvania, 1759
Re: 64 bit version of DHPOS
Bruce,
It is going to be a long time but as soon as I need it busted I will forward it.
Thanks,
Dale
It is going to be a long time but as soon as I need it busted I will forward it.
Thanks,
Dale
Who is online
Users browsing this forum: No registered users and 4 guests