Re: lea with fs override



jongware wrote:

why not use
push fs
pop eax?


Okay, that'd be great if my OS (Windows XP) ran in real mode.

Thankfully, though, it doesn't. In protected mode, this just gives me
a segment selector. I am interested in the base linear address that
the descriptor points to. AFAIK, there's nothing useful (from
userland) I can do to figure out the base address just from the
selector.

Thanks,
JC

.



Relevant Pages

  • Re: Hello Everyone!
    ... Yes, but the same is true for 64-bit Linux, ... is a protected mode) it no longer supports real mode or V86 mode. ... DOS-specific hardware call from within one of those Windows ... The only way to execute 16-bit real mode code on 64-bit operating ...
    (comp.os.linux.misc)
  • Re: large HD partition: who is right?
    ... Regarding the "utility that attempts to access the disk using the BIOS's ... Do 3rd party tools like those disk defrag software for windows come under ... The BIOS provides only a real mode driver. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
    ... goes to real-mode, runs your app, and then restarts Windows. ... Not what I call "real dos", ... Flat Real Mode, IIRC). ...
    (comp.lang.asm.x86)
  • Re: Showing an ASCII G to 0xb8002 Using 32bit Flat Real (or Unreal) Mode
    ... inklings of the NT/2K/XP boot process on the screen until the time the computer reboots or shuts down, your computer never runs real mode. ... DOS boxes and 16-bit apps all run in V86 mode. ... Windows display drivers call into the VESA BIOS for mode switching. ... BIOS code executes as normal, in real-time, but in V86 mode. ...
    (comp.lang.asm.x86)
  • Re: Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
    ... "DOS box" you get when you click on the MS-DOS option. ... goes to real-mode, runs your app, and then restarts Windows. ... for DOS is very picky about real mode, ... Scope, Spectrum, Spectrogram, FREE Signal Generator ...
    (comp.lang.asm.x86)