X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fscreen.c;h=c952b42e8da6089e7ca4625e23a1d90a8de5f91a;hb=271ad3fd89672d441db3c5ffa673ee649e4ce532;hp=b43dbf4d88c223d71cbbfa1269ebd6cf7558f86f;hpb=122a7d532b4bb6914ff291d53f6111f1e52613b7;p=palacios.git diff --git a/palacios/src/geekos/screen.c b/palacios/src/geekos/screen.c index b43dbf4..c952b42 100644 --- a/palacios/src/geekos/screen.c +++ b/palacios/src/geekos/screen.c @@ -1,7 +1,7 @@ /* * GeekOS text screen output * Copyright (c) 2001,2003,2004 David H. Hovemeyer - * $Revision: 1.2 $ + * $Revision: 1.3 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -398,6 +398,34 @@ void Init_Screen(void) s_cons.currentAttr = DEFAULT_ATTRIBUTE; Clear_Screen(); +#if 0 + { + unsigned int z = (unsigned int)&Print_Emit; + int i; + Put_Char(' '); + Put_Char('0'); + Put_Char('x'); + + for (i = 0; i < 8; i++) { + int j = z & 0xf0000000; + + j = j >> 28; + j &= 0x0000000f; + + if (j > 9) { + j += 55; + } else { + j += 48; + } + + Put_Char(j); + + z = z << 4; + } + } + +#endif + End_Int_Atomic(iflag); Print("Screen Inited\n"); }