Well, i made the program so the OS boots up when the comp turns on , making it a operating system, it runs on a floppy, like a OS.
So it is a os.
heres the code, i need some help importing C code into it though
CODE
#make_boot#
ORG 7C00h
PUSH CS ; make sure DS=CS
POP DS
LEA SI, msg
; teletype function id:
MOV AH, 0Eh
print: MOV AL, [SI]
CMP AL, 0
JZ done
INT 10h ; print using teletype.
INC SI
JMP print
done: MOV AH, 0
INT 16h
MOV AX, 0040h
MOV DS, AX
MOV w.[0072h], 0000h; cold boot.
JMP 0FFFFh:0000h ; reboot!
new_line EQU 13, 10
msg DB 'HOS 1.0 - BY NOLAN HAMILTON'
DB new_line, '-->', 0
I need help importing some C code into there for some of the more "high level" stuff.
if you can help me, well... Thanks!
ps:I didnt make this code i copied it from a tut.
but i added a little
This post has been edited by NickDMax: 12 Sep, 2007 - 11:35 AM