Search This Blog

Sunday, November 16, 2008

Legacy Free PCs

Many people don't know it, but today's PCs--including the system you're using right now--contain elements that have hardly changed at all in the last 20 years. Yes, CPUs are faster, hard drives are bigger, and RAM banks are larger. But in many fundamental ways, your PC isn't very different from the PCs of two decades ago.
Although some of the system elements have been modified over time, almost everything in your PC is a direct lineal descendent of the IBM PC AT--a seminal design that still shapes PC architecture two decades later.
In many ways, the PC's hardware consistency over time has been a good thing, a stabilizing force in the otherwise rapidly changing world of computing. It's been a huge positive for businesses and users because this consistency has made many peripherals completely interchangeable. For decades, we've been able to mix and match printers, keyboards, mice, monitors, scanners, modems, and more, largely without regard to the brand of PC.
Hardware standardization also has helped the bottom line by driving down prices: System and peripheral vendors have had a vast and uniform market from which to draw supplies, and to which to sell products, resulting in the commodity-level pricing that's behind today's amazingly low hardware costs. Overall, the PC AT's legacy has been an enormously positive one.
But it also has had a downside, principally in retarding innovation and slowing hardware advancements. The installed base--that is, the mass of existing, older, in-use hardware--acts like a giant speed brake on the computer industry because businesses and users are loath to give up older equipment that's still functional, even if newer designs would perform better or faster. As a result, new technologies tend to emerge piecemeal and more slowly than they would if hardware vendors could make a clean break with the past.
There's even a joke that made the rounds of the computing industry awhile ago: "Why was God able to create the universe in only seven days? Because he didn't have an installed base to deal with."
Despite this backward drag from the installed base, the Grail of many hardware engineers has long been a totally "legacy free" PC that can employ only fully modern, state-of-the-art, high-speed components and architectures. Such a PC would be faster, more compact, more reliable, and less expensive, as well as easier to manufacture and maintain.

- Fred Langa

The IBM PC shipped in 1981 -- over twenty years ago. The PC offered various expansion capabilities, including a parallel port, a pair of serial ports (on a separate card), and a keyboard port. It also supported a 5.25" 160KB single-sided floppy disk. The 8-bit PC/XT bus slots were expanded to 16-bit ISA slots in the PC/AT in late 1984. Later, IBM shipped the PS/2, whose enduring legacy in the PC universe today is a pair of compact connectors for the keyboard and mouse, and the 3.5" 1.44MB floppy drive.
Recently, I dug out an old Northgate Omnikey keyboard that's been gathering dust in my storage area. It's at least ten years old. I plugged in a PC-to-PS/2 keyboard adapter. It still works. This type of backwards compatibility has been the great strength of the PC over the years, but it's rapidly becoming an Achilles heel. Various factors have kept these anachronisms in place, such as corporate IT shops that need to support parallel and serial ports, or users with a pile of floppies that contain valuable data. We've even seen an ISA slots in a few new systems. And no doubt the Super I/O chip is still using ISA signaling to support legacy I/O.
So it's no surprise that a company like Apple Computers can push interesting new technologies into their hardware and software more quickly than PC manufacturers. But the buzz over the "legacy free" PCs is starting to heat up. It began several years ago, with both Intel and Microsoft encouraging PC makers to move away from legacy connections. Back then, the pleas fell mostly on deaf ears, but it's beginning to look like the industry is ready. Dell is starting to ship USB keyboards, Gateway will pay you to delete the floppy drive, and at least one component company -- ABIT -- is shipping a line of "legacy-free" motherboards.
What do we mean by "legacy" here? Specifically, we're talking about a set of I/O options that have been part of the PC architecture for a long, long time.
If you look at "legacy-free" meaning a system that eliminates the entire kit and caboodle of this table, then we're still several years out. PCI and AGP will be around for at least two more years before PCI Express surfaces in force. Even then, don't expect systems to get rid of PCI slots anytime soon. Parallel IDE hard drives will probably be around for a couple more years, but will gradually give way to Serial ATA. Similarly, parallel SCSI will yield to serial-attached SCSI.
Actually, we shouldn't forget that the VGA port is also a legacy standard. In fact, VGA hardware is the only remaining piece of hardware that interacts directly with Windows. There is a move afoot to eliminate VGA, called the Universal Graphics Adapter or "UGA". The firmware-based UGA functionality will be accessible via a UGA driver built into the next version of Windows, codenamed Longhorn. If the graphics chip makers consider removing VGA at that time, we could be completely legacy-free.

- Loyd Case

Did you know that the latest Intel Macs are actually "Legacy Free PCs"? In case you do not believe me, do a Google search for any Intel Mac's hardware specifications.

Why a Legacy Free PC?
Three words... simplicity, stability and evolution.

How can we define Legacy Free PCs now? Here is an overview:

Must Have

x86-64 Processor
http://en.wikipedia.org/wiki/X86-64

EFI
http://en.wikipedia.org/wiki/Extensible_Firmware_Interface

PCI-Express
http://en.wikipedia.org/wiki/PCI-Express

