Really hard question only for good programmers...huh
is possibly directly write into video segment 0a000h under win98 ??? In krnl386.exe i have found _A000H... but im not able to get pointer from this holly sh..
I have heard something about DEATH and RESURRECTION fucntions in GDI... but it is same like as krnl386 because this is in gdi.exe ... all is 16bit... but windows are 32bit...
so.. function QT_Thunk provided this... but it isnt working under win98...
so my question : How can I write directly to VRAM ????
many thanks for brave programmers
is possibly directly write into video segment 0a000h under win98 ??? In krnl386.exe i have found _A000H... but im not able to get pointer from this holly sh..
I have heard something about DEATH and RESURRECTION fucntions in GDI... but it is same like as krnl386 because this is in gdi.exe ... all is 16bit... but windows are 32bit...
so.. function QT_Thunk provided this... but it isnt working under win98...
so my question : How can I write directly to VRAM ????
many thanks for brave programmers
I know the answer...but since i'm such a woozie coder, i'm not able to reply. Sorry.
Hasta luego.
Latig0.
Hasta luego.
Latig0.
Everyody is good programmer here ;) only to think at ASM and you are a good programmer allready
Well i have heard that is not nice to write directly to video memory in Windows OS, unless you are doing a video board driver...
The answer to GFx in Windows is to use GDI Win32API functions .... or if more performance and control is required use DirectX COM Interfaces.
Besides DirectX will let you write directly to video memory using IDirectSurface.Lock() and Unlock() Methods
About Resurection and Death...go read the Hostile Encounter Story ....
Take care pixels may be harmed ...protect them at all costs ;)
Well i have heard that is not nice to write directly to video memory in Windows OS, unless you are doing a video board driver...
The answer to GFx in Windows is to use GDI Win32API functions .... or if more performance and control is required use DirectX COM Interfaces.
Besides DirectX will let you write directly to video memory using IDirectSurface.Lock() and Unlock() Methods
About Resurection and Death...go read the Hostile Encounter Story ....
Take care pixels may be harmed ...protect them at all costs ;)
I can offer the ultimate access to video RAM:
also known as DCI manager - this access comes from Win3.11,
and was the pre-technologie of DirectX and is up to today
supported under Win95/98 (not NT!) and most graphic cards.
I found the DCI documentation after a long journey through
the internet.
The (magic) source:
you need a lib file from the DCIMAN32.DLL and the dciman include
file - which I didnt found, but here is the main interesting struct:
also known as DCI manager - this access comes from Win3.11,
and was the pre-technologie of DirectX and is up to today
supported under Win95/98 (not NT!) and most graphic cards.
I found the DCI documentation after a long journey through
the internet.
The (magic) source:
call DCIOpenProvider
mov hdciMain, eax
lea eax, lpSurface
push eax
push hdciMain
call DCICreatePrimary
mov eax, lpSurface
mov edi, [eax.dcisi_dwOffSurface]
mov ecx, 300 * 1280
cld
mov eax, -1
rep stosd
push lpSurface
call DCIDestroy
push hdciMain
call DCICloseProvider
you need a lib file from the DCIMAN32.DLL and the dciman include
file - which I didnt found, but here is the main interesting struct:
DCISURFACEINFO struc
dcisi_dwSize dd ?
dcisi_dwDCICaps dd ?
dcisi_dwCompression dd ?
dcisi_dwMask dd ?, ?, ?
dcisi_dwWidth dd ?
dcisi_dwHeight dd ?
dcisi_lStride dd ?
dcisi_dwBitCount dd ?
dcisi_dwOffSurface dd ?
dcisi_dwReserved dd ?
dcisi_dwReserved1 dd ?
dcisi_dwReserved2 dd ?
dcisi_dwReserved3 dd ?
dcisi_lpfnBegin dd ?
dcisi_lpfnEnd dd ?
dcisi_lpfnDestroy dd ?
DCISURFACEINFO ends
Many thanks for BEASTER !!! (Realy good programmer)
One thak for BogdanOntanu...
Nothing thank for latigo (Lazy programmer which perhaps isnt..)
One thak for BogdanOntanu...
Nothing thank for latigo (Lazy programmer which perhaps isnt..)
I hate posts like that!!!! :mad:
NOP-erator
NOP-erator
Many thanks for BEASTER !!! (Realy good programmer)
One thak for BogdanOntanu...
Nothing thank for latigo (Lazy programmer which perhaps isnt..)
Paladin you wouldn't say that if you'd knew Latigo :rolleyes:
Hiro thanks for the compliment :)
Latigo
Latigo
Thanks boys...
You did from my question CHAT ROOM...
..but, try to answer my problem...if you are good programmers you will be fight by a code..not words..huh
:grin:
You did from my question CHAT ROOM...
..but, try to answer my problem...if you are good programmers you will be fight by a code..not words..huh
:grin:
They're not just good programmers, but they're real men. They have absolutly no desire to prove anything. And they deserve nothing but respect.
Remeber that while here you are in the presence of programing Gods, try to act as such. Thats the only way the likes of you and me can hope to approach their level of knowledge.
Remeber that while here you are in the presence of programing Gods, try to act as such. Thats the only way the likes of you and me can hope to approach their level of knowledge.
I am not a programming god, but while in the presence of you guys I will act with respect toward you like I try and do with everyone.
Oh, well.
Nekteri cesi se nezaprou svoji drzosti.
Some Czech's can't deny their arrogance.
Paladin,
We are not competing we are appreciating each others talent and
we are grateful for help.
:o :o :o :o :o :o
Nekteri cesi se nezaprou svoji drzosti.
Some Czech's can't deny their arrogance.
Paladin,
We are not competing we are appreciating each others talent and
we are grateful for help.
:o :o :o :o :o :o
I nailed myself a decoration directly on my shoulder ...
Hey !! Whats wrong with you ??
Sure, ..I have respect.. Im not your enemy, ..but, ..where is the problem ? ..I need only little help.. and you attacked me !!
But, when you post me stuff like as latigo..what can I think ???
Sorry...
I do APOLOGIZE ...
PS: Nejsem drzej.. Jen se snazim prijit na neco, na co by mi dokazal odpovedet jen dobrej programator. Vid forge ?
Sure, ..I have respect.. Im not your enemy, ..but, ..where is the problem ? ..I need only little help.. and you attacked me !!
But, when you post me stuff like as latigo..what can I think ???
Sorry...
I do APOLOGIZE ...
PS: Nejsem drzej.. Jen se snazim prijit na neco, na co by mi dokazal odpovedet jen dobrej programator. Vid forge ?
Paladin,
Another bad sentence. Nothing is wrong with us.(full stop)
Nobody attacked you. - just think again
(Jak se do lesa vola tak se z lesa oziva.)
And Latigo? I knew him long before the existence of this board
and I know that he is an expert in the trade and a person willing
to help.
Many others on this board could answer your question with ease.
How many people on this board do you know?
We are here as a community of people with the same interest and from
top experts in knowledge to the lowest, but we don't discriminate.
This is not a school where one can demand answer.
I know that many will be more than happy to discus anything
with you. Just try to fit in - socially.
Hey !! Whats wrong with you ??
Another bad sentence. Nothing is wrong with us.(full stop)
Nobody attacked you. - just think again
"Do unto others as you would have them do unto you."
(Jak se do lesa vola tak se z lesa oziva.)
And Latigo? I knew him long before the existence of this board
and I know that he is an expert in the trade and a person willing
to help.
Many others on this board could answer your question with ease.
How many people on this board do you know?
We are here as a community of people with the same interest and from
top experts in knowledge to the lowest, but we don't discriminate.
This is not a school where one can demand answer.
I know that many will be more than happy to discus anything
with you. Just try to fit in - socially.
Dang... someone needs to lock this thread so Paladin can start over :) Or move to Crusades... :grin:
Kenny I can't agree with you more.
It was just embarrasing for me.
forge
It was just embarrasing for me.
forge