Qbasic

Moderators: None (Apply to moderate this forum)
Number of threads: 82
Number of posts: 236

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How Do I run Qbasic 4.5 on a Linux? Posted by bifki on 22 Feb 2002 at 11:42 AM
I have several QB programs written in PC. I would like to transfer them and run them on Linux OS.

Report
Re: How Do I run Qbasic 4.5 on a Linux? Posted by Puzzler on 22 Feb 2002 at 5:34 PM
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...

Report
Re: How Do I run Qbasic 4.5 on a Linux? Posted by MainForze on 27 Feb 2002 at 12:46 AM
This message was edited by the MainForze at 2002-2-27 3:9:7

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...
:
:



Report
Re: How Do I run Qbasic 4.5 on a Linux? Posted by macprogrammer on 4 Jun 2002 at 6:48 PM
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
: This message was edited by the MainForze at 2002-2-27 3:9:7

: 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...
: :
: :
:
:
:
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.