diff options
Diffstat (limited to 'firmware/drivers')
-rwxr-xr-x | firmware/drivers/lcd.S | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/firmware/drivers/lcd.S b/firmware/drivers/lcd.S index c082637f3e..1d301e2ef6 100755 --- a/firmware/drivers/lcd.S +++ b/firmware/drivers/lcd.S | |||
@@ -333,11 +333,20 @@ lcd_write_command_ex: | |||
333 | and.l %d1,(0xb4,%a1) | 333 | and.l %d1,(0xb4,%a1) |
334 | move.w %d0,0xf0000000 /* Write to LCD */ | 334 | move.w %d0,0xf0000000 /* Write to LCD */ |
335 | 335 | ||
336 | move.l (8,%sp),%d0 /* Data */ | ||
337 | |||
338 | not.l %d1 /* Set A0 = 1 */ | 336 | not.l %d1 /* Set A0 = 1 */ |
339 | or.l %d1,(0xb4,%a1) | 337 | or.l %d1,(0xb4,%a1) |
338 | |||
339 | move.l (8,%sp),%d0 /* Data */ | ||
340 | cmp.l #0xffffffff,%d0 /* -1? */ | ||
341 | beq.b .last | ||
340 | move.w %d0,0xf0000000 /* Write to LCD */ | 342 | move.w %d0,0xf0000000 /* Write to LCD */ |
343 | |||
344 | move.l (12,%sp),%d0 /* Data */ | ||
345 | cmp.l #0xffffffff,%d0 /* -1? */ | ||
346 | beq.b .last | ||
347 | move.w %d0,0xf0000000 /* Write to LCD */ | ||
348 | |||
349 | .last: | ||
341 | rts | 350 | rts |
342 | 351 | ||
343 | .align 2 | 352 | .align 2 |