Mercurial > public > hwos_code
comparison src/tft.inc @ 151:5cb177f0948a
work on flip screen...
author | heinrichsweikamp |
---|---|
date | Mon, 18 Aug 2014 17:37:00 +0200 |
parents | eb72c8865f47 |
children | e79bc535ef9e |
comparison
equal
deleted
inserted
replaced
150:074b1a9ded7b | 151:5cb177f0948a |
---|---|
143 ; image : flash image header's address | 143 ; image : flash image header's address |
144 ; Outputs: win_top, win_left, win_height, win_width | 144 ; Outputs: win_top, win_left, win_height, win_width |
145 ; image copyed on screen. | 145 ; image copyed on screen. |
146 ; Trashed: PROD, hi, lo | 146 ; Trashed: PROD, hi, lo |
147 ; | 147 ; |
148 extern TFT_write_flash_image | 148 ; extern TFT_write_flash_image |
149 extern TFT_write_flash_image_addr | 149 ; extern TFT_write_flash_image_addr |
150 TFT_WRITE_FLASH_IMAGE macro cx, cy, image | 150 TFT_WRITE_FLASH_IMAGE macro cx, cy, image |
151 If LOW(image) != 0 | 151 If LOW(image) != 0 |
152 Error "Image "image" mis-aligned" | 152 Error "Image "image" mis-aligned" |
153 Endif | 153 Endif |
154 If (UPPER(image) & 0xF0) != 0x30 | 154 If (UPPER(image) & 0xF0) != 0x30 |