flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
StringCheesian
Title says it all. I've got a working Hello World boot sector, now I want to make it load some more sectors but I don't know which memory is safe to overwrite...
|
|||
![]() |
|
f0dder
Once you start using extended memory, you'll want to query the BIOS for special things like reserved addresses and memory holes... I can't remember the INTs for this, but it's probably documented somewhere easy to find - if all else fails, check linux kernel ^_^
|
|||
![]() |
|
StringCheesian
@asmdemon: Thanks!
@f0dder: Well, that's a little over my head: I'm used to real mode asm. So I don't know much about the tables you have to set up and everything else you need to do before switching to pmode - it's a little intimidating (real mode is so much simpler)... any good tutorials on that, BTW? |
|||
![]() |
|
f0dder
Well, if you stay with real mode code for a bit, and go with one of the standard memory maps, you should be safe I think. As for protected mode setup... this takes a bit of work
![]() ![]() |
|||
![]() |
|
StringCheesian
wow, sweet link! Thanks!
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.