comparison src/options.asm @ 263:5a30b5b9ee4a

show unit8 options in menu left-aligned
author heinrichsweikamp
date Thu, 26 Mar 2015 13:50:02 +0100
parents ecadc17a028f
children 653a3ab08062
comparison
equal deleted inserted replaced
262:e2fd372a917a 263:5a30b5b9ee4a
422 bra option_draw_string 422 bra option_draw_string
423 return ; Unknown: return... 423 return ; Unknown: return...
424 424
425 option_draw_uint8: 425 option_draw_uint8:
426 movff INDF1,lo ; Draw value. 426 movff INDF1,lo ; Draw value.
427 bsf leftbind
427 output_8 428 output_8
429 bcf leftbind
428 clrf INDF2 ; Make sure to close string... 430 clrf INDF2 ; Make sure to close string...
429 431
430 movf opt_unit+0,W ; Is there a unit to append ? 432 movf opt_unit+0,W ; Is there a unit to append ?
431 iorwf opt_unit+1,W 433 iorwf opt_unit+1,W
432 rcall option_draw_unit 434 rcall option_draw_unit