Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdint.h>
  2.  
  3. void printString(char *string, uint16_t attribute) {
  4. attribute <<= 8;
  5. while(*string != 0) {
  6. *wtvm = *string | attribute;
  7. string++;
  8. wtvm++;
  9. }
  10. }
  11.  
  12. void somewhereElse(void) {
  13. printString("Welcome", 0x07);
  14. printString("Hello", 0x1F);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement