flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > simple realmode OS |
Author |
|
roticv 29 Apr 2004, 12:19
I think it is because the kernel is not loaded to the memory. Anyway you are booting from what?
|
|||
29 Apr 2004, 12:19 |
|
adefeo 29 Apr 2004, 15:54
I'm an idiot! I forgot to call INT 13!!!
BTW I am loading from floppy disk Thanks!!! |
|||
29 Apr 2004, 15:54 |
|
roticv 29 Apr 2004, 16:36
Just when I was wondering why you are setting the values in the registers and not doing anything. Glad to be of help.
|
|||
29 Apr 2004, 16:36 |
|
Carlito 19 May 2004, 08:46
I'm writing my own boot sector, would you please post your code if functionnal. Thanks
|
|||
19 May 2004, 08:46 |
|
adefeo 19 May 2004, 18:58
Code: use16 start: mov ax, 0x07C0 mov ss, ax mov bp, 0 mov sp, 0 mov ds, ax mov ax, 0x07E0 mov es, ax jmp loadkern loadkern: mov ah, 0x02 mov al, 0x02 mov ch, 0x02 mov cl, 0x02 mov dh, 0x00 mov dl, 0x00 mov bx, 0x1000 mov es, bx mov bx, 0x0000 mov ax, 0x1000 mov ds, ax jmp 0x1000:0x0000 times 512-($-start)-2 db 0 dw 0xAA55 This should be functional to load 2 sectors. |
|||
19 May 2004, 18:58 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.