How Do I run Qbasic 4.5 on a Linux?

I have several QB programs written in PC. I would like to transfer them and run them on Linux OS.

Comments

  • You need to find a linux compiler. And there aren't many of them out there. This is because baisc uses DOS based functions for a lot of things and although the program would run, it wouldn't work (or it might mess up your processor and you would have to reboot).

    --------------------------------------------
    I will bend your mind with my spoon...

  • [b][red]This message was edited by the MainForze at 2002-2-27 3:9:7[/red][/b][hr]
    You COULD also use an MS-DOS emulator on your Linux box. This is a program that takes a program originally coded for another computer/OS (in this case MS-DOS) and changes it's code to Linux code in realtime...
    However, emulators are usually coded by normal people like you and me so they might not always work flawlessly. Also, even if you get it to work, the compiler would STLL generate MS-DOS code so would have to use the emulator to run your own programs too...

    Anyway, I hope I cleared some thing up for ya...

    Greetz, MainForze

    [edit]I just stumbled over a website with various Linux BASIC compilers. Am I cool or what?!? ;-) http://www.basicusers.net/files/compilers/linux.shtml [/edit]

    : You need to find a linux compiler. And there aren't many of them out there. This is because baisc uses DOS based functions for a lot of things and although the program would run, it wouldn't work (or it might mess up your processor and you would have to reboot).
    :
    : --------------------------------------------
    : I will bend your mind with my spoon...
    :
    :



  • If you want to use the emulator, there is a pretty good Windows emulator called Wine. I don't remember the website, as it came with Linux Mandrake 8 SE. I think it's like wine.org or something like that. There was also a DOS emulator that ran QBasic fine as far as I remember. I think that it's called Free dos or something pretty close to that. If it isn't that might just be the kernel.
    Hope ya get it
    -macprogrammer
    : [b][red]This message was edited by the MainForze at 2002-2-27 3:9:7[/red][/b][hr]
    : You COULD also use an MS-DOS emulator on your Linux box. This is a program that takes a program originally coded for another computer/OS (in this case MS-DOS) and changes it's code to Linux code in realtime...
    : However, emulators are usually coded by normal people like you and me so they might not always work flawlessly. Also, even if you get it to work, the compiler would STLL generate MS-DOS code so would have to use the emulator to run your own programs too...
    :
    : Anyway, I hope I cleared some thing up for ya...
    :
    : Greetz, MainForze
    :
    : [edit]I just stumbled over a website with various Linux BASIC compilers. Am I cool or what?!? ;-) http://www.basicusers.net/files/compilers/linux.shtml [/edit]
    :
    : : You need to find a linux compiler. And there aren't many of them out there. This is because baisc uses DOS based functions for a lot of things and although the program would run, it wouldn't work (or it might mess up your processor and you would have to reboot).
    : :
    : : --------------------------------------------
    : : I will bend your mind with my spoon...
    : :
    : :
    :
    :
    :
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories