I'm assuming that you're running the app from the dmg image, aand that by 'active directory' you mean the one that PC-BASIC loads and saves its programs in. By default, that is your user home directory - if you enter the FILES command you should be able to see its files and subdirectories. You can use the Finder to copy the BASIC programs thereand use them with PC-BASIC.
If you prefer to have the programs somewhere else, have a look at the configuration file ~/Library/Application Support/pcbasic/PCBASIC.INI. You can use this file to define DOS-style drive letters. For example, adding the lines
mount=C:/Users/me/Documents
current-device=C:
at the bottom of the file will define /Users/me/Documents as the C: drive and make it the default drive (replace me with your username for this to work on your Mac). This way you can create a dedicated directory for your BASIC programs and assign it a DOS drive letter.
Hope this helps,
Rob
Last edit: Rob Hagemans 2016-04-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "[CLOSED] General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
The emulator pops up and works fine on my mac with OSX. Is there a way to copy old PC DOS-based GWBASIC programs into the active directory on my mac?
Hi, thanks for your interest in PC-BASIC!
I'm assuming that you're running the app from the dmg image, aand that by 'active directory' you mean the one that PC-BASIC loads and saves its programs in. By default, that is your user home directory - if you enter the
FILES
command you should be able to see its files and subdirectories. You can use the Finder to copy the BASIC programs thereand use them with PC-BASIC.If you prefer to have the programs somewhere else, have a look at the configuration file
~/Library/Application Support/pcbasic/PCBASIC.INI
. You can use this file to define DOS-style drive letters. For example, adding the linesat the bottom of the file will define
/Users/me/Documents
as theC:
drive and make it the default drive (replaceme
with your username for this to work on your Mac). This way you can create a dedicated directory for your BASIC programs and assign it a DOS drive letter.Hope this helps,
Rob
Last edit: Rob Hagemans 2016-04-22