Difference between revisions of "Xbox Port Roadmap"

From ReactOS Wiki
Jump to: navigation, search
m (Create open source Xbox firmware)
(Add some issues)
Line 20: Line 20:
 
* <code>Assertion failed: (pti->pcti->fsChangeBits & QS_SENDMESSAGE) == 0</code> happens in <code>win32ss/user/ntuser/misc.c, line 729</code> after some idle hours, and it can be safely cont'ed from kernel debugger
 
* <code>Assertion failed: (pti->pcti->fsChangeBits & QS_SENDMESSAGE) == 0</code> happens in <code>win32ss/user/ntuser/misc.c, line 729</code> after some idle hours, and it can be safely cont'ed from kernel debugger
 
** Does not happen with <code>usbohci.sys</code> from Windows 2003 for some reason
 
** Does not happen with <code>usbohci.sys</code> from Windows 2003 for some reason
 +
* Bug with INBV rotation bar on 720x480 resolution (draws outside the frame)
 +
* Serial COM1 is not accessible for user-mode, the port can be opened, but both RX and TX are ignored - '''FIXME: needs ticket'''
 +
** RealHW only, the debug port lacks SERIRQ, so it cannot utilize interrupt
  
 
=== Improve ReactOS ===
 
=== Improve ReactOS ===
 
* Add Xbox machine detection into setuplib - '''FIXME: needs ticket'''
 
* Add Xbox machine detection into setuplib - '''FIXME: needs ticket'''
 
