Menu

Running GWBASIC programs created in DOS

Anonymous
2016-04-20
2016-04-20
  • Anonymous

    Anonymous - 2016-04-20

    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?

     
  • Rob Hagemans

    Rob Hagemans - 2016-04-20

    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 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
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.