xboxscene.org forums

Author Topic: How About Freedos On Xbox  (Read 277 times)

expert01

  • Archived User
  • Newbie
  • *
  • Posts: 24
How About Freedos On Xbox
« on: July 29, 2006, 03:25:00 PM »

Why hasn't anyone made a FreeDOS port for the XBox? It's open source, so it should be possible. If FreeDOS can be installed on the XBox, then it can be updated with the proper hooks for 386 enhanced mode, which means it would be able to run Windows 3.11. If it could run 3.11, it might be possible to replace the Windows 98 DOS files with FreeDOS files (which is possible, you can make Windows 98 use Millenium DOS, as well as custom versions of DOS). If you could replace Windows 98 DOS with FreeDOS, you might be able to get FreeDOS to intercept any calls from 98 to scan the PCI bus, and return a response it wants.

It would be nothing at all to create a FatX driver for FreeDOS, and USB drivers exist for DOS.
Logged

torne

  • Archived User
  • Sr. Member
  • *
  • Posts: 383
How About Freedos On Xbox
« Reply #1 on: July 31, 2006, 04:27:00 AM »

FreeDOS still depends on a number of PC bios services, see their site (e.g. http://fd-doc.source...nformation/277) for a partial list of which it uses. The Xbox has none of these, so you'd have to write a bios that provided them before a FreeDOS port would be possible.

The FreeDOS developers have not yet managed to get Windows to run in 386 Enhanced mode themselves, so expecting someone porting it to the xbox to do it is a rather tricky call.

Booting 98 on top of a partial homebrew pc bios implementation and a port of FreeDOS would be a project for a large number of people for a good year or three, I'd expect. Consumer Windows depends on all kinds of odd behaviour from the int services which would take significant effort to replicate bug-for-bug.

Accessing PCI isn't done via DOS, it's done by Windows mapping the PCI configuration registers into its address space and then writing and reading them directly. There's no way to intercept this without running the entirety of Windows under an emulator/virtualizer; you would have to modify Windows to make its PCI probing safe.

Why won't people believe me that it's easier to port a modern protected mode OS? smile.gif
Logged