
i Have this code:
[BITS 16]
[ORG 0000h]
jmp start
paleta db 0,0,0
db 63,63,63
db 61,61,61
db 59,59,59
db 57,57,57
db 55,55,55
db 53,53,53
db 51,51,51
db 49,49,49
db 47,47,47
db 45,45,45
db 43,43,43
db 41,41,41
db 39,39,39
db 37,37,37
db 35,35,35
db 33,33,33
db 31,31,31
db 29,29,29
db 27,27,27
db 25,25,25
db 23,23,23
db 21,21,21
db 19,19,19
db 17,17,17
db 15,15,15
db 13,13,13
db 11,11,11
db 9,9,9
db 7,7,7
db 5,5,5
db 3,3,3
db 1,1,1
start: mov ax,0013h
int 10h
mov ax,0x07C0
mov ds,ax
mov es,ax
mov fs,ax
mov gs,ax
mov ax,00h
mov ss,ax
mov sp,0xFFFF
MOV SI,paleta
MOV CX,99
MOV DX,03C8H
XOR AL,AL
CLI
OUT DX,AL
CLD
INC DX
REP OUTSB
STI
mov ah,00h
mov dl,00h
int 13h
mov ah,00h
mov dl,00h
int 13h
mov ah,00h
mov dl,00h
int 13h
mov ax,100h
mov es,ax
xor bx,bx
mov ah,02h
mov al,06h
mov ch,03h
mov cl,0ch
mov dl,00h
int 13h
mov bx,0x0C00
mov ah,02h
mov al,12h
mov ch,04h
mov cl,00h
mov dl,00h
int 13h
mov ax,0xA000
mov es,ax
xor ax,ax
mov di,ax
mov ax,100h
mov ds,ax
xor ax,ax
mov si,ax
mov cx,3000h
rep movsb
ret
TIMES 510-($-$$) DB 0
DW 0xAA55
I will read 65 sector to 88 sector to 0100:000 and of the 0100:0000 to A000:0000, in sector 0 is bootloader
I booting....... I look and see black monitor why? in the 65-88 sector is monohromatic picture, i dont know why?
please help ME!!!