x86 Programming
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Forum rule Nº 15 is strictly enforced in this subforum.
Re: x86 Programming
A lot of time? Why would it take a lot of time?
Advertising
I wanna lots of mov al,0xb

"just not into this RA stuffz"

"just not into this RA stuffz"
Re: x86 Programming
I have to lod the image file and then unload it in order to boot into Windows to compile my OS and then load it again to test it... And this is repeated every single time i make a slight change.. LOL It is frustrating...m0skit0 wrote:A lot of time? Why would it take a lot of time?
Advertising




Re: x86 Programming
Use a virtual machine. I recommend Bochs because you can debug with it, it has a separate advanced console for controlling the VM.
I strongly recommend using Linux. I had very little problems and you have tools that are rarely available on Windows, such as dd. NASM runs prefectly on Linux as well, no problem on that side. Bochs also runs like a charm.
On a side note, try to use the BIOS calls as less as possible. Try to do it yourself
I strongly recommend using Linux. I had very little problems and you have tools that are rarely available on Windows, such as dd. NASM runs prefectly on Linux as well, no problem on that side. Bochs also runs like a charm.
On a side note, try to use the BIOS calls as less as possible. Try to do it yourself
I wanna lots of mov al,0xb

"just not into this RA stuffz"

"just not into this RA stuffz"
Re: x86 Programming
My Assembly is still not that good... I actually use BIOS calls a lot... I'll try to fix that.. Is it possible to be able to call something only in certain BIOSes and not on others? (This never happened to me, I am just asking..)m0skit0 wrote:On a side note, try to use the BIOS calls as less as possible. Try to do it yourself




Re: x86 Programming
Not that I know about. BIOS use such functions for compatibility purposes mostly, although some OSs still use such functions.
And I still insist: use Linux.
And I still insist: use Linux.
I wanna lots of mov al,0xb

"just not into this RA stuffz"

"just not into this RA stuffz"
-
Strangelove
- Posts: 286
- Joined: Thu Nov 25, 2010 6:32 pm
Re: x86 Programming
What do you got so far?
"If you have specific questions ... don't hesitate to ask as the more generic the question is the more philosophic the answer will be" - PSPWizard
Re: x86 Programming
I am on a MacBook so a triple boot between Windows Mac and Linux is gonna be weird...m0skit0 wrote:Not that I know about. BIOS use such functions for compatibility purposes mostly, although some OSs still use such functions.
And I still insist: use Linux.




Re: x86 Programming
Just a kernel capable of displaying a welcome screen... Now I want to port some apps from MikeOS to my OS just for testing... Or I may even try to implement my own..Strangelove wrote:What do you got so far?




Re: x86 Programming
It's been a lot of time since I posted something in this thread, so I have another question. My OS has changed a lot. It is now a 32-bit OS and runs in p-mode. (Yay
) Just for testing purposes I decided to make an installer. But I was too bored to write another bootloader for the installer or even change my normal one so I thought of another way. Here goes: The user boots into the os using a cd (I don't want him to be able to change the files of the os). The user runs an installer through the os. The installer copies the files to the specified HD. Everything happens correctly and the files get copied to the HD (I have drivers) (Yay again
) And now the question. How can I copy files to the bootsector of the HD?
Thanks in advance!
Thanks in advance!




Re: x86 Programming
Nice work.
Good luck with it.
This is nonsense because he can just copy the CD contents to the HD and modify them. If everybody would be as protective, you couldn't be able to write your own OS right now. And if this is your thinking mode, I don't want to help you either.Nickolas wrote:The user boots into the os using a cd (I don't want him to be able to change the files of the os)
Good luck with it.
I wanna lots of mov al,0xb

"just not into this RA stuffz"

"just not into this RA stuffz"
