@REM --------------------------------------------------------------------
@REM THIS SECTION MODIFIES nes.lib AND REPLACES crt0.o
@REM I SUGGEST IT BE LEFT ALONE, UNLESS YOU REALLY KNOW WHAT YOU'RE DOING
@REM --------------------------------------------------------------------
@REM Remove crt0.o from nes.lib

@set CC65_HOME=c:\cc65
@path=%path%;%CC65_HOME%\bin

ar65 d nes.lib crt0.o
ca65 crt0_chr-ram.s