Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Are you about disk reading exceptions? Yes, i have it but reading is successful.
Do you switch (is there a better term for that?) to a 32 bit code segment before performing the jump?
Yes first of all i jumped to protected mode and there i'm executing call.
Don't ignore compiler/assembler warnings.
ah, yes, 65536... But how can i read from there if i want to load my code to 0x10000? I already did it and it works, but i read it from floppy disk and didn't use LBA, there was just ex and bx with 0x1000 and 0x0, but how to load it with LBA...
ah, yes, 65536... But how can i read from there if i want to load my code to 0x10000?
Real Mode, and not using "word" when you mean "dword".
Also, get bochs and try stepping through your code. Instruction by instruction. Check for each of them if it does what you think it does, and if it doesn't, why it doesn't. There are more than a dozen things that could go wrong and it's very likely more than one thing did go wrong. But since the cause is probably going to be very obvious with this simple practice, it's better if you get the hands-on experience to do it yourself.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]