Turbo C graphics on Win7 [Updated]

Sorry, there seemed to be a problem in the tutorial described before.
There was a problem loading the includes file in turbo c which was due to directory mismatch in the turbo c installation.keeping the tc folder in a folder with name dosbox and mounting the folder dosbox as c: would fix the issue.The tutorial has been updated to fix the issue.
Sorry for any inconvenience caused.

Today I noticed that Win7 doesn’t support Turbo C graphics.

Win7 doesn’t support the fullscreen mode for DOS applications.

That was fine, just ignoring the error would start turbo c in window mode. But today when I tried running the program with graphics, the program compiled without any errors but on running the program displayed the same error and ignoring it didn’t do any good. Instead I get another error

So I tried changing some options on turbo c but all in vain.couldn’t make it work. And then I realized, DOSBox must be available for windows as well.(DOSBox is an DOS emulator. I had been using DOSBox to test my programs on turbo C on linux)

So the solution to this problem would be to install DOSBox on your win7. With DOSBox you can run turbo C on fullscreen mode as well. So download the latest DOSBox and start using Turbo C on fullscreen.

Setting Options on DOSBox:

In order to change the options of DOSBox, goto the DOSBox options menu in start menu.It will open the dosbox .conf file on notepad. The conf file is well documented. And there’s no need for much change.change the fullscreen valu from ‘false’ to ‘true’ if you want to run dosbox on fullscreen mode

You need to first mount the folder containing turbo c to be able to run it.
So on starting DOSBox type “mount c c:dosbox” assuming your turbo c installation files are at “c:dosboxtc”. Then change the current working drive from “z:>” to “c:>” by typing the command “c:” and next type “cd tcbin” and then “tc” to run the Turbo C. VOILA!! that’s it!!! your very own TC in fullscreen mode in Window 7

typing all these commands could be tedious and hard to remember to some of you.so we can autoexecute these commands.At the end of the conf file(i guess u know how to do it.but in case you forgot, open it from the DOSBox options menu from start menu). and at the end of the file under [autoexec] heading paste the following lines

mount c c:dosbox
cd tcbin
this would directly open Turbo C
If you have any problems please feel free to ask me. always happy to help 🙂
P.S. if you use ‘gcc’ and want to be able to use graphics.h, you will need the library ‘libgraph’ installed.
This post describes very well how to do it.

Geeky Way to listen to Revolution Radio (rvlradio.com)

THT RVLradio @ Moksh

If you are on linux and don’t want to trouble your browser to listen to the radio, then here’s how you can achieve it.

Install mplayer on your machine, fire a terminal window and enter the command

mplayer http://rvlradio.com:8029

Alternatively, if it doesn’t work, enter the ip address for rvlradio.com


The aforementioned example is for the live radio. You just need to change the port to tune into other channels under rvlradio. Below is the list of URIs for different channels.

Live –>
Rock –>
Pop –>
Nepali1 –>
Nepali2 –>
Metal –>
Blues –>
Dance –>

Here’s a screenshot of the RVL Pop channel [Without You – David Guetta feat. Usher] being played on my machine.

CHEERS to Revoultion Radio !!!!!!

TwiSkip HomePage

I always loved the “Skip Inbox” function in GMail and so much wanted it in twitter as well.
Here’s the same function for the twitter and I love calling it “Twiskip”

Ever wanted to get the tweets from a tweeterholic but didn’t want your homepage overcrowded with their tweets?

Here’s a simple solution.

Just go to their profile page and add them to one of your lists[Note:don’t follow]

If you are already following the person.Just unfollow them and add them to the list.

Simple as it is!!!


Filter Facebook mails in hotmail

  • Sign into your hotmail account.
  • Click on Options at the right side of the page and goto More Options
  • Click on “Automatically sort e-mail into folders” under “Customize your mail” heading.
  • Click on the button called “New Filter”
  • In step 1 “Which messages are you looking for?”, enter “facebookmail.com” in From Address Contains field .
  • Now, in step 2 “Where do you want to put these messages?” create a new folder and name it whatever you like[Facebook would be good 🙂 ]. Finally save it and you are done. Now your inbox is free from all the cluttered mails from facebook.And you can find ’em all under the Facebook folder accessible from the left side of your hotmail page.

8085 Simulator

After a brief search for a good 8085 simulator, I ended up with GNUSim8085

