Changeset 9650 for trunk/tools
- Timestamp:
- Jan 10, 2003, 12:09:34 PM (23 years ago)
- Location:
- trunk/tools/OdinBug
- Files:
-
- 12 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/OdinBug/ODINBUG.IPF
r9104 r9650 1 :userdoc.:title.OdinBug Help 0.5. 71 :userdoc.:title.OdinBug Help 0.5.8 2 2 :docprof toc=123. 3 3 .*************************************************** -
trunk/tools/OdinBug/OdinBug.VRP
r9104 r9650 8 8 VRXWindow: __VREMainWindow,1,1039,1987,994,7905 9 9 VRXWindow: __VREFileListWindow,1,602,10901,2665,3358 10 VRXWindow: __VRESectionListWindow,1,59 77,10901,2650,334211 VRXWindow: __VREToolsWindow,1, 2800,60,5505,168810 VRXWindow: __VRESectionListWindow,1,5914,8793,2650,3342 11 VRXWindow: __VREToolsWindow,1,626,48,7951,1659 12 12 VRXWindow: __VREWindListWindow,1,3297,10901,2650,3150 13 13 UserFile: 1 14 14 UserWindow: OdinBugReport,1 15 UserWindow: Progress,116 UserWindow: AboutPage,1 -
trunk/tools/OdinBug/OdinBug.VRX
r9104 r9650 115 115 FoundScitech = 1 116 116 end 117 when Pos('SDDHELP.SYS',ConfigLine) > 0 then SDDHelpSys=strip(substr(ConfigLine,8)) 118 117 119 when Pos('MGAX64', ConfigLine) > 0 then Driver = "Matrox Driver" 118 120 when Pos('GENGRADD', ConfigLine) > 0 then Driver = "Generic GRADD" … … 301 303 SDDHELP.SYS and GRAPHICS.LOG */ 302 304 303 SDDHelpSys = SysBootDrive()'\OS2\SDDHELP.SYS' 304 305 LogLine = '' 306 do until lines(SDDHelpSys) = 0 307 LogLine = translate(linein(SDDHelpSys),' ', d2c(0)) 308 if pos('build',logline) > 0 then do 309 SddBuildNr = substr(LogLine,pos('build',logline),10) 310 IsSNAP = sign(Pos('SNAP',LogLine)) 311 end 312 end 313 ok = stream(SDDHelpSys,'c','CLOSE') 314 315 GraphicsLog = SysBootDrive()'\OS2\DRIVERS\NUCLEUS\CONFIG\GRAPHICS.LOG' 305 /* we get SDDHelpSys from Config.Sys now 306 SDDHelpSys = SysBootDrive()'\OS2\SDDHELP.SYS' */ 307 308 /* our new PREXX30 compliant SNAP detector */ 309 isSNAP = 0 310 do until chars(SDDHelpSYS) = 0 311 C = charin(SDDHELPSYS) 312 select 313 when C = 'b' then do 314 SddBuildNr = C||charin(SDDHELPSYS,,8) 315 if translate(word(SDDBuildNr,1)) <> 'BUILD' then iterate 316 else leave 317 end 318 when C = 'S' then do 319 SciTechType = C||charin(SDDHELPSYS,,3) 320 if translate(SciTechType) <> 'SNAP' then iterate 321 else isSNAP = 1 322 end 323 when C = 'D' then do 324 SciTechType = C||charin(SDDHELPSYS,,5) 325 if translate(ScitechType) <> 'DOCTOR' then iterate 326 else isSNAP = 0 327 end 328 otherwise iterate 329 end 330 end 331 332 ok = stream(SDDHelpsys,'c','close') 333 334 NUCLEUS_PATH = value('NUCLEUS_PATH',,'OS2ENVIRONMENT') 335 if Nucleus_Path = '' then Nucleus_Path = SysBootDrive()'\OS2\DRIVERS\NUCLEUS\CONFIG' 336 GraphicsLog = Nucleus_Path'\GRAPHICS.LOG' 337 316 338 License = linein(GraphicsLog) 317 339 select 318 when word(License,1)= 'Valid' & word(License,2) = 'IHV' & \IsSNAPthen Driver = 'Scitech Display Doctor/SE'319 when word(License,1)= 'Valid' & word(License,2) = 'IHV' & IsSNAPthen Driver = 'Scitech SNAP/OEM'320 when word(License,1)= 'Registered' & word(License,2) = 'end' & \IsSNAPthen Driver = 'Scitech Display Doctor/Pro'321 when word(License,1)= 'Registered' & word(License,2) = 'end' & IsSNAPthen Driver = 'Scitech SNAP'340 when (word(License,1)= 'Valid') & (word(License,2) = 'IHV') & (\IsSNAP) then Driver = 'Scitech Display Doctor/SE' 341 when (word(License,1)= 'Valid') & (word(License,2) = 'IHV') & (IsSNAP) then Driver = 'Scitech SNAP/OEM' 342 when (word(License,1)= 'Registered') & (word(License,2) = 'end') & (\IsSNAP) then Driver = 'Scitech Display Doctor/Pro' 343 when (word(License,1)= 'Registered') & (word(License,2) = 'end') & (IsSNAP) then Driver = 'Scitech SNAP' 322 344 otherwise if IsSNAP then Driver = 'Scitech SNAP/Demo' 323 345 else Driver = 'Scitech Display Doctor/Demo' … … 336 358 return 337 359 360 /* old SDD 361 362 LogLine = '' 363 IsSNAP = 0 364 LC = 0 365 do until lines(SDDHelpSys) = 0 366 LogLine = translate(linein(SDDHelpSys),' ', d2c(0)) 367 LC = LC + 1 368 if pos('build',logline) > 0 then do 369 SddBuildNr = substr(LogLine,pos('build',logline),10) 370 IsSNAP = sign(Pos('SNAP',LogLine)) 371 leave 372 end 373 end 374 ok = stream(SDDHelpSys,'c','CLOSE') 375 do until chars(SDDHELPSYS)=0 376 */ 338 377 /*:VRX _AnalyseSyslevelFPK 339 378 */ … … 538 577 */ 539 578 _CheckForExpiredBuild: 579 if UsingPrivateBuilds then return 1 540 580 if BuildFile = '' then return 0 541 581 AllowReport = 0 … … 714 754 if Foundxf86supsys then call lineout RptFileName, 'Yes, version 'XF86SupVersion 715 755 else call lineout RptFileName, 'No' 716 call lineout RptFileName, ' Display driver: 'VRGet("DDCB_DD","value")' 'VRGet("DDCB_DDVer","Value") 756 call lineout RptFileName, ' Display driver: 'VRGet("DDCB_DD","value")' 'VRGet("DDCB_DDVer","Value")' ('LC')' 717 757 call lineout RptFileName, ' Video Chipset: 'VRGet("DDCB_chipset","Value") 718 758 call lineout RptFileName, ' ' … … 1036 1076 ok = VRSet( "SPIN_BufferSize", "Value", BufferSize ) 1037 1077 ok = VRSet( "CB_AddException", "set", AddException ) 1078 ok = VRSet( "CB_UsingPrivateBuilds", "set", UsingPrivateBuilds) 1038 1079 ok = VRSet( "CB_DontSaveAppDir", "set", DontSaveAppDir ) 1039 1080 ok = VRSet( "CB_AskDeleteLog", "set", AskDeleteLog ) … … 1208 1249 BufferSize = VRGetIni( "OdinBug", "BufferSize", our_ini, 'NoClose' ) 1209 1250 AddException = VRGetIni( "OdinBug", "AddException", our_ini, 'NoClose' ) 1251 UsingPrivateBuilds = VRGetIni( "OdinBug", "UsingPrivateBuilds", our_ini ) 1210 1252 OdinBugVersion = VRGetIni( "OdinBug", "Version", our_ini ) 1211 1253 … … 1237 1279 if BufferSize = '' then BufferSize = 10 1238 1280 if AddException = '' then AddException = 1 1239 1281 if UsingPrivateBuilds = '' then UsingPrivateBuilds = 0 1240 1282 /* Now let us process the commandline */ 1241 1283 call _CommandLineParse … … 1264 1306 ok = VRSetIni( "OdinBug", "BufferSize", BufferSize, our_ini, 'NoClose' ) 1265 1307 ok = VRSetIni( "OdinBug", "AddException", AddException, our_ini, 'NoClose' ) 1308 ok = VRSetIni( "OdinBug", "UsingPrivateBuilds", UsingPrivateBuilds, our_ini, 'NoClose' ) 1266 1309 ok = VRSetIni( "OdinBug", "Version", OdinBugVersion , our_ini ) 1267 1310 return … … 1563 1606 ok = VRSet("TAB_"Nr,"Left",TabWidth*(Nr-1)+PageLeft) 1564 1607 ok = VRSet("TAB_"Nr,"PicturePath", "#1"||Nr) 1608 ok = VRSet("TAB_"Nr,"AutoSize",1) 1565 1609 ok = VRset("DT_PageName", "Caption", VRGet("Page_"Nr, "Caption")) 1566 1610 ok = VRSet("Page_"Nr,"Visible", 1) … … 1610 1654 CB_ReplaceObjects_Click: 1611 1655 ReplaceObjects = VRget("CB_replaceObjects","set") 1656 return 1657 1658 /*:VRX CB_UsingPrivateBuilds_Click 1659 */ 1660 CB_UsingPrivateBuilds_Click: 1661 UsingPrivateBuilds = VRGet("CB_UsingPrivateBuilds","set") 1612 1662 return 1613 1663 … … 2051 2101 ok = SysFileTree(BuildDir"odin32bin-"Kernel32Date"*",Builds.,"FO") 2052 2102 if Builds.0 = 1 & isStartup 2053 then Filename = Builds.1 2054 else FileName = VRFileDialog( VRWindow(), "Step 2: Search Odin Build file", "Open", BuildDir"odin32bin-"Kernel32Date"*", , , ) 2103 then Filename = Builds.1 2104 else do 2105 if \UsingPrivateBuilds then do 2106 FileName = VRFileDialog( VRWindow(), "Step 2: Search Odin Build file", "Open", BuildDir"odin32bin-"Kernel32Date"*", , , ) 2107 end 2108 else do 2109 FileName = VRFileDialog( VRWindow(), "Step 2: Search Odin Build file", "Open", BuildDir"*", , , ) 2110 end 2111 end 2055 2112 2056 2113 if Filename <> '' then do … … 2150 2207 PushbackAll: 2151 2208 Pages = 6 2152 /* Tab distance from top */ 2153 TabTop = 25 2154 TabWidth = 1180 2155 TabHeight= 360 2209 Delta = 400 /* This is the base distance between menubar an Page */ 2210 2211 /* Tab Position */ 2212 TabWidth = VRget("TAB_1","Width") 2213 TabHeight= VRget("TAB_1","Height") 2214 TabTop = Delta - TabHeight 2156 2215 2157 2216 /* Page Position */ 2158 2217 PageLeft = 120 2159 PageTop = PageLeft + TabTop + 3302218 PageTop = PageLeft + Delta 2160 2219 2161 2220 /* Page size */ 2162 2221 PageHeight = 4500 2163 PageWidth = 70002222 PageWidth = 7000 2164 2223 ok = VRset("DT_PageName", "Caption", "") 2165 2224 ok = VRSet("GB_Main","Left", 0) 2166 ok = VRSet("GB_Main","Top", TabTop+290) 2225 ok = VRSet("GB_Main","Top", Delta - 60) 2226 2167 2227 do I = 1 to Pages 2168 2228 ok = VRSet("TAB_"I,"Top", TabTop) 2169 2229 ok = VRSet("TAB_"I,"PicturePath","#2"||I) 2170 2230 ok = VRSet("TAB_"I,"Left",TabWidth*(I-1)+PageLeft) 2171 2172 ok = VRSet("TAB_"I,"Height",TabHeight) 2231 /* ok = VRSet("TAB_"I,"Width",TabWidth) 2232 ok = VRSet("TAB_"I,"Height",TabHeight) */ 2173 2233 ok = VRSet("Page_"I,"Height", PageHeight) 2174 2234 ok = VRSet("Page_"I,"Width", PageWidth) … … 2398 2458 ok = VRSet("PB_CreateReport","Enabled",\_CheckInvalidReport()) 2399 2459 return 2400 -
trunk/tools/OdinBug/readme.source
r9104 r9650 1 Sourcecode for OdinBug 0.5. 71 Sourcecode for OdinBug 0.5.8 2 2 ============================ 3 3 … … 8 8 VX-REXX projects folder. 9 9 10 2. Unzip this OdinBugSrc05 7.ZIP in this folder.10 2. Unzip this OdinBugSrc058.ZIP in this folder. 11 11 12 12 3. Open OdinBug.VRP using VRXedit. … … 42 42 3. User defined subroutines should start with an underscore. 43 43 Note: The VX-REXX IDE has a bug, which makes it crash 44 if a routine beginning with underscore is deleted. 44 if a routine beginning with underscore is deleted. So 45 you have to rename it before deleteing it. 46 45 47 Sorry, I did not know that before I introduced this 46 48 convention. … … 59 61 with different bugs/features. 60 62 61 D. A UTHOR:63 D. Author: 62 64 63 Herwig Bauernfeind, 1 1-08-200265 Herwig Bauernfeind, 10-01-2003 64 66 EMail: herwig.bauernfeind@aon.at
Note:
See TracChangeset
for help on using the changeset viewer.