Intel 855GM video driver for BeOS R5.1 "Dano"  -  version 1.0
Dell Inspiron 510m (Intel 855GM, PCI 8086:3582) and similar laptops

WHAT IT DOES
Dano ships no driver for the 855GM (its "i810" driver only knows the 810/815 chips), so it falls back to
the BIOS (VESA) driver. This package installs ZETA 1.21's native Intel driver (extreme2) into the user
add-ons folder of a Dano install, with the three 855GM fixes from ZETA-855GM-native-video-1.0.1 and one
more change for Dano's app_server (below).
Seen on one Dell Inspiron 510m: 1024x768 at 32 bit per pixel, mouse and keyboard working.

WHAT IS IN IT
  driver-files/extreme2.driver
        ZETA 1.21's kernel driver, byte for byte (md5 f2337d702e2f1037cef1e4548801e4c9).
  driver-files/intel_extreme.accelerant
        ZETA 1.21's accelerant with the 855GM fixes (see Drivers > Video > ZETA-855GM-native-video-writeup)
        and with the hardware cursor switched off (md5 6a7c7aeaaad6c7f98f9097fbd3eef2a3).
  driver-files/intel_extreme.accelerant.with-hardware-cursor
        the same without the cursor change (md5 b18748f0e23fae905b075eca4c12af4c). On Dano the mouse
        cursor is invisible with this one.
  install-driver.sh / remove-driver.sh

INSTALL
Open Terminal in the unpacked folder and run:      sh install-driver.sh
It deletes any older Intel Extreme driver from ~/config/add-ons (the Axel Doerfler 0.1.0 alpha or an
earlier copy of this one), copies the two files, checks every copy against the original and prints what it
installed. Then reboot. Nothing outside /boot/home/config/add-ons is touched:
  accelerants/intel_extreme.accelerant
  kernel/drivers/bin/extreme2.driver
  kernel/drivers/dev/graphics/extreme2.driver   (link to the file above)

IF THE SCREEN IS BLANK OR WRONG
Hold Space at the Be logo, choose safe mode, tick "disable user add-ons", boot, then run
sh remove-driver.sh and reboot. Dano then uses its standard graphics driver again.

THE CURSOR CHANGE
The accelerant offers three hardware-cursor hooks (set shape, move, show). Dano's app_server accepts them but
the cursor never appears. In get_accelerant_hook the cases for B_SET_CURSOR_SHAPE (0x200), B_MOVE_CURSOR
(0x201) and B_SHOW_CURSOR (0x202) now jump to the existing "return NULL" exit, so app_server draws the
cursor in software, as it does with the VESA driver. Changed bytes: 0x399B (0f84 6f03 -> 4f04),
0x3AB6 (0f84 7402 -> 3403), 0x3ABC (0f82 2e02 -> 2e03): five bytes in all.

WHAT IS NOT KNOWN
Tested by one person on one machine. The ZETA 1.21 write-up needed a boot-time video-memory patch
(github.com/linuxkid473/855gm-vram-unlock) for 32-bit modes on the 855GM; whether Dano needs it for the
native driver was not tested separately. Digital panels other than the 510m's, other BIOS versions, Dano
before 5.1 and BeOS R5.0.3 were not tested. Hardware overlay is off (video draws into the frame buffer).
No 3D acceleration.

NOTICE
The two driver files originate from ZETA 1.21 (yellowTAB / magnussoft) and are included here unmodified or
with the byte changes listed above, only for the use of owners of a ZETA licence and of the hardware they
were made for. Rights to them stay with their owners; they will be removed on request. This package is
not affiliated with Be, yellowTAB, magnussoft or Intel.
