mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:43:15 -06:00
17 lines
436 B
C
17 lines
436 B
C
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');
|
|
}
|