Snatch
August 9th, 2002, 08:16
Recently I had an old generic text printer that would work fine on 98 and not XP. After doing lots of internal checking I found that the printer is at fault and its returning offline/busy/no errors instead of online/busy/no errors. I will resolder the board later. But there does seem to be a mysterious flag thats tested that also fixes the problem. Inside parport.sys, there is reference to:
mov eax, 1;
cmp eax, DS:0FFDF02C0;
Now this is in the _SppWrite routine I found that out through symbols but help! What is this value it is always compared with 1. Why is it an absolute address that is not in the VA space of the sys itself. How can I figure out what it is. I made Softice System debugger and had it bpmd for writes to that address in the init string. Well no dice still. And theres a good chance it may be hardware setting. But its at an absolute address. I dont understand how a sys file can reference something like that. Its also referenced in HAL.DLL and NTOSKRNL.EXE. You guys are the experts so I was wondering if you could guide me in the right direction here or perhaps you know what this value means. Any help would be much appreciated even though it might not be the right fix...it has sure sparked my curiousity.
Snatch
mov eax, 1;
cmp eax, DS:0FFDF02C0;
Now this is in the _SppWrite routine I found that out through symbols but help! What is this value it is always compared with 1. Why is it an absolute address that is not in the VA space of the sys itself. How can I figure out what it is. I made Softice System debugger and had it bpmd for writes to that address in the init string. Well no dice still. And theres a good chance it may be hardware setting. But its at an absolute address. I dont understand how a sys file can reference something like that. Its also referenced in HAL.DLL and NTOSKRNL.EXE. You guys are the experts so I was wondering if you could guide me in the right direction here or perhaps you know what this value means. Any help would be much appreciated even though it might not be the right fix...it has sure sparked my curiousity.
Snatch