Changeset 49 for trunk/page00/display.asm
- Timestamp:
- 10/11/09 00:42:34 (3 years ago)
- Files:
-
- 1 modified
-
trunk/page00/display.asm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/page00/display.asm
r47 r49 4 4 PUBLIC AnimateRunIndicator,DispHexA,PutS,PutC,curBlink,SaveOScreen,DispHexHL,EraseEOL,ClrLCDFull 5 5 PUBLIC _LCD_COMMAND,SetXAutoIncrementMode,SetYAutoIncrementMode,IPutSB,PutMap,ClrScrnFull,ClrTxtShd 6 PUBLIC saveTR,restoreTR,showCursor,CursorOff,CursorOn,hideCursor,RunIndicOn,IPutC 7 EXTERN IsAtEditTail,IsAtBtm,LCDDelay,ATimes16 6 PUBLIC saveTR,restoreTR,showCursor,CursorOff,CursorOn,hideCursor,RunIndicOn,IPutC,_LCD_DRIVERON 7 EXTERN IsAtEditTail,IsAtBtm,LCDDelay,ATimes16,NZIf83Plus 8 8 9 9 include "includes\os2.inc" 10 11 _LCD_DRIVERON: 12 ld a,40h 13 call LCDDelay 14 out (LCDinstPort),a 15 ld a,5 16 call LCDDelay 17 out (LCDinstPort),a 18 ld a,1 19 call LCDDelay 20 out (LCDinstPort),a 21 ld a,lcdTurnOn 22 call LCDDelay 23 out (LCDinstPort),a 24 ld a,16h 25 call NZIf83Plus 26 jr nz,$F 27 ld a,17h 28 $$: call LCDDelay 29 out (LCDinstPort),a 30 ld a,8 31 call NZIf83Plus 32 jr nz,$F 33 ld a,0Bh 34 $$: call LCDDelay 35 out (LCDinstPort),a 36 ld a,(contrast) 37 add a,18h 38 or 0C0h 39 call LCDDelay 40 out (LCDinstPort),a 41 ret 10 42 11 43 RunIndicOn:
