Adjusted text strings; enabled full testing.
|
@ -21,11 +21,10 @@ void main() {
|
||||||
SIOUXSettings.asktosaveonclose = FALSE;
|
SIOUXSettings.asktosaveonclose = FALSE;
|
||||||
SIOUXSettings.standalone = FALSE;
|
SIOUXSettings.standalone = FALSE;
|
||||||
|
|
||||||
printf( "SCSI and Iomega Zip/Jaz Toolkit V0.1\n" );
|
printf( "This Mac port (c) 2021 Marcio Teixeira http://github.com/marciot/mac-tip\n" );
|
||||||
printf( "(c) 2021 Marcio Teixeira\n\n" );
|
printf( "Based on code (c) 2006 Gibson Research Corp http://grc.com/tip/clickdeath.htm\n" );
|
||||||
printf( "TIP based on source code provided by Steve Gibson (http://grc.com)\n" );
|
|
||||||
|
|
||||||
SIOUXSetTitle("\pCommand Console");
|
SIOUXSetTitle("\pIomega Tester (Beta) V0.1");
|
||||||
|
|
||||||
print_help();
|
print_help();
|
||||||
|
|
||||||
|
@ -42,7 +41,7 @@ void main() {
|
||||||
bool process_command() {
|
bool process_command() {
|
||||||
short int arg_val = 0;
|
short int arg_val = 0;
|
||||||
char cmd[80];
|
char cmd[80];
|
||||||
printf( "\n> " );
|
printf( "\nCmd> " );
|
||||||
gets( cmd );
|
gets( cmd );
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
|
@ -62,6 +61,7 @@ bool process_command() {
|
||||||
case 't': run_tip(arg_val); break;
|
case 't': run_tip(arg_val); break;
|
||||||
case 'q': return false;
|
case 'q': return false;
|
||||||
case 'o': SetRichEditText(arg_str); break;
|
case 'o': SetRichEditText(arg_str); break;
|
||||||
|
default: printf("Unknown command, type 'h' for help\n");
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
BIN
mac-cpp-source/Iomega Tester.rsrc.bin
Normal file
BIN
mac-cpp-source/Iomega Tester.µ.bin
Normal file
|
@ -748,8 +748,6 @@ long PerformRegionTransfer(short XferCmd, void *pBuffer) {
|
||||||
BumpErrorCounts(eax); // given eax, count the errors
|
BumpErrorCounts(eax); // given eax, count the errors
|
||||||
GetSpareSectorCounts(false); // update the Cart's Condition
|
GetSpareSectorCounts(false); // update the Cart's Condition
|
||||||
UpdateRunTimeDisplay();
|
UpdateRunTimeDisplay();
|
||||||
|
|
||||||
if(UserInterrupt) break;
|
|
||||||
}
|
}
|
||||||
LocalBuffer += BYTES_PER_SECTOR;
|
LocalBuffer += BYTES_PER_SECTOR;
|
||||||
SingleTransferLBA++;
|
SingleTransferLBA++;
|
||||||
|
@ -844,7 +842,7 @@ void TestTheDisk() {
|
||||||
|
|
||||||
long eax = PerformRegionTransfer(SCSI_Cmd_ReadMany, pUserDataBuffer);
|
long eax = PerformRegionTransfer(SCSI_Cmd_ReadMany, pUserDataBuffer);
|
||||||
|
|
||||||
/*if(eax == 0) {
|
if(eax == 0) {
|
||||||
// -------------------------------
|
// -------------------------------
|
||||||
TestingPhase = WRITING_PATT;
|
TestingPhase = WRITING_PATT;
|
||||||
UpdateRunPhaseDisplay();
|
UpdateRunPhaseDisplay();
|
||||||
|
@ -864,7 +862,7 @@ void TestTheDisk() {
|
||||||
}
|
}
|
||||||
if (CartridgeStatus != DISK_TEST_UNDERWAY) {
|
if (CartridgeStatus != DISK_TEST_UNDERWAY) {
|
||||||
break;
|
break;
|
||||||
}*/
|
}
|
||||||
// bump the FirstLBASector up for the next transfer
|
// bump the FirstLBASector up for the next transfer
|
||||||
FirstLBASector += NumberOfLBAs;
|
FirstLBASector += NumberOfLBAs;
|
||||||
} while(!UserInterrupt);
|
} while(!UserInterrupt);
|
||||||
|
|
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 410 B |
Before Width: | Height: | Size: 410 B |