]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg/counter.c
Merge ELF loader.
[netwatch.git] / aseg / counter.c
index 61f9b6fac9e18ffb1a3ac87bd2d54b87925d83b6..8f807aae231f371ab7ed540f2679773d7dc9b4e6 100644 (file)
@@ -25,7 +25,7 @@ unsigned char vgaread(unsigned char idx)
 
 void strblit(char *src)
 {
-       char *destp = (char*)(0xB8000 | (vgaread(0xC) << 5) | (vgaread(0xD) << 1));
+       char *destp = (char*)(0xB8000UL | (((unsigned int)vgaread(0xC)) << 9) | (((unsigned int)vgaread(0xD)) << 1));
        while (*src)
        {
                *(destp++) = *(src++);
This page took 0.025252 seconds and 4 git commands to generate.