Changeset 188 for trunk/include
- Timestamp:
- Nov 7, 2017, 7:12:56 AM (8 years ago)
- Location:
- trunk/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/makefile.mif
r184 r188 117 117 118 118 # 119 # Clear the ASM and CC definitions 120 # 121 %JWASM_DEFINES= 122 %CC_DEFINES= 123 124 # 125 # Force a RELEASE build if specified 126 # 127 !if "$(%RELEASE)"=="y" 128 %JWASM_DEFINES += -DRELEASE 129 %CC_DEFINES += -dRELEASE 130 !endif 131 132 # 119 133 # Compose JWasm defines to pass on command-line 120 134 # 121 %JWASM_DEFINES=122 135 %JWASM_DEFINES += -DBLDLVL_VENDOR="'$(%BLDLVL_VENDOR)'" 123 136 %JWASM_DEFINES += -DBLDLVL_MACHINE="'$(%BLDLVL_MACHINE)'" … … 133 146 # Compose C-Compiler defines to pass on command-line 134 147 # 135 %CC_DEFINES=136 148 !ifdef __LINUX__ 137 149 %CC_DEFINES += -dBLDLVL_VENDOR='"$(%BLDLVL_VENDOR)"' -
trunk/include/version.h
r182 r188 18 18 19 19 20 20 21 /* 21 // OS/2 BLDLEVEL Information .22 // OS/2 BLDLEVEL Information 22 23 */ 23 24 … … 32 33 #endif 33 34 35 // Build language 36 #define BLDLVL_LANGUAGE "EN" 37 38 39 // Release and TestBuild variants 40 #ifdef RELEASE 41 42 // Version 43 #define BLDLVL_MAJOR_VERSION "1" 44 #define BLDLVL_MIDDLE_VERSION "1" 45 #define BLDLVL_MINOR_VERSION "2" 46 47 // Build date 48 #define BLDLVL_YEAR "2017" 49 #define BLDLVL_MONTH "04" 50 #define BLDLVL_DAY "13" 51 52 // Build time 53 #define BLDLVL_HOURS "01" 54 #define BLDLVL_MINUTES "01" 55 #define BLDLVL_SECONDS "02" 56 57 #else 58 34 59 // Version 35 60 #define BLDLVL_MAJOR_VERSION "1" … … 43 68 44 69 // Build time 45 //~ #define BLDLVL_HOURS "01"46 //~ #define BLDLVL_MINUTES "01"47 //~ #define BLDLVL_SECONDS "00"48 70 #define BLDLVL_HOURS "23" 49 71 #define BLDLVL_MINUTES "59" 50 72 #define BLDLVL_SECONDS "59" 51 73 52 // Build language 53 #define BLDLVL_LANGUAGE "EN" 74 #endif -
trunk/include/version.inc
r179 r188 17 17 ; AiR-BOOT. If not, see <http://www.gnu.org/licenses/>. 18 18 ; 19 20 21 ; 22 ; AiR-BOOT Version Information. 23 ; 24 ; First we define the numeric (BCD) AiR-BOOT version information. 25 ; This is used to derive ASCII and other representations. 26 ; 27 28 IFDEF RELEASE 29 30 ; AiR-BOOT version conform WarpIN format with implicit 0 as fourth number. 31 ; Note that the config-version is managed manually. 32 AB_MAJOR_VERSION EQU 1 33 AB_MIDDLE_VERSION EQU 1 34 AB_MINOR_VERSION EQU 2 35 36 ; The Year, Month and Day in BCD so we can easily extract nibbles. 37 AB_YEAR EQU 2017h 38 AB_MONTH EQU 04h 39 AB_DAY EQU 13h 40 41 ; The Hours, Minutes and Seconds, again in BCD for easy manipulation. 42 AB_HOURS EQU 01h 43 AB_MINUTES EQU 01h 44 AB_SECONDS EQU 02h 45 46 ELSE 47 48 ; AiR-BOOT version conform WarpIN format with implicit 0 as fourth number. 49 ; Note that the config-version is managed manually. 50 AB_MAJOR_VERSION EQU 1 51 AB_MIDDLE_VERSION EQU 1 52 AB_MINOR_VERSION EQU 1 53 54 ; The Year, Month and Day in BCD so we can easily extract nibbles. 55 AB_YEAR EQU 2017h 56 AB_MONTH EQU 04h 57 AB_DAY EQU 13h 58 59 ; The Hours, Minutes and Seconds, again in BCD for easy manipulation. 60 AB_HOURS EQU 23h 61 AB_MINUTES EQU 59h 62 AB_SECONDS EQU 59h 63 64 ENDIF 65 66 ; The AiR-BOOT signature uses big-endian so we shuffle some bits around. 67 AB_SIG_VERSION EQU (((AB_MIDDLE_VERSION SHL 4) OR AB_MINOR_VERSION) SHL 8) OR AB_MAJOR_VERSION 68 AB_SIG_YEAR EQU ((AB_YEAR SHR 8) OR (AB_YEAR SHL 8) AND 0FFFFh) 69 AB_SIG_DATE EQU (AB_MONTH SHL 8) OR AB_DAY 70 19 71 20 72 ; … … 51 103 ; e0h bright yellow 52 104 ; f0h bright white 53 54 ;55 ; AiR-BOOT Version Information.56 ;57 58 ;59 ; First we define the numeric (BCD) AiR-BOOT version information.60 ; This is used to derive ASCII and other representations.61 ;62 63 ; AiR-BOOT version conform WarpIN format with implicit 0 as fourth number.64 ; Note that the config-version is managed manually.65 AB_MAJOR_VERSION EQU 166 AB_MIDDLE_VERSION EQU 167 AB_MINOR_VERSION EQU 168 69 ; The Year, Month and Day in BCD so we can easily extract nibbles.70 AB_YEAR EQU 2017h71 AB_MONTH EQU 04h72 AB_DAY EQU 13h73 74 ; The Hours, Minutes and Seconds, again in BCD for easy manipulation.75 ;~ AB_HOURS EQU 01h76 ;~ AB_MINUTES EQU 01h77 ;~ AB_SECONDS EQU 01h78 AB_HOURS EQU 23h79 AB_MINUTES EQU 59h80 AB_SECONDS EQU 59h81 82 ; The AiR-BOOT signature uses big-endian so we shuffle some bits around.83 AB_SIG_VERSION EQU (((AB_MIDDLE_VERSION SHL 4) OR AB_MINOR_VERSION) SHL 8) OR AB_MAJOR_VERSION84 AB_SIG_YEAR EQU ((AB_YEAR SHR 8) OR (AB_YEAR SHL 8) AND 0FFFFh)85 AB_SIG_DATE EQU (AB_MONTH SHL 8) OR AB_DAY86
Note:
See TracChangeset
for help on using the changeset viewer.