mirror of
https://github.com/michaelcmartin/Ophis.git
synced 2024-05-29 00:41:29 +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.
15 lines
176 B
Plaintext
15 lines
176 B
Plaintext
.include "../c64_0.oph"
|
|
.include "../c64kernal.oph"
|
|
|
|
.outfile "hello.prg"
|
|
|
|
ldy #$00
|
|
* lda text, y
|
|
beq +
|
|
jsr chrout
|
|
iny
|
|
bne -
|
|
* rts
|
|
|
|
text: .byte "HELLO, C64 WORLD!", 13, 0
|