Greetings fellow ASM programmers,

I am having a sort of problem with a start-up code that I'm making. I have a bootsector that works perfectly. It searches the FAT on a disk's root for a file name, then it reads the file into memory and jumps to it.

The start-up code is located in 0x0050:0x0000, and the boot sector is loaded into 0x07C0:0x0000 (OR is it 0x0000: 0x07C0???)

Now, I need to know what is wrong, because I CANNOT access the MBR that's in the bootbloc which is in memory. It is VERY frustrating for me. I have been trying for about 3 days to get the start-up code to access the MBR so I can try to load another file... Changing a single thing then assembling, then going into my other room to my 486, I boot it up and the 486's BIOS says:

NO ROM BASIC
HANGING SYSTEM

It is REALLY bothering me now... NASM doesn't seem to be bothered, it assembles nicely, but it really doesn't execute correclty...

This is TOTALLY REQUIRED for my OS to work. I HAVE to have a startup file because the bootsector code is too big to fit A20 enabling code (98 bytes), so I can't load the kernel(It could be several megs of executable code!!! - I expect the start-up code to be around 1 or 2KBytes).