Thread: Can anyone reccomend...

  1. #1
    Evil Member
    Join Date
    Jan 2002
    Posts
    638

    Can anyone reccomend...

    A good 16-bit C compiler for windows XP?

  2. #2
    Unregistered
    Guest
    Why on earth would you want a 16 Bit compiler to use on XP???

  3. #3
    fordy
    Guest
    That was me


    Fordy

  4. #4
    Evil Member
    Join Date
    Jan 2002
    Posts
    638

    Having Logon Difficulties?

    And it is because I need the 16-bit virtual machine's emulation of real-mode direct memory addressing, whereas a 32-bit executable has access only to the protected mode 4GB flat address.

  5. #5
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793

    Re: Having Logon Difficulties?

    Originally posted by Imperito
    And it is because I need the 16-bit virtual machine's emulation of real-mode direct memory addressing, whereas a 32-bit executable has access only to the protected mode 4GB flat address.
    The reason old compilers allowed direct access was that they were running under DOS.......XP hasnt go DOS so I guess it wont work.....

    The only was old progs made with these compilers will work is via the virtual machine, and I doubt this will allow you to do what you want to do (whatever that is?)

    If you want direct access, download the Driver Developement Kit from MSDN......most likely though you dont need this....

    What are you trying to do.....there is probably an API to do what you want

  6. #6
    Evil Member
    Join Date
    Jan 2002
    Posts
    638

    Right on several counts, but still not what I need

    Yes, there is an API for it. I would rather do it myself, though, if at all possible.

    Yes, I have been informed that a driver running as ring0 would have access. This seems a bit overkill for something that could be done in a 16 bit program.

    However, Yes the VM does let me do what I need to do, in a 16-bit application. But not in a 32-bit application.

    I can't write to off limits memory, b/c the VM is one way, but I can read the contents of the system address space.

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    I cant see how a 16Bit compiler is going to fool XP into running your apps in Ring0.....And I'm not going to repeat why striving for Real mode is usually a waste of time unless you really need it.....but if your convinced....try here

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can anyone reccomend...
    By CAP in forum C++ Programming
    Replies: 37
    Last Post: 10-04-2002, 08:44 AM
  2. Anyone reccomend Digital Mars compiler?
    By joshuaman in forum C++ Programming
    Replies: 7
    Last Post: 06-19-2002, 11:22 PM