How about a blink'in beat?
Well it works. I'd suggest taking the msg variable out of the loop, because it only needs to be assigned once.
Though honestly, I'd suggest for 32-bit color modes to use 2 separate screens and then swap displays to simulate the blink. Then, you could have normal text at one part of the screen, "blink" text at another part, and all you'd need to do is toggle between which screen to display every half second or so.