Skip to contentSkip to conversation

VNC server

Qemu-devel Brad Campbell 1 participant 1 message Apr 19, 2004

lore
Share & tools
lore
#0 lore raw

G'day all,

Just an idea I thought of while trying to install win2k on one machine remotely over a wireless link. Instead of outputting to SDL, how difficult would it be to output to VNC as an option.

On another note,
I have been playing with win2k installs on a couple of machines, and I can get it to install completely if I set nics=0 in pc.c, disable the SB16 and apply these two hunks to last nights cvs

if (!(s->ar_index & 0x20)) { /* output is disabled */
printf("VGA: vga_update_display not updating due to display

disabled\n");
        return;
    }

Then in vga_draw_text (sorry, no line numbers since my vga.c doesn't match yours in that respect), around 90 lines into it just before the cy loop starts, try the following:

    if (height * width >= CH_ATTR_SIZE)
    {
        printf("TMN: Saving VGA from crashing in vga_draw_text()\n");
        return;
    }

-nics=0 returns something along the lines of "Invalid number of nics" so I have to patch hw/pc.c instead

Having said that it boots to a black screen that's dead and in safe mode it boots to a missing dll.

It is getting there however. (Testing continues)

Regards,
Brad