21,459
社区成员
发帖
与我相关
我的任务
分享
org 07c00h
jmp short LABEL_START
nop
OEM db 'Dirichet' ;//8Bytes
Bytes_per_sector dw 512
Sectors_per_cluster db 8
Reserved_sectors dw 584
Number_of_FATs db 2
Root_entries dw 0
Sectors_small dw 0
Media_descriptor db 0f8h
Sectors_per_FAT_small dw 0
Sectors_per_track dw 63
Heads dw 255
Hidden_sectors dd 63
Sectors dd 3902913
Sectors_per_FAT dd 3804
Extended_flags dw 0
Version dw 0
Root_dir_1st_cluster dd 2
FSInfo_sector dw 1
Backup_boot_sector dw 6
times 12 db 0
BIOS_drive db 80h
db 0
Ext_boot_signature db 29h
Volume_serial_number dd 15329558
Volume_label db 'Dirichlet09' ;//11个字节
File_system db 'FAT32 ' ;//8个字节
LABEL_START:
mov ax,cs
mov ds,ax
mov es,ax
call DispStr
jmp $
DispStr:
mov ax,BootMessage
mov bp,ax
mov cx,15
mov ax,01301h
mov bx,000ch
mov dl,0
int 10h
BootMessage: db 'hello, kitty!', 13, 10, '$'
times 510-($-$$) db 0
dw 0xaa55