Windows 8 build 7985 (fbl core1 kernel cptx.110419-1745)

Windows 8 build 7985 (fbl_core1_kernel_cptx.110419-1745) is a Milestone 3 build of Windows 8, which was shared on 28 June 2022. This build is one of the first to fix the issue with window borders not displaying correctly while Desktop Window Manager is enabled and also features a new wallpaper with an updated wordoku puzzle. It was compiled 14 days earlier than the Computex 2011 build.

Redpill
Continuing on with the evolution of Metro starting with build 7978, the unlocked features in this build are a middle ground between the early Milestone 2 Metro of builds 7927 to 7963 and the closer to final looks of builds 8032 and 8056. The Start screen now has the "Start" header, along with the Other Programs UI being replaced with the Applications list. The Charms bar now has a clock appear along with it, along with the Settings charm being redesigned, adding some non-functional toggles for the Power, keyboard, and a placeholder toggle called "VanUI", possibly standing for View Active Networks.

The Aero theme has also been updated to feature a flatter design, becoming more resemblant with the current state of the Windows Basic theme. The ability to modify the Start screen's accent has been implemented, although its functionality is only available through the use of a registry hack and there are only two color choices available. To change the start screen's accent color to blue, merge the following entry into the registry:

Changes

 * The Windows Basic theme is now used within the Windows Preinstallation Environment, replacing the older Classic visual style.
 * The boot screen's status message size has been slightly increased.
 * The boot entry has been updated to say Windows 8.

Advanced Vector Extensions CPU bug
This build will not boot on some CPUs with the Advanced Vector Extensions (AVX) instruction set due to a bug where a CPU triple fault occurs immediately after the boot screen is first displayed. A workaround is discussed later in the article.

This problem can also present itself as three bugchecks occurring one after the other, with different error codes overwriting each other on the screen.

Start screen
The desktop application tile is treated as if were a native Metro application despite it not being one. As a result, it is possible to "uninstall" the desktop, although nothing will happen if attempted.

Windows Setup

 * This build must be installed on either an IDE or a SATA hard drive as SCSI disk devices will not be detected properly.
 * On some machines, this build may take a significant amount of time to boot.

Boot manager
As the kernel/boot loader does not call any code to clear the video buffer early within the boot process, any graphics that are displayed in the boot screen may overlay themselves on top of the last frame sent by the boot manager. This problem is easily observed when loading into a ramdisk boot image or while loading into setup.

Compiler
This is one of the first builds to be produced using a new compiler. However, the problems surrounding it at that time resulted in the build becoming unbootable on certain hardware, as the boot loader does not properly function on modern x86 CPUs, namely Intel processors with the AVX instruction set and a select number of AMD CPUs. As a result, a CPU triple fault occurs resulting in either a crash on a hypervisor or a reboot on real hardware.

Patching winload.exe to run on Intel processors with AVX
In order to properly enable SSE instructions for machines using Intel processor with AVX, the 9th bit in Control Register 4 (CR4) must be turned on. The following code is executed and is located in winload.exe at offset A137:

By default the following bits are set in CR0: Protected Mode (PE) (0x00000001), Monitor co-processor (MP) (0x00000002) and Extension type (ET) (0x00000010), with no bits in CR4 set initially, so the need to turn on the 9th SSE bit (i.e. OR with 0x600) should be done, but due to limitation in this piece of code, a rewriting needs to be done and the following approach may be used instead:

As a disclaimer, patching winload.exe with these changes will invalidate integrity checks and thus requires Test Mode to be enabled (by setting  in the BCD to on) in order to boot with the patched winload.exe, as well as ownership of the file in both   and   need to be altered in case file replacement was not possible.

VMware Workstation
For another workaround on the Intel SSE bug that does not involve patching and disabling security checks, the compatibility level must be set to version 7.x or lower in order to boot this build. In addition, the following block of code must be added to the VMX (virtual machine configuration) file in order to allow this build to boot on modern Intel CPUs:

The above configuration is mostly not required if the host machine has an AMD processor, and as such only requires the compatibility version to be changed.