1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-27 01:51:35 +00:00
8bitworkshop/presets/nes/skeleton.cc65

17 lines
297 B
Plaintext
Raw Normal View History

2019-02-14 03:21:24 +00:00
#include "neslib.h"
// link the pattern table into CHR ROM
//#link "chr_generic.s"
2019-02-14 03:21:24 +00:00
void main(void)
{
pal_col(1,0x04);
pal_col(2,0x20);
pal_col(3,0x30);
vram_adr(NTADR_A(2,2));
vram_write("HELLO, WORLD!", 12);
ppu_on_all();//enable rendering
while(1);//do nothing, infinite loop
}