QB64 Phoenix Edition
Apple etc. compatibility - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: Apple etc. compatibility (/showthread.php?tid=2552)



Apple etc. compatibility - PhilOfPerth - 03-29-2024

This  is a pretty wide-ranging question, and I guess not many will be interested in answering it. But here goes…
My computer uses Windows 10. I’m only familiar with Windows, and have no access to other systems for testing.
I use a fairly small subset of PE for coding (no DMAs, Peeks or Pokes etc.)
I have a couple of friends with Apple systems and I’d like to share some of my progs with them, but I’m loth
to just hand them a copy and say “try this”, in case it interferes with their settings, or worse.
Are they safe to run on other systems, and will they run similarly to how they run on mine?
And if so, are there sections of PE that still should be avoided for compatibility?  (the .exe files, I mean) Undecided
 


RE: Apple etc. compatibility - TerryRitchie - 03-30-2024

(03-29-2024, 11:02 PM)PhilOfPerth Wrote: This  is a pretty wide-ranging question, and I guess not many will be interested in answering it. But here goes…
My computer uses Windows 10. I’m only familiar with Windows, and have no access to other systems for testing.
I use a fairly small subset of PE for coding (no DMAs, Peeks or Pokes etc.)
I have a couple of friends with Apple systems and I’d like to share some of my progs with them, but I’m loth
to just hand them a copy and say “try this”, in case it interferes with their settings, or worse.
Are they safe to run on other systems, and will they run similarly to how they run on mine?
And if so, are there sections of PE that still should be avoided for compatibility?  (the .exe files, I mean) Undecided
 
You won't be able to just send your compiled .EXE files to them. The .EXE files you create on your system are specifically compiled for Windows. You'll either need to have your friends install QB64 and compile your source code (your .BAS files) or have someone with an Apple compile your source for you to then hand to your friends.

There's no need to worry about your programs interfering with your friend's computer systems unless you specifically wrote the code to do that. Your code will run the same whether it's been compiled on Windows, MacOS, or Linux.

Some QB64 commands do work a bit differently (or not at all) between the three operating systems. Someone that uses an Apple would be better suited however to fill you in on what those difference are.


RE: Apple etc. compatibility - SMcNeill - 03-30-2024

(03-30-2024, 04:06 AM)TerryRitchie Wrote:
(03-29-2024, 11:02 PM)PhilOfPerth Wrote: This  is a pretty wide-ranging question, and I guess not many will be interested in answering it. But here goes…
My computer uses Windows 10. I’m only familiar with Windows, and have no access to other systems for testing.
I use a fairly small subset of PE for coding (no DMAs, Peeks or Pokes etc.)
I have a couple of friends with Apple systems and I’d like to share some of my progs with them, but I’m loth
to just hand them a copy and say “try this”, in case it interferes with their settings, or worse.
Are they safe to run on other systems, and will they run similarly to how they run on mine?
And if so, are there sections of PE that still should be avoided for compatibility?  (the .exe files, I mean) Undecided
 
You won't be able to just send your compiled .EXE files to them. The .EXE files you create on your system are specifically compiled for Windows. You'll either need to have your friends install QB64 and compile your source code (your .BAS files) or have someone with an Apple compile your source for you to then hand to your friends.

There's no need to worry about your programs interfering with your friend's computer systems unless you specifically wrote the code to do that. Your code will run the same whether it's been compiled on Windows, MacOS, or Linux.

Some QB64 commands do work a bit differently (or not at all) between the three operating systems. Someone that uses an Apple would be better suited however to fill you in on what those difference are.

https://qb64phoenix.com/qb64wiki/index.php/Keywords_currently_not_supported_by_QB64#Keywords_not_supported_in_Linux_or_macOS_versions  <-- We try and keep an updated list of the differences between the various OSes with QB64PE.  Over time, we try and chip away at these issues, when and where we can.

In our next version update, you guys should see the fix for MouseMovementX, MouseMovementY, and MouseWheel for Mac/Linux.  I think...  

I've been kinda busy getting things ready for Easter and April Fools and just spring work here on the farm as usual, so my attention has been split to say the least here lately.  (As well as paying for the forums, arguing with our hosts when the changes took our site down due to some glitch on their side -- TWICE this month alone!)  The daily life of Steve is anything but calm.  LOL!

