XP machine on Ubuntu and executing old DOS programs on it

Long time no see,

Intro (You can skip that if you’re not interested in my diatribes)

————————————————————————————————
I am currently working on my thesis. It’s about non-invasive monitoring, multiphase flow pattern recognition.

I work on Ubuntu and have MATLAB installed here. I must work with things like attractors, phase space, Kolmogorov entropy, Correlation dimension, etc.. Apparently, there’s no code for that on the Mathworks scene.

However, I found out a great tool called RRCHAOS (which seems to be used by “everyone” in that line of research).

RRCHAOS is a tremendous tool, it works on DOS. So, I installed a DOS virtual machine (VirtualBox) on Ubuntu.

The problem though is that it doesn’t really know how to manage my CPU (Core i5). Yes, I know, there’s a tool called DOSIDLE, but still..

And I wanted an XP box too. So I installed XP.

First issue, I have RRCHAOS on my USB drive and you can’t have access to that on your virtual machine.

ISSUE 1: USB support on virtual machine, XP guest, Ubuntu host.

Solution: I am using Gnome, not Unity

sudo apt-get install gnome-system-tools

Then

users-admin

Click on “Manage Groups”. Seach for “vboxusers” in the list. Double click, and check the user you want to add. Close. Log out, log in. Launch VirtualBox. If in the “Settings/USB” USB isn’t checked, check it and boot your virtual machine.

Go to devices, and choose your USB drive. It should work fine.

Second issue is that when I tried to execute RRCHAOS, it says there’s a problem with “config.nt”, that the system file doesn’t support DOS or Windows programs..

You can do some things. You insert your XP CD, and do the following on a command prompt (in case you wonder Windows+R or Start/Run then cmd)

expand CDDRIVE:\i386\config.nt_ C:\windows\system32\config.nt
expand CDDRIVE:\i386\autoexec.nt_ C:\windows\system32\autoexec.nt
expand CDDRIVE:\i386\command.co_ C:\windows\system32\command.com

Now, when I executed it. It ran, however .. It said that I needed at least 2MB of EMS memory.

What you want to do here is to look for a file named “_default” in the Windows directory. You right-click on it, and choose “Properties”. You click on the “Memory” tab. Look for EMS and choose “8192” (8MB). Apply and close.

My program runs… BUT.. In heavy computations (Correlation dimension, for example).. It gets HOT.

I open the system monitor, and it turns out there’s one CPU working at 100% capacity.

I close Windows, and click on Settings/System/Processor .. I chose 4CPUs. So that they can work in turns.

By the way, if anybody has worked on a topic like mine (pattern recognition, dynamic systems, non-linear time-series, attractors, multiphase gas-liquid flows, etc..), make yourself sparkle as Edward did in Twilight. I could ask a couple of questions.

Advertisements

D-Link DSL 2640U H/W: T1 F/W: ME_1.00

I have searched for that firmware EVERYWHERE.. The last place you want to look at is paradoxically on the D-Link websites. They are often down, if you’re lucky they’re slow.

They don’t have the firmware for that particular one (T1) easily reachable. They have all the rest, but not that one.

So, being in the habit of voiding the warranty of my electronic devices, doing tear-downs to tinker a bit .. I learned few things.

If you are like me looking for the firmware for THAT particular model, do a Google search with the following terms “gaw5.6t02-4-dl-r1b010”

Or if you are on the lazy side of the spectrum (Again, this is a D-Link website which should read “More often down than up”):

ftp://ftp.dlink-me.com/DLink_ME/ADSL/DSL-2640U/HW%20T1/Gaw5.6T02-4-DL-R1B010-ME.EN_whole_image(0222163812)%20(1).en_whole_image

EDIT: Having lost he firmware file, I wanted to download it again from the link I provided. Without success. D-Link website :) .. So I tried again, and again different days and hours. Until I succeeded.

Here is a Mediafire link: http://www.mediafire.com/?931zf4bsd2vlq5m

By the way .. “gaw5.6t02-4-dl-r1b010” is something I have found in a sticker on the PCB.

I have also searched for all the parts that could be searched (Broadcom, especially).. And I have found a little shy serial port (4 pins) marked J3. It seems it’s a 3.3 volts that needs to be shifted in order to talk with a computer.

Here’s a post on Electro-Tech-Online

http://www.electro-tech-online.com/repairing-electronics/128328-d-link-dsl-2640u-h-w-t1-f-w-me_1-00-a.html

Wien Bridge Op Amp Oscillator

This paper (lab report) is also in french, I’ll translate it soon. The maths are obvious though (transfer functions, gain, etc…)

It can be read or downloaded here http://bit.ly/TEC588TP5FRD2         (case sensitive link)

The files (Multisim & LT Spice) are here: http://www.mediafire.com/?8ipfm8w74jp36p0

For the other reports http://bit.ly/jhdocs

For any feedback, correction, addition, feel free to comment.

Op Amp Signal Generator

This college paper is in french for now (April 7th, 2012) like the previous one. I’ll translate it as soon as possible.

This one is about signal generating (ramp). There is a part where I didn’t count the voltage drop of the two zener diodes (when they are direct biased), so you’ll have to include that.

You can read it directly or download it from : http://bit.ly/TEC588TP4FRD4

The files for the simulation and the schematics (LT Spice & Multisim are here:

http://www.mediafire.com/?gd5ck8t8k7vw9ar

For all the other reports:  http://bit.ly/jhdocs

Multivibrators with NE 555 (Astable & Monostable)

This college paper (lab report) is in french for now (April 7th 2012), I’ll translate it as soon as I find some time.

It’s pretty much detailed, 11 pages talking about monostable and astable modes, with schematics, and ways to tweak the duty cycle. (making an astable with 50% duty cycle), reducing and eliminating the recovery time in monostable mode, etc…

You can either read it or download it from here: http://bit.ly/TEC588TP3FRD3

You can find all my reports here :  http://bit.ly/jhdocs .

PCB Etching Tank With Temperature Control & Bubbly Bubbles..

This is a college project, I opened a thread about that on electro-tech-online.com detailing the things to be done and getting great feedback, spot on advice.

The thread is here : http://bit.ly/GKnO4q

The main points are:

-The heart and brain of it will be a 16F88, it has got an Analog to Digital Converter which is very handy, for I’ll be using an LM135 (temperature sensor) and maybe I’ll have a pressure sensor for volume.

-Aquarium heater & pump. For temperature and agitating the fluid (to increase reaction speed).

All remaining details are in that thread, and I’ll update it when I get some things done.