hi
i have some problem blew,see about the code
INITSEG=0x7c00
SETUPSEG=0x9000
_start:
mov ax,INITSEG
mov ds,ax
mov ax,SETUPSEG
mov es,ax
mov di,0
sub di,di
sub si,si; copy to SETUPSEG (256*2) Byte
cld
rep
movsw
jmp SETUPSEG:SysBegin
SysBegin:
i rewrite the code of bootsect.s in linux0.11 kernel by nasm ,but
this code can't work ,and i use bochs debug it ,find that after run
this code at 0x9000 address ,there is no data,still null, it seems
have't copy any data to 0x9000 ,
please help me to point the error ,3x
my system is debian , use nasm NASM version 0.98.38
email :
fxlstep@gmail.com