Comments
Loading Dream Comments...
You must be logged in to write a comment - Log In
ArtistA large purple furry plushie pussycat, wearing glasses and looking at a globe.
£::VGA:: // Point our GHOST to the screen, to put its descriptor in our LDT
(string="Hello World :)", count=#string); // Define locals
AH <:: $5F ; // Bright white on purple
CLD; // Autoincrement forward
ECX <:: count; // Length of string
ESI <:: string;
EDI <:: 0; // Screen position is top line
ES <:: @VGA; // Destination segment is $B800
{* // Begin loop
LODSB; // Get a character from string
STOSW; // Put it on the screen with colour attribute
*}; // Loop until ECX is zero
INT $20; // Terminate :)