Limbo
06.08.2004, 22:30
Hallo Leute !
Ich lese gerade so ein Assembler-Tutorial (http://hem.passagen.se/gregge/index_hires.html), hier ein kleiner Auszug in dem mir was nicht einleuchten will :
Say we want to write something on to memory address 0xB8000 - the color video memory. Then we could define a segment, that starts at address 0xB8000. Say this is our 08h segment. To access the linear address of 0xB8002, we write 08h:0002h instead. Simple as that.
Wieso 08h Segment ? 0xB8000 ist doch die physikalische Adresse (oder ?)
Wenn ich 08h:0000h in eine physikalische Adresse umrechne (08h * 16 + 0000) dann komme ich auf 0x10.
??
Ich lese gerade so ein Assembler-Tutorial (http://hem.passagen.se/gregge/index_hires.html), hier ein kleiner Auszug in dem mir was nicht einleuchten will :
Say we want to write something on to memory address 0xB8000 - the color video memory. Then we could define a segment, that starts at address 0xB8000. Say this is our 08h segment. To access the linear address of 0xB8002, we write 08h:0002h instead. Simple as that.
Wieso 08h Segment ? 0xB8000 ist doch die physikalische Adresse (oder ?)
Wenn ich 08h:0000h in eine physikalische Adresse umrechne (08h * 16 + 0000) dann komme ich auf 0x10.
??