mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-23 06:32:11 +00:00
17 lines
248 B
Plaintext
17 lines
248 B
Plaintext
|
|
#include <conio.h>
|
|
#include <atari5200.h>
|
|
|
|
// Atari 5200 20x24 screen example
|
|
|
|
int main() {
|
|
clrscr();
|
|
// position the cursor, output text
|
|
gotoxy(0,0);
|
|
cputs("Hello Atari 5200");
|
|
// draw a line
|
|
gotoxy(0,23);
|
|
chline(20);
|
|
return 0;
|
|
}
|