upon further research i have discovered that it _is_ something C programmers unironically do, goodnight and goodbye
-
-
absolute madlad https://stackoverflow.com/questions/13659969/how-to-write-into-the-vga-memory-not-video-buffer-memory-to-display-a-logo-on#18142698 …
1 reply 0 retweets 9 likes -
Replying to @nerosnm @soren_mortensen
hum. do the displayed pixels actually start at 0 of that? if so that's actually really handy...
1 reply 0 retweets 4 likes -
-
Replying to @nerosnm @soren_mortensen
let screen = std::mem::transmute("/sys/devices/pci0000:ff/0000:ff:0f.6/resource");
1 reply 0 retweets 5 likes -
-
You're supposed to write nonsense to the pcie fd not to the rust compiler
@iximeow1 reply 1 retweet 3 likes -
You could mmap(“/dev/mem”) and write to 0xb8000
1 reply 0 retweets 4 likes -
Replying to @pcwalton @soren_mortensen
that doesn't work after switching out of real mode does it?
2 replies 0 retweets 1 like -
Replying to @iximeow @soren_mortensen
I think it works either way, /dev/mem is physical
1 reply 0 retweets 2 likes
The ancient vgalib library used to do this
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.