39 lines
519 B
NASM
Executable File
39 lines
519 B
NASM
Executable File
;hello for you
|
|
org 0x7c00
|
|
jmp entry
|
|
db 0x00
|
|
db "helloOSX"
|
|
dw 512
|
|
db 1
|
|
dw 1
|
|
db 2
|
|
dw 224
|
|
dw 2880
|
|
db 0xf0
|
|
dw 9
|
|
dw 18
|
|
dw 2
|
|
dd 0
|
|
dd 2880
|
|
db 0,0,0x29
|
|
dd 0xffffffff
|
|
db "myosudisk "
|
|
db "fat12 "
|
|
resb 18
|
|
|
|
|
|
entry:
|
|
db 0xb8,0x00,0x00,0x8e,0xd0,0xbc,0x00,0x7c
|
|
db 0x8e,0xd8,0x8e,0xc0,0xbe,0x74,0x7c,0x8a
|
|
db 0x04,0x83,0xc6,0x01,0x3c,0x00,0x74,0x09
|
|
db 0xb4,0x0e,0xbb,0x0f,0x00,0xcd,0x10,0xeb
|
|
db 0xee,0xf4,0xeb,0xfd
|
|
|
|
db 0x0a,0x0a
|
|
db "hello,today,you are crazy"
|
|
db 0x0a
|
|
db 0x00
|
|
|
|
times 510-($-$$) db 0x00
|
|
db 0x55,0xaa
|