X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/3b3161a197d32df3f889809e88bfe3b407b80148..8e6328ba94e7dadaef31a6186ba6d4437e1f06b3:/aseg/firstrun.c diff --git a/aseg/firstrun.c b/aseg/firstrun.c index d45bc81..d3cd16f 100644 --- a/aseg/firstrun.c +++ b/aseg/firstrun.c @@ -5,7 +5,7 @@ #include #include "vga-overlay.h" #include -#include "3c905.h" +#include "../net/net.h" extern int _bss, _bssend; @@ -23,6 +23,8 @@ void __firstrun_start() { for (bp = (void *)&_bss; (void *)bp < (void *)&_bssend; bp++) *bp = 0; + vga_flush_imm(0); + outputf("NetWatch running"); /* Try really hard to shut up USB_LEGKEY. */ @@ -47,6 +49,8 @@ void __firstrun_start() { smi_enable(); + vga_flush_imm(1); + smram_restore_state(smram); }