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.
i suppose people can test it out now, but it would be better for people to test it out once i have it running the idt code ^^;.
if you want to, here it is: http://hakware.cjb.net/downloads/hakwareOS-1.1.zip . that's the development code. you must put the bootloader from /tackle on the floppy boot sector, and you must run kbuild from /src/hakware/ to compile/assemble the kernel and copy it to a:\kernel ! also, kbuild.bat only runs without modification on the c:\ drive, with /src being c:\src and /tackle being c:\tackle .
just make sure it doesn't crash the comp, and get back to me plzksankyu ^^;.
if you want to, you can just rawrite /tackle/booter.bin to the fat-formatted floppy and copy /src/hakware/i386/obj/start.o to the same, but i want to make sure it assembles on other systems too ^^;.
I moved it because i have reason to think it will *not* work on most systems ...
a few things that looks weird so far in your package:
- your "booter.bin" is actually oversized by 1 byte. thus the 0x55aa signature will not be recognized by most BIOSes.
- you have a very strange instruction "db jmpfar_opcode; dw start32,0000;" in init.asm, which makes me think you're either jumping to segment 0 or to an undefined segment ...
- your "tackle" code will hardly work once pmode is initialized. thus calling INT21, service 4C00 after IDT get initialized will result in nothing good ...
heh. sorry about the int21 in the tackle code, i have no idea why it's there since tackle is a form of basic designed for os dev. as for the db jmpfar db start32,0x0000 , i took that out of a tutorial, but i'm only using it because i don't have any better code to use. i tried a number of different code configurations, and they all ended up not running the idt code, so if anyone has suggestions as to what to put there, i'm all ears ^^;.
well, actually, TACKLE doesn't look like being designed for protected mode at all ... and the INT21h is there just because your program is over (maybe the END instruction ...) try a here: HLT goto here instead
hmm... yeah... btw, the bootloader isn't mine, it came with tackle. i'd rather not need to go through the hell of writing a bootloader, so does anyone have a suggestion?