flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
rhyno_dagreat 16 Mar 2007, 01:40
Yeah, most definately. Unless you labelled them wrong in the code. I'm trying freeDOS.
|
|||
![]() |
|
LocoDelAssembly 16 Mar 2007, 01:45
But Win98 allows DOS programs to do low level access to hardware. Even Ralf Brown's PCICFG works on Win98
|
|||
![]() |
|
Dex4u 16 Mar 2007, 02:01
Just tested it in win98, with my graphic card and it worked fine.
|
|||
![]() |
|
Dex4u 16 Mar 2007, 02:26
Cool, i have a PC with a nVidia GeForce FX 5200 (64mb ram) and i used your vendor and device id on it along with minidos and pci.com, and it found the card, so your ID are right.
Here is the cut and pasted code Code: mov ax,0322h ;0801h ; Deviceshl eax,16mov ax,10deh ;1319h ; Vendor |
|||
![]() |
|
rhyno_dagreat 16 Mar 2007, 02:41
Yeah. I think it's Windows XP being the overprotective parent of it's programs. I've just deeply looked into the V3Mon code you showed me, and it's actually not too difficult, just very long. I know there's not gonna be a easy way around all of this so I'm just gonna thrash my way through it. If I can make a working demo for the TNT Pro 2, I'm gonna see if it will port cleanly to a nVidia GeForce FX 5200 processor, which I might need you to test when the time comes if you don't mind.
|
|||
![]() |
|
rhyno_dagreat 16 Mar 2007, 03:03
Oh, also Dex - how does the carry flag work with the jz command exactly? I heard that they had nothing to do with each other in the code so why are you always setting it before jz and clearing it at the end?
|
|||
![]() |
|
Dex4u 16 Mar 2007, 03:24
We set carry flag to 1 if no device/vendor ID is found and 0 if found, we then test on the return from function.
We also pushf and popf so as the "and" does not give wrong results. |
|||
![]() |
|
rhyno_dagreat 16 Mar 2007, 03:41
Ah, thanks. That was actually gonna be the next thing I was gonna ask... What are the EFLAGs exactly and what is their purpose?
And also, more importantly (or at least I'd assume so) is how did you know to do the discrete mathematics on the control dword you sent to the control port? Like... how did you come up with that pattern? Sorry if I'm getting on your nerves with these questions but in order to accomplish my goals I need to know as much as I can about why you did what you did in your example. |
|||
![]() |
|
Dex4u 16 Mar 2007, 16:30
The info is in certain bits, you need to ether test these bits and/ or change these bits. here is some good info http://www.waste.org/~winkles/hardware/pci.htm
|
|||
![]() |
|
rhyno_dagreat 16 Mar 2007, 16:57
Thanks!
|
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.