1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00

give cl65 alternative

This commit is contained in:
bbbradsmith 2024-04-16 16:56:13 -04:00
parent 4bc726ebe2
commit 8804dc7a58

View File

@ -141,6 +141,10 @@ int main()
} }
// Build and run: // Build and run:
// cl65 -t sim6502 -o example.prg example.c
// sim65 example.prg
// Build and run, separate steps:
// cc65 -t sim6502 -o example.s example.c // cc65 -t sim6502 -o example.s example.c
// ca65 -t sim6502 -o example.o example.s // ca65 -t sim6502 -o example.o example.s
// ld65 -t sim6502 -o example.prg example.o sim6502.lib // ld65 -t sim6502 -o example.prg example.o sim6502.lib
@ -173,6 +177,10 @@ _main:
rts rts
; Build and run: ; Build and run:
; cl65 -t sim6502 -o example.prg example.s
; sim65 example.prg
; Build and run, separate steps:
; ca65 -t sim6502 -o example.o example.s ; ca65 -t sim6502 -o example.o example.s
; ld65 -t sim6502 -o example.prg example.o sim6502.lib ; ld65 -t sim6502 -o example.prg example.o sim6502.lib
; sim65 example.prg ; sim65 example.prg