From b6e8c7e83d6d12a1c3f3eb0a511700be014e9529 Mon Sep 17 00:00:00 2001
From: Rudolf Cornelissen
Date: Sun, 28 Mar 2004 16:12:26 +0000
Subject: [PATCH] finalized acc related stuff, did some tidbits, fixed cursor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7094 a95241bf-73f2-0310-859d-f6bbb57e9c96
---
headers/private/graphics/neomagic/nm_macros.h | 4 +++-
src/add-ons/kernel/drivers/graphics/neomagic/UPDATE.html | 9 +++++++--
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/headers/private/graphics/neomagic/nm_macros.h b/headers/private/graphics/neomagic/nm_macros.h
index 841d783e86..912149e01e 100644
--- a/headers/private/graphics/neomagic/nm_macros.h
+++ b/headers/private/graphics/neomagic/nm_macros.h
@@ -153,9 +153,11 @@
#define NMGRPHX_PANELHCENT5 0x38 /* >= NM2200 */
#define NMGRPHX_CURCTRL 0x82
#define NMGRPHX_COLDEPTH 0x90
+/* mem or core PLL register??? */
+#define NMGRPHX_SPEED 0x93
/* (NeoMagic pixelPLL set C registers) */
-#define NMGRPHX_PLLC_NL 0x9b
#define NMGRPHX_PLLC_NH 0x8f /* >= NM2200 */
+#define NMGRPHX_PLLC_NL 0x9b
#define NMGRPHX_PLLC_M 0x9f
/* NeoMagic BES registers: (> NM2070) (accessible via mapped I/O: >= NM2097) */
#define NMGRPHX_BESCTRL1 0xb0
diff --git a/src/add-ons/kernel/drivers/graphics/neomagic/UPDATE.html b/src/add-ons/kernel/drivers/graphics/neomagic/UPDATE.html
index 4562a14420..88cade8a7e 100644
--- a/src/add-ons/kernel/drivers/graphics/neomagic/UPDATE.html
+++ b/src/add-ons/kernel/drivers/graphics/neomagic/UPDATE.html
@@ -4,15 +4,20 @@
Changes done for each driverversion:
-head (0.06-3, Rudolf)
+head (0.06-5, Rudolf)
- Updated modelist to include one more suggested mode for 800x600 resolution: Done by Andrew Bachmann;
- CRTC timing restriction checking updated: Modelists exported adhere to every cards max. CRTC capability now: the oldest cards support upto and including 1024x1000, while the newest cards support upto and including 1280x1024 resolution;
- Kernel driver now signals abort on not being able to setup the INT routine instead of letting the machine freeze during accelerant initialisation;
- BWindowScreen R3-style function update for acceleration (once setup) and page flipping/virtualscreens in apps ('Allegro' update): fixed cloning accelerants;
- Updated acceleration engine management code;
-
- Added full 2D acceleration for NM2097 and NM2160 cards (the others will be added later): use softcursor for now!!
+
- Added full 2D acceleration for NM2097 and NM2160 cards (the others will be added later);
+
- Updated acceleration for massive speedup compared to Be driver (now running at approx 200-2000% depending on use!);
+
- Fixed acceleration on rectangle fills and inverts: nolonger executing zero-width commands (which the app_server gives to the driver sometimes!) so no more big-time distortion stripes onscreen! (the Be driver does exhibit this fault BTW);
+
- Updated hardware cursor to be placed elsewhere in cardRAM (acc engine requirement); distorted mousepointers could be fixed by this also on some cards outthere.
+Note:
+Acceleration engine benchmarked and tested for errors with BeRoMeter V1.2.6.
nm_driver 0.05 (Rudolf)
- Prevent system or video freeze on dragging files or so in tracker windows;