Very easy to use and pretty impressive look and feel.

Okay, now for installation.

If you are using a debian distro, the author congrats you coz’ it’s available in the repo. Just fire up a terminal and sudo aptitude install gnusim8085

There you go. GNUSim8085 is installed in your machine.

Now for windows. It’s not as easy as typing a line into your terminal but not that difficult though.

Download the latest version of GTK+ for Windows Runtime Environment from http://sourceforge.net/projects/gtk-win/

Let’s complete the downloads part first.

Download the program GNUSim8085 from


The download link’s on the right side of the page. The file name is gnusim8085-x.x.x-no-gtk-installer.exe

All downloads done!!!

Now, let’s carry on with the installation process.

Install the runtime-environment first.

After its sucessful installation, start installing GNUSim8085

If all goes well you will be able to use the simulator. The author provides you with some tutorial on using the sim and also some example programs.

Ubuntu Installation

With the Microsoft updating its Windows Genuine Advantage (WGA) tool to introduce a few uncomfortable niggles for users of pirated versions of Windows, popularity of Linux is getting higher. Everyone is afraid of getting his/her computer screen blackened by Microsoft. A lot of people are seeking to install Linux on their system but lack proper guidance. So I thought of posting the instruction guide on installing Ubuntu.

Here are the steps for installing Ubuntu along with your Windows.

  1. Empty a drive by backing up a copy of all its contents to another drive.
  2. Open ‘Disk Management Console’ by typing ‘diskmgmt.msc’ in Run dialog. (View this page for details http://support.microsoft.com/kb/309000)
  3. Locate the drive you just emptied. Right click on it and select ‘Delete Logical Drive…’ Select ‘Yes’ when asked for confirmation.
  4. Now right-click free space on an extended partition, and then click ‘New Logical Drive’.
  5. Specify the size of the partition such that it is 5GB less than the size of the drive you emptied.
  6. After this you’ll have an un-partitioned space of 5GB and an empty drive. Copy your data to the drive.
  7. Insert the ‘Ubuntu’ disk. Right click on the disk and click on autoplay.
  8. Select ‘Demo and Full Installation’. Click on Finish to reboot your machine.
  9. Enable boot from CD from your bios.
  10. Boot your machine from CD. The first thing you’d see is a language selection screen. Select the language you’d like your system to run.
  11. Now select ‘Try Ubuntu without any change to your computer’.
  12. After a certain time, you’d see a desktop just like Windows. You can continue using Ubuntu. When you feel like installing it on your machine, open the ‘Install’ program which is located on the desktop.
  13. Now an installer wizard would open guiding you through the installation of Ubuntu.
  14. You are once again asked to choose your language. Just click ‘Forward’.
  15. Select your location in the map provided.
  16. Choose your keyboard layout. Most of us use ‘US English’. So the default would be perfect.
  17. A window would appear telling ‘Starting up the partiotioner’. After it starts, select ‘Manual’ and click ‘Forward’.
  18. Select the free space and click on ‘New Partition’. Create a partition of size 4000MB. In ‘Use as’ select ‘Ext3 journaling file system’ and in ‘Mount Point’ select ‘/’. Then click on OK.
  19. Again in the free space, create another partition as Swap.
  20. Click ‘Forward’. The partitioner would take some time to create the partitions.
  21. In next page, create a username with password.
  22. You would be asked to import documents and settings from your windows. Select the entries as per your requirement.
  23. A ‘Ready to Install’ page would appear describing the details of the Ubuntu installation. If you want to make any changes, you can go back and make the change. Otherwise, continue with the installation by clicking on ‘Install’
  24. The installation would start and finally you would be asked to restart your machine.
  25. After restart, a menu would appear where you can select your operating system.

The installation of Ubuntu is finished.
Enjoy using Linux. Have FUN!!

For detailed information about installing Ubuntu have a look at the following websites.

If you have any trouble installing or using ubuntu contact me at sujinjoshi@gmail.com

Vista SUCKS!!!-Part 2

This is the second part of the article “Vista SUCKS!!!”.
Actually, this article was born due to an event following the event mentioned in the previous article.

When I tried to install Windows XP in the laptop. I encountered yet another problem. The Windows XP didn’t detect my hard-disk. I was so amazed. I had never seen such a case in my life. Then, I knew XP had a solution for this. It could load third-party drivers at the start of the installation. So I tried it. I pressed F6 and a message was displayed allowing me to install the drivers or continue with the installation without the driver. I chose to install the driver and a screen popped out. The new screen left me speechless. It said “Please insert the disk labeled Manufacturer-supplied hardware support disk into drive A: *Press Enter when ready”. Now, where on earth would I get a floppy drive for my laptop?

Then I thought“XP also SUCKS”. Actually, “Microsoft SUCKS”

I googled about it and found out that it was not just my problem. I found a solution for this problem too(there is no problem unsolved as long as Google is there)
The solution was to slipstream the drivers into the XP installation media. We had an application named “nLite” for this. It’s a really cool software. You can customize your XP installation.
I slipstreamed the driver into my XP installation CD and booted the laptop with the new installation disc. And, BRAVO!!!! It worked.

Thanks to nLite and thanks to Google.

I tried Ubuntu on this laptop and there was no problem with any hardware.

Finally, Long Live Linux.    Long Live Ubuntu

Vista SUCKS!!!

The latest release of every thing is supposed to be better, but Microsoft has proven itself to be an exception.
It released its new Operating System “Vista” which is far worse than it’s previous version “XP”.

Vista was released about 18 months ago. As my system didn’t support Vista(it demanded a real high specification), I didn’t think of upgrading and I didn’t want to use it either. I hadn’t used Vista much until recently when I brought a laptop from one of my friends. The laptop was with me for a few days and unfortunately it had a pre-installed Vista. I was compelled to work on Vista.

The laptop was really good. It had 2 X 2.00 GHz processor,  2 GB  of RAM. It met all the requirements for Vista to work(actually, it crossed the requirements). So, I thought of giving Vista a try, may be Vista was real good in a system like this. BUT, I was horrified at my experience.
I had problems running applications. When I tried to watch a video, the video stuck as if I was streaming it over the Internet.
It has a feature called “Digital Rights Management (DRM)” which controls the applications that I use. It doesn’t allow me to use my computer as I like. Why can’t I use the applications that I want?
It sure has some better designs but what’s the use of designs if you can’t work easily. The new start menu makes it difficult(at least for me) to find programs.

Now, the thing that made me post this article.
I was going through the control panel(which is really messy). I got to the User Accounts page and then thought of changing my password. I changed the password to a word in Nepali Unicode(thank god, the Nepali language input worked on Vista). I successfully changed the password and continued working on other things. After finishing my work, I shut down the laptop and went for a walk with my friends.
When I returned home and booted the laptop. I came to the login screen. I remembered that I had changed the password so I instinctively pressed the shortcuts for switching between the input languages and typed my password. ALAS! Vista says the password isn’t correct. I tried it again and again it failed. Then, I looked for the icon which displayed the language code that I have been using, but couldn’t find any. I was so pissed off. I was so angry with Vista. It allowed me to change the password in another language but doesn’t allow me to type it in the login screen. It left me no options than to install a fresh copy of another operating system. I got my Windows XP CD and started installing it to another partition.

From that day onwards, I swore to myself that I am never going to install Vista on my computer. Windows XP was better than Windows Vista and far better than that is our very own UBUNTU.

Say no to VISTA and start using UBUNTU
With Ubuntu, you get more than that you get in Vista for absolutely FREE!!!!!!!



Photoshop is a great tool for editing your photo and I really love it.

But recently I found a replacement for it. Good-Bye to Photoshop.
You might be expecting a new software but sorry to disappoint you. The tool I’m talking about is not a software. Of course, you can call it a software as it is not a hardware. But who would call a website a software. Ya, the replacement for Photoshop is a website. It’s a web application.

Photo-editing had never been such a fun. Picnik is full of easy to use yet powerful editing tools.
It’s fast, easy, and fun.

You can import photos natively from your accounts at Picasa Web Albums, photobucket,  flickr, webshots, facebook

And the best part about it is it’s FREE. This wouldn’t actually make a difference to us as Photoshop is also free for us. But providing such a great service for free is a big deal. Picnik is really great!!!

Now, what are you waiting for? Give Picnik a try!!
Goto http://www.picnik.com/ and start playing with your images.

P.S. Picnik requires a lot of bandwidth. If you have a slow connection, you would have to have some patience. You might get stuck in buttering the sandwiches…, laying blanket… It could take a real long time but it’s worth your waiting (देर से आए लेकिन दुरुस्त आए).