This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
blackoil wrote:well, I expect a ASM / C seperated version, that we can share to use in own OS.
I don't know what you mean by "expect" - surely you're not expecting me to write one for you?
from PCI32 tool, my gfx card info
Bus 1 (AGP), Device Number 0, Device Function 0
Vendor 10DEh Nvidia Corp
Device 0110h GeForce2 MX/MX 400 [NV11]
Command 0007h (I/O Access, Memory Access, BusMaster)
Status 02B0h (Has Capabilities List, Supports 66MHz, Supports Back-To-Back Tra
s., Medium Timing)
Revision B2h, Header Type 00h, Bus Latency Timer F8h
Minimum Bus Grant 05h, Maximum Bus Latency 01h
Self test 00h (Self test not supported)
PCI Class Display, type VGA
Subsystem ID 009110DEh Unknown
Subsystem Vendor 10DEh Nvidia Corp
Address 0 is a Memory Address (anywhere in 0-4Gb) : FD000000h
Address 1 is a Memory Address (anywhere in 0-4Gb, Prefetchable) : E8000000h
System IRQ 16, INT# A
Expansion ROM of 64Kb decoded by this card (Currently disabled)
New Capabilities List Present:
Power Management Capability, Version 1.1
Does not support low power State D1 or D2
Does not support PME# signalling
Current Power State : D0 (Device operational, no power saving)
AGP Capability, Version 2.0 (AGP 4x and below support)
AGP Speed(s) Supported : 1x 2x 4x
FW Transfers Supported : No
>4Gb Address Space Supported : No
Sideband Addressing Supported : No
Maximum Command Queue Length : 32 bytes
AGP Speed Selected : 4x
FW Transfers Enabled : No
>4Gb Address Space Enabled : No
AGP Enabled : Yes
Sideband Addressing Enabled : No
Current Command Queue Length : 32 bytes
address FD000000h is for framebuffer
address E8000000h is for mmio
and PCI32 knows something of FIFO cmd queue.
No, BAR0 is the MMIO registers, BAR1 is the framebuffer. Always, for nVidia chips, below the GPGPUs, which yours (an NV11) is. PCI knows nothing of the nVidia internal command queue - the DMA buffer is upwards of 1MB large.
register map & cmd code are needed to
unlock the engine
put src dest width height colormix in respective registers
then queue cmd code
Yes JamesM, could you write a tutorial for me too, please? My home laptop has an intel mobile 965 chipset and my work computer is Intel 82865G. My home desktop has an NVIDIA Geforce MX 440.
You only need to write one tutorial and point out the difference between the individual graphics chips.
Writing tutorials on hardware accellerated graphics cards is *not* easy as one will need to understand the device well enough to reverse engineer the documentation for it. Otherwise we end up with things like void magic() and void more_magic()... which is pretty much how my ATI driver works ATM
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Combuster wrote:Writing tutorials on hardware accellerated graphics cards is *not* easy as one will need to understand the device well enough to reverse engineer the documentation for it. Otherwise we end up with things like void magic() and void more_magic()... which is pretty much how my ATI driver works ATM
All Hail JamesM... Now about that tutorial lol, I'm Pretty sure that you could get some serious monies for that code, I need Nvidia code and now i'm going to look at nouveaux (I was looking at the linux nvidia driver anyways)
one quick question if I were to compare the source files of the nvidia 2d accel for linux and haiku would that not bring up all of the registers I would need i'm more interested in demoscene than writing a 2d accel driver for my OS but I am interested in CUDA and OpenCL on my OS
Anywhoo also on this sort of topic (in a round about way ) has anyone got any flashplayer sourcecode floating about im very interested in this even if it's for another architecture (I heard a game for the PS2 had one)
there are only 1 0 types of people in the world, (un)fortunately Base 2 allows for a lot more than just 0 and 1
lcowles wrote:All Hail JamesM... Now about that tutorial lol, I'm Pretty sure that you could get some serious monies for that code, I need Nvidia code and now i'm going to look at nouveaux (I was looking at the linux nvidia driver anyways)
one quick question if I were to compare the source files of the nvidia 2d accel for linux and haiku would that not bring up all of the registers I would need i'm more interested in demoscene than writing a 2d accel driver for my OS but I am interested in CUDA and OpenCL on my OS
Anywhoo also on this sort of topic (in a round about way ) has anyone got any flashplayer sourcecode floating about im very interested in this even if it's for another architecture (I heard a game for the PS2 had one)
I can't get any money for it, I used two references - the Haiku driver and the Nouveau driver. Nouveau iirc is MIT-licenced and Haiku is BSD-licenced (??).
You'd need to study both drivers fairly in-depth to get the right code. Or you could look at mine, but that's nowhere near as complete as those two.
JamesM wrote:I can't get any money for it, I used two references - the Haiku driver and the Nouveau driver. Nouveau iirc is MIT-licenced and Haiku is BSD-licenced (??).
Both of those projects are MIT licensed, which is compatible with the ISC or 2/3 clause BSD licenses.
And technically you can make money from your code, even if it was a verbatim copy of either drivers.. the license allows it.
lcowles wrote:Anywhoo also on this sort of topic (in a round about way ) has anyone got any flashplayer sourcecode floating about im very interested in this even if it's for another architecture (I heard a game for the PS2 had one)
Adobe/Macromedia flash is not open source, if anyone did have access to it.. they surely couldn't give you a copy.
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
I can't find the sources to the Haiku drivers, only the binaries, and I tried looking on the Kaiku SVN. Could some one please point me in the right direction?