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.
hi,
has anyone ever had any problems with booting their OS to a Gateway brand PC???? For some reason my kernel bootdisk will not work on them, but works ine in bochs+my home brew PCs:o. Any help would be great
Also...I read perica in there somewhere...does that mean the Perica Senjak that's here?
I saw somewhere that a simple function can stop your code from working on other PCs. In that case, it was their mem...() function(s).
Or it could be how you set up your OS and stuff.
I recommend you download BOCHS 2.0 and test your OS on there...but you need my BOCHS script in FritzOS to make BOCHS work, most likely. BOCHS comes with a debugger...so maybe it'll tell you what's wrong!
well, i have bochs 2.0, 1.5, etc and it works there just fine. I really have no mm yet so i dont't c how it could be that. perica's name is in there cuz i made that readme file 4 him(i never gave my source to anyone then). he is the same same one from here Also, what memory stuff is volatile on certain machines? i may be able to fix it if i know what not to do
to everyone reading these posts i believe i found the problem. I have managedto find it hrough outputting characters as debug messages and found that when it tries to read from the floppy disk using BIOS in 0x13 it nevers returns, why? I have no clue. It may be because it needs the floppy drive to be reset or something like that. I am trying to solve the riddle now and will let everyone know when i figure it out. Bye.
well, i gotta say thx, but this sux! That floppy reset thing loops and never comes out. I tried my own version and the same thing happened. I also noticed that my a20 code resets the machine which happens to the gateway and my PC. Why does this happen? i'm getting so close to fixing it too! please help me!
Regards,
Mr. xsism (my a20 code is with the above posted zip file)
edit[ok, well, now urs works, but not mine. so i'm gonna use urs,k?]
[i don't understand why mine doesn't! i xor ax,ax + mov dl,[bootdrive] + int 0x13 + jc resetfloppy]
[alwell, thx tom ]
yes!! i got it working! although it wasn't the reset deal i thank u tom I wuill answer the problem as promised:
it was the ES segment reg
do this, when u set the DS to CS
mov ax,cs
mov ds,ax
mov es,ax
that will fix any int 13h problems u will have on a gateway!
Yahoooooo! ;D
sigh, sorry guys but i found another problem with int 13h. I access more than 18 sectors at a time so it doesn't work. But that es thing was one problem. Sorry :/ Check out my new post about it thx