Skip to main content

Run QBASIC on Android

aDOSbox Icon

aDOSbox Icon

QBASIC is a simple programming language. It was made and launched in 1964 by John G. Kemenny and Thomas E. Kurtz. QBASIC is now owned by Microsoft. QBASIC stands for Quick Beginners’ All-purpose Symbolic Instruction Code. It has simple commands like CLS, Input, Print, Let, GOTO, IF…THEN etc. QBASIC has Characterized User Interface (CUI). It is similar to MS-DOS. Almost all the Microsoft OS can run QBASIC.

Android is a Linux-based Mobile Operating System. It is found in many Samsung phones like Samsung Galaxy Series. Nearly all the PC Tabs use Android OS. Android users enjoy many advanced features that are not found in PCs. What if they could create small programs in their phones? Yes, they can by using QBASIC.

But, there is no QBASIC application on Google Play. How will they create programs? It’s simple with aDOSBox. It is an Android DOS Emulator.

Let’s start programming!

- The first thing you will have to do is download aDOSBox (Android DOSbox) to your Android Device. Here is the URL: https://apkpure.com/adosbox/org.hystudio.android.dosbox

- After it is installed, you can open it and explore the app. The font maybe too small, but it is readable. Some phones have small screen, so there might be a problem understanding the texts.

run-qbasic-on-android

- Now, the final thing you need is the QBASIC application. This is a Windows application, not Android. You might have the QB.EXE or qbasic.exe file on your computer.

- Copy it to your SD Card. Make a folder called “QBASIC” and move the QBASIC application to it.

- Open aDOSbox.

- Type the command ‘CLS’ and press enter.

You’ll be seeing this:

After using CLS command

After using CLS command

- Then, type the following:


mount d /sdcard/qbasic

- Note that there is a space between d and /

- After that, /sdcard/qbasic will be mounted as local directory.

- Type d:

Scroll to Continue

- You will be taken to D: directory i.e. SD Card. C: is Phone Memory and D: is the SD Card.

run-qbasic-on-android

- Type the name of the QBASIC application present inside the QBASIC folder. If it’s QB.exe, then type QB.exe and press enter

run-qbasic-on-android

- After a second or two, the QBASIC screen appears!

run-qbasic-on-android

You will have to learn how to move mouse pointer yourself. It’s not that difficult. You first need to enable Mouse Emulation feature. When you slide your finger to right, the mouse pointer moves right. Take it to the desired place and press anywhere on the screen to click on the menu or area. My phone screen is small, so the font size is small and the graphics are not clear. However, QBASIC works the same way on your phone as in the computer. You can save programs, run them, change background color, create subs etc. If you want to exit QBASIC, then click on File and then Exit. The experience is amazing in a Tablet.

Check out some screenshots:

A program's output that shows the multiplication table of any entered number

A program's output that shows the multiplication table of any entered number

It's not fake!

It's not fake!

All the commands work. Even the LOCATE statement.

All the commands work. Even the LOCATE statement.

Program for the above output

Program for the above output

Simple Menu

Simple Menu

After you quit QBASIC

After you quit QBASIC

Check out some QBASIC programs here: http://ronny2005.hubpages.com/hub/QBASIC-Programs

Share your experiences on comment. Thank you. Have fun!

Comments

Yadav jee on October 17, 2018:

It is showing illegal command

Manav on March 09, 2015:

Its telling me thAth this directory doesn't exist

TomyYoung on July 16, 2014:

Yes Html is allowed in comments gate

TomyYoung on February 05, 2014:

Tes Ye me o k Yes html allot

Related Articles