assembly - How to use more than 512 bytes of my own bootable floppy -


I am studying assembly language, I follow the steps to create a bootable graphic game, but I There is a problem: I '

How can I solve this problem?

I appreciate any help.

Here my code (still less than 512 bytes):

Edit: I resolve my problem, here's a minimum of floppy bootloader Example assembly language has been done in 16 bits:

The link at the end was very helpful:

It is not easy:

In fact, BOOS only loads 512 bytes of memory in memory first.

What you have to do, is to load the remaining data into memory, this is usually done using interrupt 13h (subfunction AH = 2 or AH = 42H).

If you really know where the disk is located, it is very easy because of this, boot loaders such as GRUB use famous places - unfortunately these places are sometimes called copy-protection drivers like Overwritten by other programs.

If you have to load with a well-defined file system (such as FAT or NTFS) it is more difficult: you only have ~ 450 bytes of space (because 512 bytes of 60 internal file systems Is used by) for the code which interprets the file system's data, receives the file and loads it into memory!


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -