3 %define PAGETABLE 0x1000
23 mov al, (MAIN_SIZE + 511) / 512
26 mov di, PAGETABLE+0x0000
30 cmp di, PAGETABLE+0x4000
33 mov dword[PAGETABLE+0x0000], PAGETABLE+0x1003
34 mov dword[PAGETABLE+0x1000], PAGETABLE+0x2003
35 mov dword[PAGETABLE+0x2000], PAGETABLE+0x3003
38 mov di, PAGETABLE+0x3000
90 mov ax, disk_error_msg
111 booting_msg: db 10, 13, "Loading NyaX...", 10, 10, 13, 0
112 disk_error_msg: db "Disk is bwoken, cant boot ;-;", 10, 13, 0
116 dq 0x00209A0000000000
117 dq 0x0000920000000000
139 times 510-($-$$) db 0