help with physical addresses

new topic     » topic index » view thread      » older message » newer message

Im currently creating a library that is dependant on some memory managment
routines. The trouble is the referance I'm useing referes to a 32-bit
'physical address pointer' (CPU address). I useualy read 32-bit read mode
pointers useing: }}}
<eucode>
and_bits(peek4u(address),#FFFF) + (and_bits(peek4u(address+2),#FFFF) * 16)
</eucode>
{{{

I'm assuming I can simply read a 'physical address pointer' as so:
peek4u(address)

. assuming that this is a flat address.

I'm not completely sure on how I'm ment to be reading this.
Is this the correct way to read a '32-bit physical address pointer'?

n.b. This address later gets mapped useing int 31h, func 08h.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu