mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-29 14:51:17 +00:00
23 lines
410 B
C
23 lines
410 B
C
|
|
||
|
#pragma vx_copyright "2020"
|
||
|
#pragma vx_title_pos -100, -80
|
||
|
#pragma vx_title_size -8, 80
|
||
|
#pragma vx_title "HELLO WORLD"
|
||
|
#pragma vx_music vx_music_1
|
||
|
|
||
|
#include "vectrex.h"
|
||
|
#include "bios.h"
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
while(1)
|
||
|
{
|
||
|
wait_retrace();
|
||
|
intensity(0x7f);
|
||
|
print_str_c( 0x10, -0x50, (char*)"HELLO WORLD!" );
|
||
|
intensity(0x3f);
|
||
|
print_str_c( -0x10, -0x50, (char*)"THIS IS CMOC" );
|
||
|
}
|
||
|
return 0;
|
||
|
}
|