Anywho, I know there are fixes and updates coming soon(tm) for the mouse on our various OSes.  Browse our repo for more details, or just happily wait until our next version comes out.  Smile


RE: Apple etc. compatibility - PhilOfPerth - 03-30-2024

(03-30-2024, 04:06 AM)TerryRitchie Wrote:
(03-29-2024, 11:02 PM)PhilOfPerth Wrote: This  is a pretty wide-ranging question, and I guess not many will be interested in answering it. But here goes…
My computer uses Windows 10. I’m only familiar with Windows, and have no access to other systems for testing.
I use a fairly small subset of PE for coding (no DMAs, Peeks or Pokes etc.)
I have a couple of friends with Apple systems and I’d like to share some of my progs with them, but I’m loth
to just hand them a copy and say “try this”, in case it interferes with their settings, or worse.
Are they safe to run on other systems, and will they run similarly to how they run on mine?
And if so, are there sections of PE that still should be avoided for compatibility?  (the .exe files, I mean) Undecided
 
You won't be able to just send your compiled .EXE files to them. The .EXE files you create on your system are specifically compiled for Windows. You'll either need to have your friends install QB64 and compile your source code (your .BAS files) or have someone with an Apple compile your source for you to then hand to your friends.

There's no need to worry about your programs interfering with your friend's computer systems unless you specifically wrote the code to do that. Your code will run the same whether it's been compiled on Windows, MacOS, or Linux.

Some QB64 commands do work a bit differently (or not at all) between the three operating systems. Someone that uses an Apple would be better suited however to fill you in on what those difference are.

Thanks Terry. That answers it all  for me. I'll have a go at  persuading a friend to install Qb64 (but I don't like my chances)!


RE: Apple etc. compatibility - NakedApe - 03-30-2024

Phil, I'm a mac user and I've just been sending friends a QB64PE program I wrote. I'm up to speed on this. And I have a little instruction sheet your friends will need too. If you want, upload your zipped directory (or just .bas file) here and I can try running the program and then upload a mac friendly Unix .exe with instructions.  Smile

Ted


RE: Apple etc. compatibility - PhilOfPerth - 03-30-2024

(03-30-2024, 07:34 PM)NakedApe Wrote: Phil, I'm a mac user and I've just been sending friends a QB64PE program I wrote. I'm up to speed on this. And I have a little instruction sheet your friends will need too. If you want, upload your zipped directory (or just .bas file) here and I can try running the program and then upload a mac friendly Unix .exe with instructions.  Smile

Ted
Wow, thanks Ted!
The prog I want to send is just getting tweeked, but when it's done, I'll take up that offer.
It's nothing super-special, but I think they'll enjoy it, and I'm quite happy with the way it's turning out.
I'll be in touch. Thanks again for the offer.


RE: Apple etc. compatibility - PhilOfPerth - 03-31-2024

(03-31-2024, 07:10 AM)Tim Wrote:
(03-30-2024, 11:03 PM)PhilOfPerth Wrote:
(03-30-2024, 07:34 PM)NakedApe Wrote: Phil, I'm a mac user and I've just been sending friends a QB64PE program I wrote. I'm up to speed on this. And I have a little instruction sheet your friends will need too. If you want, upload your zipped directory (or just .bas file) here and I can try running the program and then upload a mac friendly Unix .exe with instructions.  Smile

Ted
Wow, thanks Ted!
The prog I want to send is just getting tweeked, but when it's done, I'll take up that offer.
It's nothing super-special, but I think they'll enjoy it, and I'm quite happy with the way it's turning out.
I'll be in touch. Thanks again for the offer.
Hey Phil, any program is super-special. You created something that you thought needed to be done. It all matters.
Thanks Tim. That's very encouraging. I guess there are lots of people out there writing progs that will never leave their own computer.


RE: Apple etc. compatibility - TerryRitchie - 04-01-2024

"I guess there are lots of people out there writing progs that will never leave their own computer. "

I have hundreds, perhaps into the thousands over the 40+ years I've been dabbling in programming.