Labels:matrix | monitor OCR: tdefine PORTADDRESS Dx378 Tntor adefine YLYI PORTADDRESST tdefine STATUS PORTADDRESS. CONTROL PORTADRESS+2 main(voidl ha ing[] estin 123 It Horks char init[l0]; int counti int len: init[0] 0x0Fi Init Hsplay init[l] 0x03: Clear Hsplay init[2] 0x36 Jong Li-8 Bit autporthCCONTROL inportbCONTRL 3xF Rasat Cantral Port Make sure Forvard Pirectipr DutpOrEbCCONTROL. inportb(CANTROL) Set Select Printer (Register Select] Ccount n coune count..) DutporebCDATA. initEcownt] te inportb(CNTRL) 01 Set Strabe [Enablel/ H102Metap Larger Jelay for TNTT outportb COMTROL inportb(CANTRL) FE Resat Strabe IEnable1/ ap 201 Larger Jelay far INI define 0x378 Tour Addrass sdefine grtinr voiB 0x01i 5118 Direction inporth Cpun Enable Reset Strobe delay