Mercurial > public > hwos_code
comparison src/surfmode.asm @ 651:682c514c53c0
3.21 release preparations
author | heinrichsweikamp |
---|---|
date | Fri, 14 Apr 2023 09:00:19 +0200 |
parents | 7d8a4c60ec1a |
children | 75e90cd0c2c3 |
comparison
equal
deleted
inserted
replaced
650:bc214815deb2 | 651:682c514c53c0 |
---|---|
569 call TFT_dump_screen_check ; YES - check if requested and do it | 569 call TFT_dump_screen_check ; YES - check if requested and do it |
570 ELSE | 570 ELSE |
571 btfsc comm_mode_disabled ; COMM mode disabled? | 571 btfsc comm_mode_disabled ; COMM mode disabled? |
572 return ; YES - done | 572 return ; YES - done |
573 ENDIF | 573 ENDIF |
574 btfss surfmode_menu ; in surface menus? | |
575 return ; NO - done | |
576 | |
577 btfsc simulatormode ; currently in simulator (deco calculator) mode? | |
578 return ; YES - suppress COMM mode to not jeopardize backup/restore of tissue data | |
579 | |
580 btfss vusb_in ; USB plugged in? | |
581 return ; NO - done | |
582 IFDEF _screendump | |
583 btfsc screen_dump_avail ; YES - screen dump enabled? | |
584 return ; YES - no COMM mode to be able to make screen shots of the menu and simulator mode | |
585 ENDIF | |
586 btfss ble_available ; skip "USB" check in all Bluetooth models (required for very old OSTC sport) | |
587 goto comm_mode_usb ; YES / NO - proceed to COMM mode, will also set CPU to speed normal | |
588 return | 574 return |
575 ; btfss surfmode_menu ; in surface menus? | |
576 ; return ; NO - done | |
577 ; | |
578 ; btfsc simulatormode ; currently in simulator (deco calculator) mode? | |
579 ; return ; YES - suppress COMM mode to not jeopardize backup/restore of tissue data | |
580 ; | |
581 ; btfss vusb_in ; USB plugged in? | |
582 ; return ; NO - done | |
583 ; IFDEF _screendump | |
584 ; btfsc screen_dump_avail ; YES - screen dump enabled? | |
585 ; return ; YES - no COMM mode to be able to make screen shots of the menu and simulator mode | |
586 ; ENDIF | |
587 ; btfss ble_available ; skip "USB" check in all Bluetooth models (required for very old OSTC sport) | |
588 ; goto comm_mode_usb ; YES / NO - proceed to COMM mode, will also set CPU to speed normal | |
589 ; return | |
589 | 590 |
590 ;----------------------------------------------------------------------------- | 591 ;----------------------------------------------------------------------------- |
591 | 592 |
592 END | 593 END |