]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/firstrun.c
Open up TSEG so we can blast more packets out. Be a little less verbose.
[netwatch.git] / aseg / firstrun.c
index d45bc813336b88bdf28a153c90e1a6b3569fee65..d3cd16f4a69957b88e6ff8831e82259c95689a95 100644 (file)
@@ -5,7 +5,7 @@
 #include <output.h>
 #include "vga-overlay.h"
 #include <smram.h>
 #include <output.h>
 #include "vga-overlay.h"
 #include <smram.h>
-#include "3c905.h"
+#include "../net/net.h"
 
 extern int _bss, _bssend;
 
 
 extern int _bss, _bssend;
 
@@ -23,6 +23,8 @@ void __firstrun_start() {
        for (bp = (void *)&_bss; (void *)bp < (void *)&_bssend; bp++)
                *bp = 0;
        
        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. */
        outputf("NetWatch running");
 
        /* Try really hard to shut up USB_LEGKEY. */
@@ -47,6 +49,8 @@ void __firstrun_start() {
 
        smi_enable();
        
 
        smi_enable();
        
+       vga_flush_imm(1);
+       
        smram_restore_state(smram);
 }
 
        smram_restore_state(smram);
 }
 
This page took 0.020158 seconds and 4 git commands to generate.