I am studying assembly language, I followed <http://mikeos.berlios.de/write-your-own-os.html> steps, for make a bootable graphic game, but I have a problem: I can't use more than 512 bytes of memory for my program.

How can I solve this problem?

I appreciate any help.

Here my code (still smaller than 512 bytes): <http://pastebin.com/i6ehx8dT>

**Edit:** I solve my problem, here a minimum example of floppy bootloader made in assembly language 16 bits: <http://pastebin.com/x1SawyjN>

Finally this link was very helpfully: <http://www.nondot.org/sabre/os/files/Booting/nasmBoot.txt>