** See [https://git.reactos.org/?p=reactos.git;a=blob;f=base/setup/lib/settings.c;hb=9fc87dacdb653b647538180a32002117389b36dc#l276 this code]
 
** See [https://git.reactos.org/?p=reactos.git;a=blob;f=base/setup/lib/settings.c;hb=9fc87dacdb653b647538180a32002117389b36dc#l276 this code]
 +
* FreeLoader: Add System Identifier for Xbox
 +
* FreeLoader: Add "NV2A Framebuffer" display to make setuplib detect it
 
* Add bootvid selection into <code>txtsetup.sif</code> and <code>setuplib</code> - '''FIXME: needs ticket'''
 
* Add bootvid selection into <code>txtsetup.sif</code> and <code>setuplib</code> - '''FIXME: needs ticket'''
 
** See [https://chat.reactos.org/reactos/pl/ourrbyihibbf5p8whcb879uwzy chat message] from Hermes Belusca
 
** See [https://chat.reactos.org/reactos/pl/ourrbyihibbf5p8whcb879uwzy chat message] from Hermes Belusca
* Fix Xbox HAL to report reserved video memory range for NVIDIA NV2A - '''FIXME: needs ticket'''
+
* Add missing devices into Xbox HAL device tree:
 +
** PIC (<code>*PNP0000</code>)
 +
** Timer (<code>*PNP0100</code>)
 +
** DMA Controller (<code>*PNP0200</code>)
 +
** Speaker (<code>*PNP0800</code>)
 +
** CMOS/RTC (<code>*PNP0B00</code>)
 +
* Xbox HAL: Serial COM ports and other LPC devices should be children of ISA to PCI bridge
 +
* Xbox HAL: Think about exposing LPC SuperIO controller (I/O ports 0x2E-0x2F) if it's detected
 +
* Xbox HAL: Report reserved video memory range for NVIDIA NV2A (maybe as <code>*PNP0C02</code> aka "Motherboard resources") - '''FIXME: needs ticket'''
 
** See [https://chat.reactos.org/reactos/pl/83uwqwtb63yefm5ca8qy3qgmtr chat message] from Thomas Faber
 
** See [https://chat.reactos.org/reactos/pl/83uwqwtb63yefm5ca8qy3qgmtr chat message] from Thomas Faber
 
* Add automatic HAL selection in FreeLdr - '''FIXME: needs ticket'''
 
* Add automatic HAL selection in FreeLdr - '''FIXME: needs ticket'''
Line 54: Line 67:
 
** Add support for OpenGL
 
** Add support for OpenGL
 
** Potentially will help here - [https://jira.reactos.org/browse/CORE-16465?focusedCommentId=118579&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-118579 CORE-16465]
 
** Potentially will help here - [https://jira.reactos.org/browse/CORE-16465?focusedCommentId=118579&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-118579 CORE-16465]
 +
* Implement driver for USB Gamepad XID - '''FIXME: needs ticket'''
  
 
=== Fix bugs and improve Cromwell ===
 
=== Fix bugs and improve Cromwell ===

Revision as of 23:51, 7 June 2020

This page describes the plan of reviving ReactOS port for the original Xbox, including components outside the source tree.

Once something is done in this list, it should be simply removed.

Revive ReactOS Xbox port

Progress is tracked in CORE-16216.

Fix ReactOS bugs

  • Fix USB OHCI - CORE-16352
    • Blocks actual OS testing in XQEMU
    • Reproduced on RealHW as well
  • Fix USBH_ProcessHubStateChange: OverCurrent problem - CORE-16726
    • RealHW only
  • Fix IopCreateArcNames problem - CORE-16692
    • RealHW only
  • Fix PCI-to-PCI bridge PnP problem - CORE-16319
    • RealHW only, applied workaround in master - b992727
  • Fix FindResourceExW debug print problem (low priority)
    • Too hard to reproduce
  • Assertion failed: (pti->pcti->fsChangeBits & QS_SENDMESSAGE) == 0 happens in win32ss/user/ntuser/misc.c, line 729 after some idle hours, and it can be safely cont'ed from kernel debugger
    • Does not happen with usbohci.sys from Windows 2003 for some reason
  • Bug with INBV rotation bar on 720x480 resolution (draws outside the frame)
  • Serial COM1 is not accessible for user-mode, the port can be opened, but both RX and TX are ignored - FIXME: needs ticket
    • RealHW only, the debug port lacks SERIRQ, so it cannot utilize interrupt

Improve ReactOS

  • Add Xbox machine detection into setuplib - FIXME: needs ticket
  • FreeLoader: Add System Identifier for Xbox
  • FreeLoader: Add "NV2A Framebuffer" display to make setuplib detect it
  • Add bootvid selection into txtsetup.sif and setuplib - FIXME: needs ticket
  • Add missing devices into Xbox HAL device tree:
    • PIC (*PNP0000)
    • Timer (*PNP0100)
    • DMA Controller (*PNP0200)
    • Speaker (*PNP0800)
    • CMOS/RTC (*PNP0B00)
  • Xbox HAL: Serial COM ports and other LPC devices should be children of ISA to PCI bridge
  • Xbox HAL: Think about exposing LPC SuperIO controller (I/O ports 0x2E-0x2F) if it's detected
  • Xbox HAL: Report reserved video memory range for NVIDIA NV2A (maybe as *PNP0C02 aka "Motherboard resources") - FIXME: needs ticket
  • Add automatic HAL selection in FreeLdr - FIXME: needs ticket
    • Will allow to test bootcd and livecd
  • Add support for Xbox BRFR partitions - CORE-16329
    • Requires disk_new driver - CORE-6264
    • Blocks testing on real hardware
  • Fix or implement FATX filesystem driver - CORE-16373
    • FATX support should be removed from fastfat, or not, if we switch to fastfat_new (but when?) - CORE-11819
    • Blocks testing on real hardware
  • Add input support in FreeLdr on Xbox - CORE-16218 (low priority)
    • freeldr.ini can be modified manually
  • Add HAL/video/bootvid sections into unattend.inf - FIXME: needs ticket

Implement missing drivers

  • Add console text mode driver for NVIDIA NV2A - FIXME: needs ticket
    • Will allow installing from bootcd
  • Add vgasave driver for NVIDIA NV2A - FIXME: needs ticket
  • Add NVIDIA nForce nvnet driver - CORE-15872 (low priority)
    • First test with existing closed-source driver
    • Potentially will help improving XQEMU nForce net emulation
  • Improve xboxvmp driver to support NVIDIA hardware acceleration (low priority)
    • Add support for 2D acceleration
    • Add support for DirectDraw
    • Add support for Direct3D
    • Add support for OpenGL
    • Potentially will help here - CORE-16465
  • Implement driver for USB Gamepad XID - FIXME: needs ticket

Fix bugs and improve Cromwell

  • Fix glitchy text characters: . _ ( f
  • Fix boot device label positioning (in 720x480 and 1024x576 screen mode)
  • Fix Xromwell XBE problems on some Xbox'es (at least the one JayFoxRox have)
  • Add SMBIOS table generation
    • Check corresponding data on NVIDIA nForce 420 board
  • Add PCI BIOS table generation
    • Check corresponding data on NVIDIA nForce 420 board
  • Import features from XBOverclock project
  • Add full device information page for Peripherals menu (low priority)
  • Other published issues: https://github.com/XboxDev/cromwell/issues

Create open source Xbox OS

See page Run Xbox Games on ReactOS‎.