USB
http://en.wikipedia.org/wiki/USB

SATA
http://en.wikipedia.org/wiki/SATA

Must Not Have

BIOS
http://en.wikipedia.org/wiki/BIOS

ISA Bus
http://en.wikipedia.org/wiki/ISA_bus

PCI Bus
http://en.wikipedia.org/wiki/PCI_bus

AGP
http://en.wikipedia.org/wiki/Accelerated_Graphics_Port

Serial Ports
http://en.wikipedia.org/wiki/Serial_ports

Parallel Port
http://en.wikipedia.org/wiki/Parallel_port

PS/2 Ports
http://en.wikipedia.org/wiki/PS/2_connector

VGA Port
http://en.wikipedia.org/wiki/Vga_port

Floppy Disk Controller
http://en.wikipedia.org/wiki/Floppy_disk_controller

Game Port
http://en.wikipedia.org/wiki/Game_port

Indeed, as system designers are freed of the constraints of the past, we'll likely see radical PC designs that will not only be faster, smaller, and better than today's designs, but that will make the traditional beige-box PC seem positively antiquated. And I, for one, can't wait!

Wednesday, May 14, 2008

Running Blood 2 on Windows Vista x64

I would like to share my experiences running Blood 2 Chosen and Nightmare Levels on Windows Vista x64. First off the both game installers use 16-bit installer stubs because of which it does not allow you to install the game directly on 64-bit Windows (32-bit Windows should work fine). Anyways, I installed both games and the patches inside Microsoft Virtual PC on Windows XP 32-bit. Then I moved the full game folder out to Windows Vista x64. If you are using 32-bit Windows, you should not face the same problem. To my surprise mostly everything worked out of the box except the music. I cranked the game to it's highest settings and ran it a 1280x960. It looked good for it's standard. But I was missing the music. So I started examining the files. The game uses Microsoft IMA (Interactive Music Architecture - old form of DirectMusic). Then I loaded the game in Dependency Viewer and start profiling it. I found that the Music failed to work due to a missing function "DirectSoundCreate" in the DLL "dslite.dll". Having done some DirectX programming before, I quickly figured that this is a mini version of the DirectSound library. The file that depends on "dslite.dll" is "am18.dll" that you will find in the Blood2 directory. I quickly opened "am18.dll" in a binary editor ("edit.com /72 am18.dll" works good) and binary edited the string "dslite.dll" to "dsound.dll" and saved the file (always remember to be in overwrite mode - this will not change the DLL file size and structure; do not overwrite other parts of the DLL). Then I fired Bood 2 and voila! Everything worked... even the music. :)

Edit:
Find the hacked AM18.dll file here.

Monday, February 18, 2008

Funny, but real spoken english!

In Tamilnadu, there is a well known person by name, Mr. Jeppier, Chairman of Sathyabama deemed university and some more self financing colleges who always speaks in English. That college students have collected & published a book by name "Jappier's Spoken English". Now, here are some classic English sentences from the great "Jappier's Spoken English".

# At the ground:
-----------------
All of you stand in a straight circle. There is no wind in the balloon. The girl with the mirror please comes her... (i.e. girl with specs please come here).

# To a boy, angrily:
--------------------
I talk, he talk, why you middle middle talk?

# While punishing students:
---------------------------
You, rotate the ground four times... You, go and understand the tree... You three of you stand together separately. Why are you late - say YES or NO .....(?)

# While addressing students about Dress Code: (he is very strict about this)
----------------------------------------------------------------------------
Every body should wear dress to college.
Boys no proplum.
Girls are pig proplum. (pig=big)
Girls should wear only slawar no nitee.

# Sir at his best:
------------------
Sir had once gone to a film with his wife. By chance, he happened to see one of our boys at the theatre, though the boy did not see them. So the next day at school... (to that boy) - "Yesterday I saw you WITH MY WIFE at the Cinema Theatre".

# Sir at his best inside the Class room:
----------------------------------------
Open the doors of the window. Let the atmosphere come in.
Open the doors of the window. Let the Air Force come in.
Cut an apple into two halves - I will take the bigger half.
Shhh... Quiet, boys... the principal JUST PASSED AWAY in the corridor.
You, meet me behind the class. (Meaning AFTER the class.)
Both of you three get out of the class.
Close the doors of the windows please. I have winter in my nose today...
Take Copper Wire of any metal especially of Silver...
Take 5 cm wire of any length....

# Last but not the least some Jeppiar experiences...
----------------------------------------------------
Once Sir had come late to a college function, by the time he reached, the function had begun, so he went to the dais, and said, sorry I am late, because on the way my car hit 2 muttons (Meaning goats).

# At Sathyabama college day 2002:
---------------------------------
"This college strict u the worry no .... U get good marks, I the happy, tomorrow u get good job, jpr the happy, tomorrow u marry I the enjoy".

# At St. Josephs college of engineering fresh years day 2003:
-------------------------------------------------------------
"No ragging this college. Anybody rag we arrest the police "

Enjoy this English, but don't forget your English!!! :)