Howdy, Stranger!

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

Categories

How Do I run Qbasic 4.5 on a Linux?

bifkibifki Member Posts: 1
I have several QB programs written in PC. I would like to transfer them and run them on Linux OS.

Comments

  • PuzzlerPuzzler Member Posts: 208
    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...

  • MainForzeMainForze Member Posts: 36
    [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...
    :
    :



  • macprogrammermacprogrammer Member Posts: 2
    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...
    : :
    : :
    :
    :
    :
    :

  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    ( http://forcoder.org ) free video tutorials and ebooks about / MATLAB C++ C Swift Scratch Perl R JavaScript Python Ruby Visual Basic .NET C# PHP Go Visual Basic PL/SQL Objective-C Assembly Java Delphi Clojure Scheme COBOL Awk Julia Lisp D Apex Transact-SQL FoxPro LabVIEW Fortran Prolog Scala Ada Crystal Kotlin Erlang Bash SAS Alice Rust Logo ML F# Lua VBScript ABAP Hack Dart / _____________

Sign In or Register to comment.