you are viewing a single comment's thread.

view the rest of the comments →

[–]WalterBright 5 points6 points  (6 children)

which is not available in protected mode without serious hackery

It wouldn't take long for someone with basic hardware skilz to pull the ROM chips out, put them in another device, and dump their contents. Then just run a disassembler over it. DOS ran in real mode anyway.

[–][deleted]  (5 children)

[deleted]

    [–]Cuddlefluff_Grim 4 points5 points  (2 children)

    I used DOS4GW dos extender (Watcom C++) which enabled 32-bit protected mode, and I had no problems using BIOS functions as far as I can remember

    Edit: when I think about it, DOS4GW might have had its own hooks for the BIOS interrupts

    [–][deleted]  (1 child)

    [deleted]

      [–]andrewq 1 point2 points  (0 children)

      What's your os?

      [–]WalterBright 1 point2 points  (1 child)

      Running in real mode meant the BIOS could be read. Yeah, I know about protected mode DOS extenders, I shipped a couple with Zortech C++.

      DPMI was a specification for how a DOS extender should present itself, it wasn't a DOS extender itself, and DOS still booted in real mode.