Re: segment offset to liner address

new topic     » goto parent     » topic index » view thread      » older message » newer message
hayden_mckay said...

it's been a while and i just cant remember how to convert segment offset address to a linear address. Could somebody help me please.

To obtain the linear address you must multiply the segment value by 16 and add the 16 bit address. The CPU does this internally. This provides a 1MB addressing range. It was awkward to program but it did work and required only 16 bit address registers.

This has no relevance to any version of Windows after Windows 3.1. Modern operating systems use linear 32 bit addressing without segments.

Euphoria 4.0 no longer supports DOS. You must use 3.x or older.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu