Hello Matija.
04 Apr 98 08:35, Matija Terzic wrote to All:
MT> I am writing a little operating, but i have a little problem. When i
MT> try to execute this
MT> /*
MT> SEG_A SEGMENT BYTE PUBLIC
MT> ASSUME CS:SEG_A, DS:SEG_A
MT> ORG 100h
MT> MAIN: JMP Start
MT> BootMsg DB 'Loading OS...0'
MT> START:
MT> MOV AX,0B800h
MT> MOV ES,AX
MT> MOV BX,0
MT> MOV SI,OFFSET BootMsg
MT> MsgLoop: MOV DX,[SI]
change it to MOV DL,[SI]
MT> CMP DX,'0'
change it to CMP DL,'0'
MT> JE MsgDone
MT> MOV DH,7
MT> MOV ES:[BX],DX
MT> INC SI
MT> INC BX
MT> INC BX
MT> JMP MsgLoop
MT> MsgDone:
MT> RET
Delete this one.
Add the following:
MOV AX,4C00H
INT 21H
MT> SEG_A ENDS
MT> END MAIN*/
MT> it doesn't work. Why does this doesn't work ?
Jos
--- GoldED 2.50+
---------------
* Origin: (2:500/19)
|