Archive

Archive for the ‘How To’ Category

Run MASM 8086 Assembler in Ubuntu or Windows 7(x64) using DOSBox

March 4th, 2011 41 comments

Here’s how to run 16 bit DOS executables like the MASM assembler or Turbo C compiler in Ubuntu (GNU/Linux) or in 64 bit editions of Windows 7 using DOSBox, a DOS environment emulator. DOSBox is available for Linux as well as Windows.

DOSBox installation

For Ubuntu users (using repository)
Open the terminal and type in the following commands to download and install DOSbox in Ubuntu
sudo apt-get update
sudo apt-get install dosbox

You will find it installed under Applications_Menu->Games->DOSBox Emulator

For other GNU/Linux users
Download DOSbox from here.
Open terminal and cd to the directory containing the downloaded tar.gz file. Type in the following commands to build and install :
tar -xzvf dosbox-0.74.tar.gz
cd dosbox-0.74
./configure
make

Check the src subdir for the binary.

For Windows users
Download DOSbox from here.
Run the downloaded .exe file and install it like any other software.

Now that you’ve installed DOSBox, you’ll be able to run any 16bit or 32bit DOS executable inside it.

Download the 8086 MASM Assembler from here. The zip file contains the following files :
masm.exe, tasm.exe, link.exe, bin2hex.exe, exe2bin.exe, td.exe, edit.com and debug.exe

Windows users extract the .zip file into C:\ so that the path C:\8086 contains all the above mentioned files. GNU/Linux users can extract it and place it in say /home/prashanth/8086

Launch DOSBox and type the following commands :
For Linux users :
mount c /home/prashanth/8086
c:

For Windows :
mount c c:\8086
c:

DOSBox in Ubuntu

DOSBox running in Ubuntu

Now the contents of the folder /home/prashanth/8086 or c:\8086 is mounted as c: drive inside the DOS emulator. You can assemble programs inside DOSBox as you do in your Microprocessor Lab under Windows XP; i.e your usual sequence of commands -
edit file.asm
masm file.asm
link file
debug file.exe

When you are done, type exit to quit DOSBox.

P.S : For GNU/Linux users, there’s an alternative assembler known as the NASM. NASM is considered to be one of the most popular assemblers for GNU/Linux.

Downloads :
DOSBox for Linux : dosbox-0.74.tar.gz
DOSBox for Windows : DOSBox0.74-win32-installer.exe
8086 Assembler : 8086_Assembler.zip

Free Public DNS (Domain Name Servers)

July 5th, 2010 1 comment

The Domain Name System (DNS) translates human-friendly computer hostnames into IP addresses. For example, the hostname ‘prashanthpai.com’ is translated into the IP address ’173.192.205.230′.

Here is a list of Free Public DNS servers that are a lot better,faster and safer than DNS servers of your ISP.

OpenDNS
208.67.222.222
208.67.220.220
or
208.67.222.220
208.67.220.222

Google Public DNS
8.8.8.8
8.8.4.4

DNS Advantage
156.154.70.1
156.154.71.1

Norton DNS
198.153.192.1
198.153.194.1

ScrubIT
67.138.54.100
207.225.209.66

Help :
How to change your DNS
Changing DNS server settings

Launch Applications From Run or Command Prompt

June 1st, 2009 No comments

I think that it’s cool and ‘geeky’ to be able to launch your favorite and frequently used application just the way you launch regedit, cmd or services.msc from the Run dialog box or even from the Command Prompt. In this post, I am going to tell you 3 methods to do this. The first two methods can be used only to launch executable files where as third method can be used to launch any file or directory.

1. Using Add2Run utility
Let’s start with the most simple way to launch applications from Run. Add2Run developed by Jitendra Bangani is a tiny standalone portable utility designed just to do this. Read more…

Make Simple GIF Animation Using UnFreeZ

May 24th, 2009 3 comments

GIF animations are most popular and are used everywhere right from banner ads to funny animations. UnFREEz is a very tiny useful utility developed by WhitSoft that allows you to make simple GIF animations. You do not need any knowledge or skills of editing frames or pictures. Basically what it does is, it creates a single animated GIF image from separate GIF files. UnFREEz needs no installation – it’s a stand-alone portable executable file.

Here are some of it’s features :

  • Drag and Drop GIF Images
  • Set Frame Delay Time
  • Automatic Interlacing
  • Automatic Transparency Detection
  • Read more…

Download Kannada Film Songs For Free

May 9th, 2009 2 comments

KannadaAudio.com is a very good site that allows you to listen to latest Kannada film songs using Real Player. The site also provides devotional songs, classical songs, folk songs, discourses, hari kathe, yakshagana etc !

KannadaAudio.com

KannadaAudio.com

But the site does not allow download. The song is streamed to your Real Player. In this article I am gonna show you how to download songs for free and play it on your computer using Real Player. Here’s how to do it. Read more…