|
Post by Rod on Jul 9, 2021 7:59:22 GMT
Anyone using Wine to run Just BASIC, if so any tips for a beginner?
|
|
|
Post by tenochtitlanuk on Jul 9, 2021 10:33:04 GMT
I run LB and JB under Wine on several machines. Usually using Ubuntu/MInt. It may be more problematic depending on what sort of apps you are coding- I use few API/dll calls, never use sprites, etc. But have never tried LB under Wine on Macs.
LB5 running native on whichever architecture ( PC, Apple, RaspberryPi) still has too many bits missing that I want to regularly use- if I'm still up to coding when it gets more complete I hope to move to it, for the tidier syntax and increased speed!
|
|
|
Post by Rod on Jul 9, 2021 14:16:09 GMT
Yes, if there was one thing that would bring the iMac alive for me it would be Liberty BASIC v5. The alpha is surprisingly fully functioned, some of the "bits missing" is I think syntax, a lot works if you get that right. A help file would be next on my agenda, or at least a command syntax list.
I am persevering with v4.5.1 because of the help file, editor and debugger tools that we have still to get on v5
I will try Crossover again, its paid for but seems to be fully supported and the best way to get Wine on an M1 iMac
Unless someone can show me a better way.
|
|
ntech
Junior Member
Posts: 99
|
Post by ntech on Jul 12, 2021 0:44:57 GMT
Hmm Wine itself should run fine on an M1 iMac, it supports the M1 architecture since version 6.01, which is the current stable release, and should provide everything needed to run JB or LB perfectly fine. I've used an older Wine version to run JB, and it worked pretty well.
|
|
|
Post by Rod on Jul 12, 2021 8:06:03 GMT
Thanks for the info. I have Crossover loaded and Just BASIC is running on it. It is very slow, so slow as to be unusable. It is the text handling in the editor which is the problem, it is almost impossible to navigate a large bas file. The graphics are slow as well but I could live with that. It also does not like the timer, I have to eliminate the timer delay loops and just loop to get programs running. More experimenting to do.
|
|
|
Post by xxgeek on Jul 13, 2021 17:11:31 GMT
Once WINE is installed, you can open a terminal and type: winecfg to open a GUI with tabs offering settings changes.
Set the display res Set the OS (win xp to 10) Set the dpi scaling
A few other options as well
There is also an app called q4wine that manages WINE, and any EXE files you run I've been using it since I installed WINE and it does a good job.
The repository Linux Mint uses only has WINE up to version 5.0 so I haven't gone past that version. The latest version of WINE may give better results.
There is another app called winetricks you can install where it gives options to use 64 bit, or 32 bit "emulation" and options to install windows components like dll files, .net support and a ton of other stuff a user might want that isn't installed by default.
If I think of anything else I'll post it.
Oh, in case you get the same problem I've had to deal with: Sometimes the JB menu seems to freeze up, and unusable. The only button that seemed to work was the "release notes" button. If I press that, then close it's window, I can again access the JB menu. Usually happens after a "file>"save", or "save as" Bit of a headache, but not a game changer..
|
|
|
Post by q2z54yok on Jul 14, 2021 9:12:27 GMT
Hi. I have used Wine on ROSA Linux to run JB without any problem. The only note is you have to use winetricks to enable font smoothing in order to have the fonts to look good.
|
|
|
Post by Rod on Jul 15, 2021 11:08:44 GMT
Ok, the exploration continues. I have Just BASIC v2 as a bottled wine app. I used Crossover. I am on a new iMac 24" M1 processor Big Sur. I can start Just BASIC, I can load programs and they run. But very slowly. Can other users of Wine just check out how their installation runs some code. I tried SpriteCreator v2, it loads and runs but takesa ages to compile, minutes for the 1600 lines of code. The screen appears eventually. I can load flame.bas to the import screen click on grid , then a single flame and import. All that happens in reasonable time frame. But then the import takes minutes to paint the 64x64 screen. Quite unusable. If you have a Wine installation could you load up invaders again.bas from the example programs and tell me how it runs, does it run for you, does it run slowly say a frame update every half second, that's what I get. Should I hope for faster.
|
|
|
Post by carlgundel on Jul 15, 2021 15:45:12 GMT
Ok, the exploration continues. I have Just BASIC v2 as a bottled wine app. I used Crossover. I am on a new iMac 24" M1 processor Big Sur. I can start Just BASIC, I can load programs and they run. But very slowly. Can other users of Wine just check out how their installation runs some code. I tried SpriteCreator v2, it loads and runs but takesa ages to compile, minutes for the 1600 lines of code. The screen appears eventually. I can load flame.bas to the import screen click on grid , then a single flame and import. All that happens in reasonable time frame. But then the import takes minutes to paint the 64x64 screen. Quite unusable. If you have a Wine installation could you load up invaders again.bas from the example programs and tell me how it runs, does it run for you, does it run slowly say a frame update every half second, that's what I get. Should I hope for faster. I see similar problems just running Big Sur in a VMware Fusion vm on Intel hardware. Really slow. Now add in cross processor emulation, and... .... .......
|
|
|
Post by Rod on Jul 15, 2021 16:45:17 GMT
If Wine is constrained by Big Sur I am pretty sure the iMac will bomb. It cannot survive on the Mac content currently available. £300 per annum for a drawing tool!!!!! I think not.
|
|
|
Post by carlgundel on Jul 15, 2021 17:13:43 GMT
If Wine is constrained by Big Sur I am pretty sure the iMac will bomb. It cannot survive on the Mac content currently available. £300 per annum for a drawing tool!!!!! I think not. I'm not saying it is 'constrained', but that when you add the burden of emulating the x86 hardware in addition to hosting an OS it will run slowly, relatively speaking.
|
|
|
Post by xxgeek on Jul 15, 2021 17:33:46 GMT
If you have a Wine installation could you load up invaders again.bas from the example programs and tell me how it runs, does it run for you, does it run slowly say a frame update every half second, that's what I get. Should I hope for faster. Tried running invaders again.bas on Win 10, and then Linux/WINE both run smooth Rod. Running in WINE seemed a tiny bit faster actually, possible bias here, but it did seem faster as the invaders cross the screen. I'm running on Intel hardware. In case you just want JB running and it doesn't matter how. Not sure if WINE is your best choice for the MAC. Have you tried boot camp to run JB? support.apple.com/en-gb/guide/mac-help/mh11850/mac
|
|
|
Post by Rod on Jul 15, 2021 18:48:45 GMT
It’s clear that Wine on intel works, Wine on M1 does not, too slow. Bootcamp has been eliminated by the M1 processor, it can no longer run Windows. So all in all a bad buy. For anyone still requiring Windows. Aka the whole world!
|
|
|
Post by carlgundel on Jul 16, 2021 16:35:54 GMT
It’s clear that Wine on intel works, Wine on M1 does not, too slow. Bootcamp has been eliminated by the M1 processor, it can no longer run Windows. So all in all a bad buy. For anyone still requiring Windows. Aka the whole world! This will need to be a job for the Wine people, to make their x86 emulation faster.
|
|
|
Post by tsh73 on Jul 16, 2021 19:37:16 GMT
I dunno There is a video youtu.be/dJzo3TNVOT0TeamFortress running under crossOver on M1. Sure JB not tasking computer more?
|
|