comparison src/hwos.asm @ 624:7bdcc591196c

Support for Compass3 hardware
author heinrichsweikamp
date Thu, 13 Jun 2019 10:07:55 +0200
parents c40025d8e750
children bf5fee575701
comparison
equal deleted inserted replaced
623:c40025d8e750 624:7bdcc591196c
41 41
42 42
43 ;---- Flags - Hardware Descriptors 43 ;---- Flags - Hardware Descriptors
44 HW_descriptor res 1 ; OSTC - model descriptor (cleared & rebuilt in restart) 44 HW_descriptor res 1 ; OSTC - model descriptor (cleared & rebuilt in restart)
45 HW_variants res 1 ; OSTC - model variants (NOT cleared in restart) 45 HW_variants res 1 ; OSTC - model variants (NOT cleared in restart)
46 46 HW_variants2 res 1 ; OSTC - model variants (NOT cleared in restart)
47
47 ;---- Flags - Hardware States 48 ;---- Flags - Hardware States
48 HW_flags_state res 1 ; hardware - states 49 HW_flags_state res 1 ; hardware - states
49 50
50 ;--- Flags - Operating System 51 ;--- Flags - Operating System
51 OS_flags_persist res 1 ; system - persistent settings (NOT cleared in restart) 52 OS_flags_persist res 1 ; system - persistent settings (NOT cleared in restart)
97 98
98 ; 28 byte user data 99 ; 28 byte user data
99 ; 32 byte tmp data placed by C compiler 100 ; 32 byte tmp data placed by C compiler
100 ; 20 byte variables placed by math library 101 ; 20 byte variables placed by math library
101 ; == 102 ; ==
102 ; 80 byte used, 16 byte free (96 byte total available) 103 ; 81 byte used, 15 byte free (96 byte total available)
103 104
104 global HW_descriptor 105 global HW_descriptor
105 global HW_variants 106 global HW_variants
107 global HW_variants2
106 global HW_flags_state 108 global HW_flags_state
107 global OS_flags_persist 109 global OS_flags_persist
108 global OS_flags_ISR1 110 global OS_flags_ISR1
109 global OS_flags_ISR2 111 global OS_flags_ISR2
110 global OM_flags_mode 112 global OM_flags_mode