just mmap the image to the VGA buffer, that's the right way to do it isn't it?
-
-
Fuck if I know
1 reply 0 retweets 2 likes -
i have realised that my tweet is too similar to something a C programmer might unironically do to be correctly interpreted as sarcasm
3 replies 2 retweets 14 likes -
upon further research i have discovered that it _is_ something C programmers unironically do, goodnight and goodbye
1 reply 1 retweet 13 likes -
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
-
-
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 - 1 more reply
New conversation -
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.