- remove some typos in the comments

git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@195 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
stefan 2010-10-25 16:56:27 +00:00
parent d66ac69333
commit 01ff479e11

View file

@ -59,8 +59,7 @@ static void scroll(void)
/*
* Move the current text chunk that makes up the screen
*
* back in the buffer by a line
* back in the buffer by one line
*/
temp = csr_y - 25 + 1;
memcpy(textmemptr, textmemptr + temp * 80,
@ -117,7 +116,7 @@ void vga_clear(void)
blank = 0x20 | (attrib << 8);
/*
* Sets the entire screen to spaces in our current
* Fills the entire screen with spaces in our current
* color
**/
for (i = 0; i < 25; i++)
@ -161,9 +160,9 @@ int vga_putchar(unsigned char c)
}
/*
* We handle our newlines the way DOS and the BIOS do: we
* treat it as if a 'CR' was also there, so we bring the
* cursor to the margin and we increment the 'y' value
* We handle our newlines the way DOS and BIOS do: we
* treat it as if a 'CR' was ther also, so we bring the
* cursor to the margin and increment the 'y' value
*/
else if (c == '\n') {
csr_x = 0;
@ -171,7 +170,7 @@ int vga_putchar(unsigned char c)
}
/*
* Any character greater than and including a space, is a
* Any character greater than and including the space, is a
* printable character. The equation for finding the index
* in a linear chunk of memory can be represented by:
* Index = [(y * width) + x]
@ -198,7 +197,7 @@ int vga_putchar(unsigned char c)
return (int) c;
}
/* Uses the above routine to output a string... */
/* Uses the routine above to output a string... */
int vga_puts(const char *text)
{
size_t i;
@ -209,7 +208,7 @@ int vga_puts(const char *text)
return i-1;
}
/* Sets the forecolor and backcolor that we will use */
/* Sets the forecolor and backcolor we will use */
//void settextcolor(unsigned char forecolor, unsigned char backcolor)
//{