Skip to navigation

Scanner/energy row: UpdateScanner

Name: UpdateScanner [Show more] Type: Subroutine Category: Scanner/energy row Summary: Update the scanner, if required
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * IRQHandler calls UpdateScanner
.UpdateScanner LDA scannerUpdate \ If scannerUpdate is non-zero then the scanner is BNE UpdateScannerNow \ configured to update, so jump to UpdateScannerNow to \ do just that, returning from the subroutine using a \ tail call CMP lastScannerState \ If the scanner state has not changed since the last BEQ scan6 \ time we updated the scanner, jump to scan6 to return \ from the subroutine without updating the scanner \ Otherwise fall through into UpdateScannerNow to update \ the scanner