flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Calling my own kernel from my own boot loader |
Author |
|
MarcoAlves 19 Jun 2006, 12:53
Hi all.
I'm new on asm and os construction. But a senior hll programmer. I'm trying to load my kernel from my own boot loader. But without success. I think that the problem is on a combination of factors, such as use16, ORG 0x7C00, and that my kernel resides in other object file. Some cases, when I make: Code: use16 ; for boot loader extrn labelname call labelname it simply doesn't compile. But, if a make in a test file : Code: use32 extrn labelname call labelname It compiles. More. If I TRY to Code: use32 ORG 0x7C00 ; The BIOS loads the boot sector into this memory location extrn labelname call labelname It doesn't compiles, too. Please, explain WHY this happens. How I can load my kernel written in C from my own asm bootloader? I don't want to link both together. I just they resides in separate binary files. I wanna understand the bits. The code is attached. Please help-me. Thanks in advance. Best regards, Marco Alves.
|
|||||||||||
19 Jun 2006, 12:53 |
|
Dex4u 19 Jun 2006, 15:06
This link may help you with your problem
http://www.elet.polimi.it/upload/fornacia/progetto_minazzi/index.html as well as reading the info the info, get the source "scr.zip" |
|||
19 Jun 2006, 15:06 |
|
MarcoAlves 19 Jun 2006, 16:09
I'd tried to download src.zip but the server responds "Method Not Allowed". Do you've this file and can put it here?
|
|||
19 Jun 2006, 16:09 |
|
Dex4u 19 Jun 2006, 19:18
I try this:
|
|||||||||||
19 Jun 2006, 19:18 |
|
MarcoAlves 19 Jun 2006, 20:46
thx a lot
|
|||
19 Jun 2006, 20:46 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.