comparison src/ostc3.inc @ 268:29acdb601548

BUGFIX: Increase timing tolerance for S8 HUD (cR only)
author heinrichsweikamp
date Sun, 19 Apr 2015 20:41:48 +0200
parents 6a1ac89e2098
children 12ee30cbced9
comparison
equal deleted inserted replaced
267:f64afa14ef07 268:29acdb601548
18 #include <p18f87k22.inc> 18 #include <p18f87k22.inc>
19 #include <ports.inc> ; Portmap 19 #include <ports.inc> ; Portmap
20 20
21 ; Firmware definition 21 ; Firmware definition
22 #DEFINE softwareversion_x d'1' ; Software version XX.YY 22 #DEFINE softwareversion_x d'1' ; Software version XX.YY
23 #DEFINE softwareversion_y d'77' ; Software version XX.YY 23 #DEFINE softwareversion_y d'78' ; Software version XX.YY
24 #DEFINE softwareversion_beta 0 ; (and 0 for release) 24 #DEFINE softwareversion_beta 0 ; (and 0 for release)
25 ; Firmware version will appear in "Change Firmware" style 25 ; Firmware version will appear in "Change Firmware" style
26 #DEFINE firmware_expire_year .16 26 #DEFINE firmware_expire_year .16
27 #DEFINE firmware_expire_month .4 27 #DEFINE firmware_expire_month .4
28 #DEFINE firmware_expire_day .1 28 #DEFINE firmware_expire_day .1
327 xLO res 1 ; lo backup to prevent trashing 327 xLO res 1 ; lo backup to prevent trashing
328 xHI res 1 ; hi backup to prevent trashing 328 xHI res 1 ; hi backup to prevent trashing
329 xCM res 1 ; compass bearing relative position 329 xCM res 1 ; compass bearing relative position
330 compass_bearing res 2 ; this is where the bearing menu stores the actual heading for bearing 330 compass_bearing res 2 ; this is where the bearing menu stores the actual heading for bearing
331 331
332
333 ;---------------------------- Common DATA ------------------------------------ 332 ;---------------------------- Common DATA ------------------------------------
334 333
335 common equ 0x100 ; Alias for "banksel common" 334 common equ 0x100 ; Alias for "banksel common"
336 common udata_ovr common ; Bank1 general variables 335 common udata_ovr common ; Bank1 general variables
337 336
509 ; 508 ;
510 509
511 tmp udata_ovr 0x1A0 ; Bank1 shared TMP space 510 tmp udata_ovr 0x1A0 ; Bank1 shared TMP space
512 tmp equ 0x1A0 ; Alias for CBLOCK directive. 511 tmp equ 0x1A0 ; Alias for CBLOCK directive.
513 res 0x060 ; RESERVED area. 512 res 0x060 ; RESERVED area.
513
514 ;---------------------------- Common2 DATA ------------------------------------
515
516 common2 equ 0xA00 ; Alias for "banksel common"
517 common2 udata_ovr common2 ; Bank1 general variables
518
519 s8_rawdata_sensor1 res 3 ; 24bit A/D raw data from S8 HUD sensor 1
520 s8_rawdata_sensor2 res 3 ; 24bit A/D raw data from S8 HUD sensor 2
521 s8_rawdata_sensor3 res 3 ; 24bit A/D raw data from S8 HUD sensor 3
514 522
515 ;----------------------------------------------------------------------------- 523 ;-----------------------------------------------------------------------------
516 ; Reserve BANK2 for general purpose buffer (strings, images, etc). 524 ; Reserve BANK2 for general purpose buffer (strings, images, etc).
517 ; NOTE: Needs to be aligned with a bank (LOW(buffer)==0). 525 ; NOTE: Needs to be aligned with a bank (LOW(buffer)==0).
518 buffer udata_ovr 0x200 526 buffer udata_ovr 0x200