Changeset 51 for trunk/TOOLS
- Timestamp:
- Apr 13, 2014, 3:50:38 PM (11 years ago)
- Location:
- trunk/TOOLS
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/TOOLS/INTERNAL/FIXCODE
r46 r51 15 15 # 16 16 # This script is now obsolete. 17 # Don't use since the MBR Protaction Image has moved !! 17 18 # 18 19 exit 1; -
trunk/TOOLS/INTERNAL/FIXCODE.C
r47 r51 83 83 84 84 /* File buffers */ 85 char BootCode[IMAGE_SIZE]; // Buffer for boot-image86 char MBRProtection[ 1024]; // Buffer for protection-image85 char BootCode[IMAGE_SIZE]; // Buffer for boot-image 86 char MBRProtection[MBRPROT_SIZE]; // Buffer for protection-image 87 87 88 88 … … 163 163 // AIR-BOOT.COM image. 164 164 */ 165 for (i=0; i<55; i++) { 166 if (!memcmp(MBRProtectionSignature, &BootCode[i*SECSIZE], strlen(MBRProtectionSignature))) { 165 //~ for (i=0; i<55; i++) { 166 for (i=0; i<110; i++) { 167 if (!memcmp(MBRProtectionSignature, &BootCode[i*PAGESIZE], strlen(MBRProtectionSignature))) { 167 168 found = 1; 168 169 break; … … 182 183 // Merge Protection Image. 183 184 */ 184 memcpy(&BootCode[i*SECSIZE], MBRProtection, MBRPROT_SIZE); 185 //~ memcpy(&BootCode[i*SECSIZE], MBRProtection, MBRPROT_SIZE); 186 memcpy(&BootCode[i*PAGESIZE], MBRProtection, MBRPROT_SIZE); 185 187 printf("%s", Okay); 186 188 -
trunk/TOOLS/INTERNAL/FIXCODE.H
r46 r51 22 22 23 23 #define IMAGE_SIZE 31744 24 #define MBRPROT_SIZE 1024 24 //~ #define MBRPROT_SIZE 1024 25 #define MBRPROT_SIZE 768 25 26 #define SECSIZE 512 27 #define PAGESIZE 256 26 28 27 29 #endif -
trunk/TOOLS/OS2/SETABOOT/Makefile
r46 r51 289 289 @if exist *.o $(RM) *.o 290 290 291 # ----------------------------------------------------------------------------- 292 # DISTRIBUTE TO RELEASE SPACE 293 # ----------------------------------------------------------------------------- 294 # This distributes all .BIN files to BOOTCODE. 295 # Then it installs the English version to RELEASES as AIRBOOT.BIN. 296 # ----------------------------------------------------------------------------- 297 dist: .SYMBOLIC 298 @if exist *.EXE $(CP) *.EXE ..$(DS)..$(DS)..$(DS)RELEASE$(DS)OS2 299 291 300 # 292 301 # Help on using this Makefile. -
trunk/TOOLS/OS2/SETABOOT/SETABOOT.H
r48 r51 15 15 // Build date 16 16 #define BLDLVL_YEAR "2012" 17 #define BLDLVL_MONTH "0 4"18 #define BLDLVL_DAY " 23"17 #define BLDLVL_MONTH "09" 18 #define BLDLVL_DAY "09" 19 19 // Build time 20 #define BLDLVL_HOURS " 19"21 #define BLDLVL_MINUTES " 41"22 #define BLDLVL_SECONDS "0 0"20 #define BLDLVL_HOURS "09" 21 #define BLDLVL_MINUTES "09" 22 #define BLDLVL_SECONDS "09" 23 23 // Build machine 24 24 //#define BLDLVL_MACHINE "ecs-devbox"
Note:
See TracChangeset
for help on using the changeset viewer.