mirror of
https://github.com/michaelcmartin/Ophis.git
synced 2024-12-22 03:29:55 +00:00
cf0df92fb1
An .outfile directive lets sources suggest default filenames. Also, .include, .require, .incbin, and .charmapbin are relative to their _source file_ as opposed the _directory you called Ophis from_, like it really should have always been.
26 lines
304 B
Plaintext
26 lines
304 B
Plaintext
.outfile "hello.unf"
|
|
.byte "UNIF"
|
|
.dword 7
|
|
.advance $20
|
|
.byte "MAPR"
|
|
.dword ++-+
|
|
*
|
|
.byte "NES-NROM-256",0
|
|
*
|
|
.byte "NAME"
|
|
.dword ++-+
|
|
*
|
|
.byte "Ophis Hello World Demo",0
|
|
*
|
|
.byte "PRG0"
|
|
.dword $4000
|
|
.include "hello_prg.oph"
|
|
|
|
.byte "MIRR"
|
|
.dword 1
|
|
.byte 0
|
|
|
|
.byte "CHR0"
|
|
.dword $2000
|
|
.include "hello_chr.oph"
|