mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-12-01 13:50:30 +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;
|
||
|
}
|