mirror of https://github.com/wwarthen/RomWBW.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
436 B
16 lines
436 B
main()
|
|
{
|
|
char buffer[100];
|
|
|
|
/* set to 25 row x 80 column monochrome mode 6 (HIRES) */
|
|
mode('H');
|
|
printf("Please enter your name: ");
|
|
gets(buffer);
|
|
/* set to 25 row x 40 column 4-color mode 4 (MEDRES) */
|
|
mode('M');
|
|
printf("Hello %s!\nWelcome to the growing family of\nAZTEC C users...\n",
|
|
buffer);
|
|
getchar();
|
|
/* set to 25 row x 80 column color text mode 3 (LOWRES) */
|
|
mode('L');
|
|
}
|
|
|