Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: SDI application with 3 views Pinmemberekinnh31-Jul-12 22:13 
GeneralRe: SDI application with 3 views Pinmembersunilkpv26-Jul-12 2:09 
Question[Hook HW interrupts in flat mode with DOS32/A] Pinmemberliaoo23-Jul-12 16:42 
AnswerRe: [Hook HW interrupts in flat mode with DOS32/A] Pinmemberenhzflep23-Jul-12 19:01 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pinmemberliaoo23-Jul-12 19:47 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pinmemberenhzflep23-Jul-12 20:23 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pinmemberliaoo23-Jul-12 22:02 
AnswerRe: [Hook HW interrupts in flat mode with DOS32/A] PinmemberTopCoder2323-Jul-12 20:10 
Here's some wonderful reading.
 
[Interrupt Service Routines]
[he WATCOM C/C++ Programmer's FAQ]
[finding a device on the PCI bus]
[PCI Device access under 32-Bit PM DOS]
 

 

 
there are 2 ways of finding a PCI device on the bus. You can either use the PCI BIOS interface call, or direct hardware I/O.
Here's the BIOS way:
 
INTEL_VENDOR_ID	EQU	8086h			; intel's unique sig #
INTEL_EXP_NIC	EQU	1227h			; sample PCI device etherexpress 10/100 NIC
.386
	mov	ax, 0b102h                      	; interrupt 1a function b102
	mov	dx, INTEL_VENDOR_ID
	mov	cx, INTEL_EXP_NIC
	xor	si, si				; 0=1st device, 1=2nd etc.
	int	1ah                              
	jc	nope
 
; once returned from this call, BH=bus number, BL=device/function #
nope:

GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pinmemberliaoo23-Jul-12 22:05 
QuestionMSDN 2010, scanf_s Pinmembermrby12323-Jul-12 7:13 
AnswerRe: MSDN 2010, scanf_s PinmemberAlbert Holguin23-Jul-12 7:26 
AnswerRe: MSDN 2010, scanf_s PinmvpCPallini23-Jul-12 22:12 
GeneralProgrammatically setting power manager suspend timeouts in Windows CE5.0 [SOLVED] [modified] PinmemberSidProgrammer22-Jul-12 21:21 
GeneralRe: Programmatically setting power manager suspend timeouts in Windows CE5.0 PinmvpRichard MacCutchan22-Jul-12 21:45 
GeneralRe: Programmatically setting power manager suspend timeouts in Windows CE5.0 PinmemberSidProgrammer22-Jul-12 22:34 
GeneralRe: Programmatically setting power manager suspend timeouts in Windows CE5.0 PinmvpRichard MacCutchan22-Jul-12 22:37 
GeneralRe: Programmatically setting power manager suspend timeouts in Windows CE5.0 PinmemberSidProgrammer22-Jul-12 22:51 
Questioncan i use vc6 with aforge? Pinmemberfrank2323153422-Jul-12 1:30 
AnswerRe: can i use vc6 with aforge? PinmvpRichard MacCutchan22-Jul-12 2:05 
QuestionMulti touch - Limit CView boudaries when panning PinmemberDansveen21-Jul-12 13:02 
AnswerRe: Multi touch - Limit CView boudaries when panning PinmvpRichard MacCutchan22-Jul-12 0:13 
GeneralRe: Multi touch - Limit CView boudaries when panning PinmemberDansveen22-Jul-12 4:33 
GeneralRe: Multi touch - Limit CView boudaries when panning PinmvpRichard MacCutchan22-Jul-12 5:33 
Questionrtb Pinmemberbyank20-Jul-12 23:01 
GeneralRe: rtb PinmvpRichard MacCutchan21-Jul-12 1:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 18 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid