#include<kihon.h>
#include<kanade.h>
void NMIProc(void)
{
}
// メイン関数
void NesMain()
{
InitPPU();
SetScroll(0, 0);
SetPPU(0x08,0x1e);
SetDpcm(0x4f,0x3f);
PlayDpcm(0,0x2e8);
SetChannel(0x10);
while(1);
}
.segment "CHARS"
.incbin "bg.chr"
.incbin "sprite.chr"
↓
.segment "PCMDATA"
.incbin "wave.bin"
.segment "CHARS"
.incbin "bg.chr"
.incbin "sprite.chr"
ROMST: start = $8000, size = $7ffa, type = ro, file = %O, fill = yes, define = yes;
ROMINFO: start = $fffa, size = $0006, type = ro, file = %O, fill = yes, define = yes;
↓
ROMST: start = $8000, size = $4000, type = ro, file = %O, fill = yes, define = yes;
ROMST2: start = $c000, size = $3ffa, type = ro, file = %O, fill = yes, define = yes;
ROMINFO: start = $fffa, size = $0006, type = ro, file = %O, fill = yes, define = yes;
CODE: load = ROMST, type = ro, define = yes;
CHARS: load = ROMCHR, type = ro;
↓
CODE: load = ROMST, type = ro, define = yes;
PCMDATA: load = ROMST2, type = ro, define = yes;
CHARS: load = ROMCHR, type = ro;
最終更新:2014年07月27日 22:36