X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/3309f0f4c6885cc382fb6fa77493ae68bd4eb5b0..c25f3f39d2a544a91a8a96ea90bda1dc1d77b76a:/aseg/firstrun.c?ds=sidebyside 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); }