29 ldis r0, 0x00 ; init line var (we begin at line 0 ofc)
33 call+ u_recv_byte ; print received Char on LCD
34 cmpi r0, 0x0d ; change line on '\r'
47 ldis r1, 0xc0 ; jump to second line
55 ldis r1, 0x80 ; jump to first line
61 .define LCD_BASE, 0x2050
62 ; http://www.mikrocontroller.net/articles/AVR-Tutorial:_LCD#Routinen_zur_LCD-Ansteuerung
109 delay50us: ; @ 50 MHz
114 brnz+ delay50us_ ; not zero
124 brnz+ delay5ms_2 ; not zero
126 brnz+ delay5ms_1 ; not zero
130 ldis r12, LCD_BASE@lo
131 ldih r12, LCD_BASE@hi
153 ldis r1, 0x2c ; 4bit interface, 2/4zeiliges display, 5x10 font
155 ldis r1, 0xf ; display an, cursor an, cursor blinkt
157 ldis r1, 0x4 ; display fest