[syslinux] COM32 question

ganapathy murali krishnan gmurali at cs.uchicago.edu
Mon Apr 25 11:19:08 PDT 2005


I am new to 32-bit programming in DOS. So this might be a stupid question.

How do I access an absolute memory location in my COM32 code. If I 
understand it correctly, all the memory addresses use virtual addresses. 
I need to write code to read an absolute location in memory

Is it as simple as

answer = *(unsigned char *)MK_PTR(seg,ofs)

or does the fact that the COM32 code is runing using virtual addresses 
complicate matters.

- Murali




More information about the Syslinux mailing list