[OS만들기]BOOTLOADER->KERNEL 시도...
이전에 만든 부트로더에 추가하여, 특정 섹션을 메모리에 올리는 것을 시도함 [org 0x10000] [bits 16] mov ax, 0xB800 mov es, ax mov byte[es:4], 'i' mov byte[es:5], 0x09 mov byte[es:6], 'h' mov byte[es:7], 0x09 jmp $ times 512-($-$$) db [org 0] [bits 16] jmp 0x07C0:start start: mov ax, 0xB800 mov es, ax mov byte[es:0], 'h' mov byte[es:1], 0x09 mov byte[es:2], 'i' mov byte[es:3], 0x09 jmp 0x1000:0 times 510-($-$$) db 0 dw 0xAA55 이렇게..
2024. 2. 24.