Chameleon

Chameleon Commit Details

Date:2010-08-17 13:15:56 (13 years 7 months ago)
Author:Tamás Kosárszky
Commit:375
Parents: 374
Message:Re-enabled displaying activity indicator in text mode.
Changes:
M/trunk/i386/boot2/graphics.c

File differences

trunk/i386/boot2/graphics.c
11931193
11941194
11951195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
12111214
12121215
12131216
return;
}
if (gVerboseMode) {
currentTickTime = time18(); // late binding
if (currentTickTime < lastTickTime + MIN_TICKS) {
return;
} else {
lastTickTime = currentTickTime;
}
if (getVideoMode() == VGA_TEXT_MODE) {
if (currentIndicator >= sizeof(indicator)) {
currentIndicator = 0;
}
printf("%c\b", indicator[currentIndicator++]);
}
}
currentTickTime = time18(); // late binding
if (currentTickTime < lastTickTime + MIN_TICKS)
{
return;
}
else
{
lastTickTime = currentTickTime;
}
if (getVideoMode() == VGA_TEXT_MODE)
{
if (currentIndicator >= sizeof(indicator))
{
currentIndicator = 0;
}
printf("%c\b", indicator[currentIndicator++]);
}
}
void

Archive Download the corresponding diff file

Revision: 375