replace leading tabs in several more files

This commit is contained in:
nhmall
2022-05-30 12:38:22 -04:00
parent a8f0e91ddf
commit 4a8deefaa3
19 changed files with 176 additions and 176 deletions

View File

@@ -297,7 +297,7 @@ BIOSgetch(void)
if ((shift & ALT) && !ch) {
#endif
#if 0
pline("Scan code: %d 0x%03X", scan, scan);
pline("Scan code: %d 0x%03X", scan, scan);
#endif
if (inmap(scan))
ch = scanmap[scan - SCANLO];

View File

@@ -338,8 +338,8 @@ void txt_xputc(char ch, int attr)
switch (ch) {
case '\n':
#if 0
col = 0;
++row;
col = 0;
++row;
#endif
break;
default:

View File

@@ -105,22 +105,22 @@ static int viewport_cols = 40;
static int viewport_rows = ROWNO;
static const struct Pixel defpalette[] = { /* Colors for text and the position bar */
{ 0x00, 0x00, 0x00, 0xff }, /* CLR_BLACK */
{ 0xaa, 0x00, 0x00, 0xff }, /* CLR_RED */
{ 0x00, 0xaa, 0x00, 0xff }, /* CLR_GREEN */
{ 0x99, 0x40, 0x00, 0xff }, /* CLR_BROWN */
{ 0x00, 0x00, 0xaa, 0xff }, /* CLR_BLUE */
{ 0xaa, 0x00, 0xaa, 0xff }, /* CLR_MAGENTA */
{ 0x00, 0xaa, 0xaa, 0xff }, /* CLR_CYAN */
{ 0xaa, 0xaa, 0xaa, 0xff }, /* CLR_GRAY */
{ 0x55, 0x55, 0x55, 0xff }, /* NO_COLOR */
{ 0xff, 0x90, 0x00, 0xff }, /* CLR_ORANGE */
{ 0x00, 0xff, 0x00, 0xff }, /* CLR_BRIGHT_GREEN */
{ 0xff, 0xff, 0x00, 0xff }, /* CLR_YELLOW */
{ 0x00, 0x00, 0xff, 0xff }, /* CLR_BRIGHT_BLUE */
{ 0xff, 0x00, 0xff, 0xff }, /* CLR_BRIGHT_MAGENTA */
{ 0x00, 0xff, 0xff, 0xff }, /* CLR_BRIGHT_CYAN */
{ 0xff, 0xff, 0xff, 0xff } /* CLR_WHITE */
{ 0x00, 0x00, 0x00, 0xff }, /* CLR_BLACK */
{ 0xaa, 0x00, 0x00, 0xff }, /* CLR_RED */
{ 0x00, 0xaa, 0x00, 0xff }, /* CLR_GREEN */
{ 0x99, 0x40, 0x00, 0xff }, /* CLR_BROWN */
{ 0x00, 0x00, 0xaa, 0xff }, /* CLR_BLUE */
{ 0xaa, 0x00, 0xaa, 0xff }, /* CLR_MAGENTA */
{ 0x00, 0xaa, 0xaa, 0xff }, /* CLR_CYAN */
{ 0xaa, 0xaa, 0xaa, 0xff }, /* CLR_GRAY */
{ 0x55, 0x55, 0x55, 0xff }, /* NO_COLOR */
{ 0xff, 0x90, 0x00, 0xff }, /* CLR_ORANGE */
{ 0x00, 0xff, 0x00, 0xff }, /* CLR_BRIGHT_GREEN */
{ 0xff, 0xff, 0x00, 0xff }, /* CLR_YELLOW */
{ 0x00, 0x00, 0xff, 0xff }, /* CLR_BRIGHT_BLUE */
{ 0xff, 0x00, 0xff, 0xff }, /* CLR_BRIGHT_MAGENTA */
{ 0x00, 0xff, 0xff, 0xff }, /* CLR_BRIGHT_CYAN */
{ 0xff, 0xff, 0xff, 0xff } /* CLR_WHITE */
};
/* Information about the selected VESA mode */

View File

@@ -181,23 +181,23 @@ static int viewport_size = 40;
/* static char bittable[8]= {0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80}; */
#if 0
static char defpalette[] = { /* Default VGA palette */
0x00, 0x00, 0x00,
0x00, 0x00, 0xaa,
0x00, 0xaa, 0x00,
0x00, 0xaa, 0xaa,
0xaa, 0x00, 0x00,
0xaa, 0x00, 0xaa,
0xaa, 0xaa, 0x00,
0xaa, 0xaa, 0xaa,
0x55, 0x55, 0x55,
0xcc, 0xcc, 0xcc,
0x00, 0x00, 0xff,
0x00, 0xff, 0x00,
0xff, 0x00, 0x00,
0xff, 0xff, 0x00,
0xff, 0x00, 0xff,
0xff, 0xff, 0xff
};
0x00, 0x00, 0x00,
0x00, 0x00, 0xaa,
0x00, 0xaa, 0x00,
0x00, 0xaa, 0xaa,
0xaa, 0x00, 0x00,
0xaa, 0x00, 0xaa,
0xaa, 0xaa, 0x00,
0xaa, 0xaa, 0xaa,
0x55, 0x55, 0x55,
0xcc, 0xcc, 0xcc,
0x00, 0x00, 0xff,
0x00, 0xff, 0x00,
0xff, 0x00, 0x00,
0xff, 0xff, 0x00,
0xff, 0x00, 0xff,
0xff, 0xff, 0xff
};
#endif
#ifndef ALTERNATE_VIDEO_METHOD
@@ -843,13 +843,13 @@ vga_Finish(void)
static void
vga_NoBorder(int bc)
{
union REGS regs;
union REGS regs;
regs.h.ah = (char)0x10;
regs.h.al = (char)0x01;
regs.h.bh = (char)bc;
regs.h.bl = 0;
(void) int86(VIDEO_BIOS, &regs, &regs);
regs.h.ah = (char)0x10;
regs.h.al = (char)0x01;
regs.h.bh = (char)bc;
regs.h.bl = 0;
(void) int86(VIDEO_BIOS, &regs, &regs);
}
#endif