Game programming in assembly

Programming, for all ages and all languages.
Post Reply
b2
Posts: 1
Joined: Sat May 22, 2010 3:23 am

Game programming in assembly

Post by b2 »

Hi board,

I would like to get the following: Instead of booting an OS from a CD or floppy disk, I would like to boot a game (like in the old Atari days).

So I need information about game programming in assembly.

Where can I find some information about this?
(The only information I got is about using assembly in game projects for optimizing)

Oh, and I'm not talking about programming games in assembly for MSDOS, any Video game consoles etc. Just the good old x86 architecture.

Hope you can help me.


Regards,

b2
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Game programming in assembly

Post by Love4Boobies »

You don't need to program your bootable game in assembly (though you will need a very small bit to get to the C stage). If you want you can skip even that almost entirely by using a boot loader such as GRUB.

You will also need to learn a few other things like how to do graphics programming, etc. - these things are not strictly related to the x86 but you'll find programming information in separate specifications.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Gigasoft
Member
Member
Posts: 855
Joined: Sat Nov 21, 2009 5:11 pm

Re: Game programming in assembly

Post by Gigasoft »

Why would you program a game differently in assembly than in other languages, such as C? If you know how to make a game, and you know assembly, then you know how to make a game in assembly.

And good luck with supporting all the different video and sound cards out there. If you do all rendering manually using framebuffer access, VBE will work fine, but for sound cards there is no common standard.
User avatar
Thomas
Member
Member
Posts: 281
Joined: Thu Jun 04, 2009 11:12 pm

Re: Game programming in assembly

Post by Thomas »

Hi,
It does not matter what language you use, its concepts that matter.There are few resources that helped me,I am writing this from the top of my head,you can search for more details
1)PCGPE - PC Game Programmers Encyclopedia
2)Atrevida Game Programming Tutorials
3)Alex Russels Dos game programming tutorial
4)Zen of Graphics Programming - Abarash
5)All Andre Lamothe Books :),they are awesome.
--Thomas
Post Reply