Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Win98 OS Command.com is 93,880 bytes!

Can anyone tell me how the Windows 98's

Command.com has been programmed, since

the file size exceeds 64 kbytes.

How can anyone compile the program

which DATA and CODE > 64 kbytes in

any compiler. If so please provide the

Info or Example Source code if possible.


Comments

  • In real-mode you can use the huge memory model.

    In protected-mode you have access to up to 4GB so size.



    You could always disassemble it.


  • Most compilers come with various memory models.

    For example, small, medium, compact, and large

    are just a few.



    As darius stated, you can also have 32-bit

    real mode, and 32-bit protected mode programs.

    These can have mixed models, 16-bit code/data,

    32-bit segmented, and 32-bit flat.



    The major differnence between models is in

    pointers or accessing the memory.





    : In real-mode you can use the huge memory model.

    : In protected-mode you have access to up to 4GB so size.

    :

    : You could always disassemble it.

    :






  • m34tb34tm34tb34t Member Posts: 25
    I don't have 95/98 anymore, but I remember inspecting command.com one time after thinking the same thing, and I recall it had a valid .exe header at the start of it. I assumed they renamed it from .exe to .com since I've never seen any other .com file start with the classic 'MZ' of an .exe file like that...
Sign In or Register to comment.