[ros-dev] [ros-diffs] [mist] 25062: ReactOS Intel Mac compatibility commits, part 1/2, by Michael Steil. == A20 Gate and the Keyboard Controller == In order to turn on the A20 gate, the keyboard controller has to be emptied. This is done in freeldr by reading bytes until the keyboard controller signals it's empty. Intel Macs don't have PS/2 keyboard controller and the status register always reads back 0xFF, so the "there is data" bit will never be cleared. (The same problem has been in GRUB as well as in Darwin's BIOS loader.) Added code that doesn't bother to clear the keyboard buffer if the status port reads back 0xFF. == Serial Port BIOS Bug == Insyde's BIOS reports that there is a COM1 serial port at 0x3F8 (as stored in 0040:0000 in memory), but there is none in Intel Macs, so freeldr spins infinitely while trying to empty the serial port's buffer. Added code that makes sure the loop only gets executed up to 200 times

Aleksey Bragin aleksey at studiocerebral.com
Mon Dec 4 21:52:12 CET 2006


Thanks to these bugfixes, ReactOS now boots on Intel Macs (I tested  
it on Intel Core Duo MacMini), and in Parallels virtual machine.


With the best regards,
Aleksey Bragin.

On Dec 4, 2006, at 6:00 PM, mist at svn.reactos.org wrote:

> Author: mist
> Date: Mon Dec  4 18:00:11 2006
> New Revision: 25062
>
> URL: http://svn.reactos.org/svn/reactos?rev=25062&view=rev
> Log:
> ReactOS Intel Mac compatibility commits, part 1/2, by Michael Steil.



More information about the Ros-dev mailing list