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.
but it didn't work. then I tried to copy [sector+0] to a variable named string, but whenever I tried it would say that it has the wrong combination of opcode and operand.
Probably because they are the wrong size. I don't much about assembly though, so I could be wrong.
Give a man Linux, you feed the nearest optician ( Been staring at the PC too long again? ).
Give a man OS X, you feed the nearest NVidia outlet ( I need more GPU power!! )
Give a man Windows, you feed the entire Tylenol company ( Self explanatory )
You are not setting all registers properly before calling the bios - all calls miss ES being set up. You also use a bios function that's not common use for outputting graphics. Read the wiki for better ways of displaying text.
but whenever I tried it would say that it has the wrong combination of opcode and operand.
The processor can't do infinitely complex instructions. Read the manual and consider breaking it up into more instructions.
"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 ]
thepowersgang (in another thread) wrote:3. See that link in the top - center of this page? "The OSDev.org Wiki - Got a question? Search this first", that one. Try clicking on it. It will do you a world of good. If you can't understand what's written in there, then you should search the web until you do.
Really, you can't have sniffed out the entire wiki between the time you found that post and writing this one. You can get the answers from there, and if you're still stuck please do read this excellent tutorial before posting anything else.
"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 ]
thepowersgang (in another thread) wrote:3. See that link in the top - center of this page? "The OSDev.org Wiki - Got a question? Search this first", that one. Try clicking on it. It will do you a world of good. If you can't understand what's written in there, then you should search the web until you do.
Really, you can't have sniffed out the entire wiki between the time you found that post and writing this one. You can get the answers from there, and if you're still stuck please do read this excellent tutorial before posting anything else.
this is just a little boring answer to me. but stay calm please as you see at my sing. i am just a fish. so you are right. i stuck in the code and can't find the solution. i tried many things to print something from bios call. but it didn't work. so i think "may i can get some help from here". my question may looks stupid one, but i hape to get some trink that complete this issue more easly.
thepowersgang (in another thread) wrote:3. See that link in the top - center of this page? "The OSDev.org Wiki - Got a question? Search this first", that one. Try clicking on it. It will do you a world of good. If you can't understand what's written in there, then you should search the web until you do.
Really, you can't have sniffed out the entire wiki between the time you found that post and writing this one. You can get the answers from there, and if you're still stuck please do read this excellent tutorial before posting anything else.
this is just a little boring answer to me. but stay calm please as you see at my sing. i am just a fish. so you are right. i stuck in the code and can't find the solution. i tried many things to print something from bios call. but it didn't work. so i think "may i can get some help from here". my question may looks stupid one, but i hape to get some trink that complete this issue more easly.
regards
Fish
Hi,
I'm locking this post and will be monitoring all future posts from your account. It looks like a troll's account, although I'm not 100% which is why you're not banned yet.