Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 2nd, 2005, 11:36 PM   #1
samra
Newbie
 
Join Date: Feb 2005
Posts: 11
Rep Power: 0 samra is on a distinguished road
Lightbulb assembly & interfacing,what's wrong with Win2000

hello
in interfacing the PC through parrallel port 25 pin, what is wrong with windows 2000 & the outpot pins?
if i am outputing the decima l sequence from 0--9 to a seven segment display, & using Windows 2000 as OS, Turbo pascal as editor, assembly language for 8088/8086 microprocessor. the numbers are coming out but not in the right order, is this due to a problem with Win2000, (this was working well with Win95 & Win98).
& if iam using the input & output together, then there would be no problem.
is this right, or there might be another reason?
samra is offline   Reply With Quote
Old Mar 11th, 2005, 3:32 PM   #2
liquidsilver
Newbie
 
liquidsilver's Avatar
 
Join Date: Mar 2005
Location: South Africa
Posts: 21
Rep Power: 0 liquidsilver is on a distinguished road
Can you help try by showing the code you used?
__________________
Small is beautiful
liquidsilver is offline   Reply With Quote
Old Mar 13th, 2005, 10:28 PM   #3
samra
Newbie
 
Join Date: Feb 2005
Posts: 11
Rep Power: 0 samra is on a distinguished road
Sure

MOV DX,3BCH
@START:  SUB AL,AL                ;so AL=0
@NEXT:    OUT DX,AL
               CALL @DELAY
               INC AL                    ;AL=AL+1
               CMP AL,10
               JZ  @START            ;if AL=10 go to start
               JMP @NEXT             if AL not equal 10, then output it to display
@DELAY:   PUSH AX                                                       
               PUSH BX                                                       
               PUSH CX                                                       
               MOV AX,9                                                      
@LOOP1:   DEC AX                                                       
               CMP AX,-1                                                     
               JZ @EXIT                                                     
               MOV BX,0FFFH                                             
@LOOP2:   DEC BX                                                     
               JZ @LOOP1                                                     
               MOV CX,0FFFH                                                  
@LOOP3:   DEC CX                                                        
               JNZ @LOOP3                                                    
               JMP @LOOP2                                                    
@EXIT:     POP CX                                                        
               POP BX                                                        
               POP AX                                                        
               RET
samra is offline   Reply With Quote
Old Mar 15th, 2005, 3:12 AM   #4
liquidsilver
Newbie
 
liquidsilver's Avatar
 
Join Date: Mar 2005
Location: South Africa
Posts: 21
Rep Power: 0 liquidsilver is on a distinguished road
Not sure what's wrong there, can't see anything that would be influenced by the OS. Try debugging it.
__________________
Small is beautiful
liquidsilver is offline   Reply With Quote
Old Mar 15th, 2005, 9:05 AM   #5
Xero
Hobbyist Programmer
 
Join Date: Dec 2004
Location: a cardboard box
Posts: 118
Rep Power: 4 Xero is on a distinguished road
Quote:
Originally Posted by samra
what is wrong with windows 2000
microsoft
__________________
...
Xero is offline   Reply With Quote
Old Mar 16th, 2005, 5:43 AM   #6
samra
Newbie
 
Join Date: Feb 2005
Posts: 11
Rep Power: 0 samra is on a distinguished road
Talking

Very lovely, very nice. Thank you very much for passing by. & thanku for mentioning Microsoft, i forgot totally about it. ilove this forum
samra is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:27 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC