Friday, February 12, 2010

Assembly RULES !!!

// Program to reverse a string in Assembly

#include <iostream>
#include <cstring>

using namespace std;

int main()

    char array[] = "This is shitty";
    unsigned int len = 0;

    len = strlen(array);
        push esp       
        push ecx
        push eax
        push ebx

        xor ecx, ecx
        xor eax, eax
        xor ebx, ebx

        lea eax, array

up:        mov bl, [eax + ecx]
        push ebx
        inc ecx
        cmp ecx, len
        jne up

down:    pop ebx
        mov [eax], bl
        dec ecx
        inc eax
        cmp ecx, 0h
        jnz down

        pop ebx
        pop eax
        pop ecx
        pop esp       

    cout << "New Array = " << array << endl;

    return 0;

Machine - Intel x86
Exe Size - 220 KB

Tuesday, February 2, 2010

Killing Time...

My first post of 2010 :D
Confession : This post is being created on the crappiest PC ever. An Intel Atom Dual Core running Windows Vista Home Edition with 512 MB of RAM :P Not quite my choice to compose a post on, but since my laptop's busted [ with all the gizmo's therein ] well i ain't got much choice.

What's this all about ? Well, metaphorically speaking, its about "Killing Time" - All the first / third person shooter games that i have played in my life since i got my hands on a computer. Also you shall have a glimpse of the technological lapse in the gaming industry from skinny dos games to DX7 and present DX10 games. Tried to keep it in chonological order, but i don't think that worked out :D click the images for a larger view.

So lets get started....

The very first, ground zero, the beginning of, i say my killing career started with -

that's right - Wolfenstein 3D. I bet everyone's played this one. A revolutionary FPS bringing the 3D gaming experience to users. Don't need much of a system configuration for this one eh.

Next stop - Doom - the first version of a full blown 3D environment, shooting all kinds of stuff...specially meatballing everyone :P

A long leap after this one to - Sodier of Fortune - larger dynamic environments, got vehicles and stuff, more weapons for a itchy trigger-finger.

Delta Force 2 - Team based FPS. You'd never play it twice :P But if you're a starter to FPS, you'd gotta start with this one [ other option - Counterstrike :D ]

Half - Life - Enter Gordon Freeman, G-Man, Barney and the nasty creatures that spawned at the Black Mesa Research facility. One of the best sci-fi games ever. played it till my eyes popped out [ not literally though :P ]

Soldier of Fortune 2 - An upgraded graphics engine, improved AI and diverse outdoor environments a decent followup to its predecessor...

Return To Castle Wolfenstein - This takes you back to kicking some Nazi butt. But with improved graphics and AI, weapons and also monsters. The same Wolf 3D now in a whole new context.

Serious Sam - The First Encounter - Released during a time where shooters were becoming increasingly realistic and more concerned with "authenticity", Serious Sam offered up traditional, Doom-style shooting. However, the more modern technology of the time allowed for a new take on that classic formula. Enemy designs are whimsical and often take inspiration from mythology and fantasy, and include anything from flying harpies, to giant bipedal cybernetic monsters, to headless suicide-bombers.

Project I.G.I - Praised for its superb sound design and graphics but a crappy A.I. Worth a timepass...

Project I.G.I 2 : Covert Strike - Wanna get out of this one alive use stealth instead of regular rambo style kill em all attitude. Really pissed me off :D

Conflict : Desert Storm - Yeah its Gulf War time. A team based strategy game where the player can take control of multiple characters...

Delta Force : Black Hawk Down - Based on the movie and delta force style with hyped graphics and crappy AI. For pulling the trigger only no brains required...

Max Payne - They were all dead, the final gunshot was an exclamation mark to everything that had led to this point, i released my finger from the trigger, and it was over...its been 7 years since i played this game, still remember these lines. Awesome bullet-time feature and great storyline. One of the Best games ever [ P.S - The movie was a disgrace to the game... ]

Medal of Honor - Allied Assault - Enter World War II. Time to back in time and kick some ass. Learning about historical events this way is much better.. :D

Max Payne 2 : The Fall of Max Payne - They made a sequel to the game. Awesome. Improved graphics and gameplay...Love kills...

Call of Duty 2 / United-Offensive - Another WWII, highly improved graphics engine, AI, weapons and hey you get to be in a bomber off to Japan...

FarCry / FarCry 2 - Highly immersive environment. Awesome A.I. A game in its time where the water looks like water...

Doom 3 - :D No Comments. ShotGun + Itchy Trigger Finger = Meatball Fest. Recommend to be played in a dark room with a 5.1 surround sound...

Half - Life 2
- The new version of Half-Life. Top quality graphics & AI, Steam Engine. Awesome gameply with immersive environments.....

Halo - A sci-fi game with never before seen environments & awesome story line...

....okk now i am fed up of describing the games, the ones below speak for use playing em' unless you got a NVidia GeForce 9600GT or better...



Clive Barker's: Jericho

Call of Duty : Modern Warfare

So this is it. A complete career from 2001 to 2009 :D

2010 starts off with Call of Duty : Modern Warfare 2