Click here to Skip to main content
16,011,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Exclude From Theming Pin
Randor 16-Sep-09 2:17
professional Randor 16-Sep-09 2:17 
QuestionScramble game search help Pin
vtsmokey882-Sep-09 14:31
vtsmokey882-Sep-09 14:31 
AnswerRe: Scramble game search help Pin
Code-o-mat2-Sep-09 21:03
Code-o-mat2-Sep-09 21:03 
GeneralRe: Scramble game search help Pin
vtsmokey883-Sep-09 5:04
vtsmokey883-Sep-09 5:04 
QuestionProgram that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr2-Sep-09 13:55
psychegr2-Sep-09 13:55 
AnswerRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 2-Sep-09 15:19
professional Randor 2-Sep-09 15:19 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr2-Sep-09 21:16
psychegr2-Sep-09 21:16 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 2-Sep-09 21:50
professional Randor 2-Sep-09 21:50 
psychegr wrote:
Do you think that PortTalk is better??


It doesnt really matter as they both function in the same way. The inpout32.dll has a device driver embedded in its resource section and drops/creates a .SYS file when you load the DLL.

psychegr wrote:
And what is the second step?? Do i need to create a driver????


No, you simply start communicating with your MC68HC16 controller board using the _outp, _outpw, _outpd[^] functions.

psychegr wrote:
But there are two programs that don't use such a driver. One is Tranxbdm 1.6 which is for win95 but it programs certain cpu registers.


Yes, Linux, Win95, Win98, and WinME allow applications to perform I/O directly to the ports. Operating systems based on the NT kernel are running in protected mode[^] and isolate usermode programs from the hardware.

psychegr wrote:
I want to program all the cpu registers.


You can start right now. Just call the _outp function with the hardware address of your LPT1 port which is most often at 0x378 but you need to open the device manager to make sure. After you open the device manager you need to right click on your LPT1 printer port and choose the 'Resource' tab which will show you the I/O range.

Good Luck,
-David Delaune
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr3-Sep-09 1:12
psychegr3-Sep-09 1:12 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 3-Sep-09 9:31
professional Randor 3-Sep-09 9:31 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr8-Sep-09 9:40
psychegr8-Sep-09 9:40 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 8-Sep-09 14:42
professional Randor 8-Sep-09 14:42 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr8-Sep-09 22:00
psychegr8-Sep-09 22:00 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr10-Sep-09 4:55
psychegr10-Sep-09 4:55 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 10-Sep-09 18:52
professional Randor 10-Sep-09 18:52 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr11-Sep-09 5:53
psychegr11-Sep-09 5:53 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 11-Sep-09 7:15
professional Randor 11-Sep-09 7:15 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr15-Sep-09 13:02
psychegr15-Sep-09 13:02 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 16-Sep-09 3:45
professional Randor 16-Sep-09 3:45 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr17-Sep-09 9:28
psychegr17-Sep-09 9:28 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
Randor 17-Sep-09 17:00
professional Randor 17-Sep-09 17:00 
GeneralRe: Program that uses LPT port to communicate with a circuit that programs a cpu! Pin
psychegr20-Sep-09 4:28
psychegr20-Sep-09 4:28 
QuestionEOF Pin
cdpace2-Sep-09 10:25
cdpace2-Sep-09 10:25 
AnswerRe: EOF Pin
Luc Pattyn2-Sep-09 10:45
sitebuilderLuc Pattyn2-Sep-09 10:45 
GeneralRe: EOF Pin
«_Superman_»2-Sep-09 17:24
professional«_Superman_»2-Sep-09 17:24 

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

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