Jump to content


Photo

How About Freedos On Xbox


  • Please log in to reply
1 reply to this topic

#1 expert01

expert01

    X-S Member

  • Members
  • Pip
  • 67 posts

Posted 29 July 2006 - 10:18 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.

#2 torne

torne

    X-S Expert

  • Members
  • PipPipPip
  • 684 posts
  • Location:London, UK
  • Interests:Reverse engineering, Linux, crazy operating systems voodoo, embedded development
  • Xbox Version:v1.1
  • 360 version:v1 (xenon)

Posted 31 July 2006 - 11:27 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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users