comparison src/hwos.asm @ 654:75e90cd0c2c3

hwOS sport 10.77 release
author heinrichsweikamp
date Thu, 14 Mar 2024 16:56:46 +0100
parents bc214815deb2
children
comparison
equal deleted inserted replaced
653:8bcd138ab744 654:75e90cd0c2c3
2 ; 2 ;
3 ; File hwos.asm * combined next generation V3.09.4e 3 ; File hwos.asm * combined next generation V3.09.4e
4 ; 4 ;
5 ; Definition of the hwOS dive computer platform. 5 ; Definition of the hwOS dive computer platform.
6 ; 6 ;
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. 7 ; Copyright (c) 2011, JD Gascuel, heinrichs weikamp gmbh, all right reserved.
8 ;============================================================================= 8 ;=============================================================================
9 ; HISTORY 9 ; HISTORY
10 ; 2011-05-24 : [jDG] Cleanups from initial Matthias code 10 ; 2011-05-24 : [jDG] Cleanups from initial Matthias code
11 ; 2011-06-24 : [MH] Added clock speeds 11 ; 2011-06-24 : [MH] Added clock speeds
12 12
527 ; Restore the first 128 bytes from EEPROM to program FLASH 527 ; Restore the first 128 bytes from EEPROM to program FLASH
528 ; 528 ;
529 global restore_flash 529 global restore_flash
530 restore_flash: 530 restore_flash:
531 banksel common 531 banksel common
532 bcf INTCON,GIE
532 533
533 ;set start address in internal program FLASH 534 ;set start address in internal program FLASH
534 movlw 0x00 ; set 0x000000 535 movlw 0x00 ; set 0x000000
535 movwf TBLPTRL ; ... 536 movwf TBLPTRL ; ...
536 movwf TBLPTRH ; ... 537 movwf TBLPTRH ; ...