Remove legacy boot monitor vars

This commit is contained in:
Arun Thomas
2011-09-16 20:10:47 +02:00
parent 46581e701a
commit cb54d96eec
8 changed files with 21 additions and 50 deletions
+3 -4
View File
@@ -950,7 +950,7 @@ tty_t *tp;
vid_port = bios_crtbase;
scr_width = bios_columns;
font_lines = bios_fontlines;
scr_lines = machine.vdu_ega ? bios_rows+1 : 25;
scr_lines = bios_rows+1;
if (color) {
vid_base = COLOR_BASE;
@@ -959,8 +959,8 @@ tty_t *tp;
vid_base = MONO_BASE;
vid_size = MONO_SIZE;
}
if (machine.vdu_ega) vid_size = EGA_SIZE;
wrap = ! machine.vdu_ega;
vid_size = EGA_SIZE;
wrap = 0;
console_memory = vm_map_phys(SELF, (void *) vid_base, vid_size);
@@ -1202,7 +1202,6 @@ message *m;
seq2[6].value= color ? 0x0E : 0x0A;
if (!machine.vdu_ega) return(ENOTTY);
result = ga_program(seq1); /* bring font memory into view */
if(sys_safecopyfrom(m->m_source, (cp_grant_id_t) m->IO_GRANT, 0,
-1
View File
@@ -838,7 +838,6 @@ PRIVATE void set_leds()
{
/* Set the LEDs on the caps, num, and scroll lock keys */
int s;
if (! machine.pc_at) return; /* PC/XT doesn't have LEDs */
kb_wait(); /* wait for buffer empty */
if ((s=sys_outb(KEYBD, LED_CODE)) != OK)