Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/13/09 16:42
Read: times


 
#162365 - My actual code
Responding to: ???'s previous message
The code I have right now is this one:


.equ    locat, 0x2000           	;Location for this program
.equ	lcd_horiz_size, 20
.equ	lcd_vert_size, 2
.equ	lcd_bytes_per_line, (128 / lcd_vert_size)
.equ	lcd_clear_cmd, 0x01		;clears display
.equ	lcd_home_cmd, 0x02		;put cursor at home position
.equ	lcd_on_cmd, 0x0C		;turn on display (cursor off)
.equ	lcd_shift_cmd, 0x10
.equ	lcd_config_cmd, 0x38		;config 8 bit, 2 lines, 5x7
.equ	lcd_command_wr, 0xFE00
.equ	lcd_status_rd, 0xFE01
.equ	lcd_data_wr, 0xFE02
.equ	lcd_data_rd, 0xFE03
.equ	cout, 0x0030
.equ	cin, 0x0032
.equ	phex, 0x0034
.equ	phex16, 0x0036
.equ	pstr, 0x0038
.equ	newline, 0x0048

.equ  	port_a, 0xF800
.equ	port_abc_pgm, 0xF803
 



List of 15 messages in thread
TopicAuthorDate
Need some help with port reading and LCD displaying.            01/01/70 00:00      
   be more specific in your statement of the problem!            01/01/70 00:00      
      is other part(LCD) working?            01/01/70 00:00      
         The LCD actually is working            01/01/70 00:00      
            It worked better than mine            01/01/70 00:00      
               You still have no loop            01/01/70 00:00      
                  Nearly perfectly working            01/01/70 00:00      
                     what is Your default code?            01/01/70 00:00      
                        My actual code            01/01/70 00:00      
                           that's not 'code'            01/01/70 00:00      
                              Sorry            01/01/70 00:00      
                                 Is this really all of it?            01/01/70 00:00      
                                    Yeah, it's all of it            01/01/70 00:00      
      thank you for the answer            01/01/70 00:00      
   Compare Jump NOT Equal            01/01/70 00:00      

Back to Subject List