Skip to content

How to build

dgrfactory edited this page Oct 31, 2023 · 11 revisions

SPCPLAY.EXE

Required software for build:

  • Borland Delphi 6 UP2 RTL3

Build commands:

rc.exe /l 0x411 /fo spcplay.res /d "NDEBUG" spcplay.rc
dcc32.exe spcplay.dpr

SNESAPU.DLL

Required software for build:

Build commands:

mkdir .\Release
nasm.exe -D WIN32 -D STDCALL -O2 -w-macro-params -f win32 -o .\Release\SPC700.obj SPC700.asm
nasm.exe -D WIN32 -D STDCALL -O2 -w-macro-params -f win32 -o .\Release\DSP.obj DSP.asm
nasm.exe -D WIN32 -D STDCALL -O2 -w-macro-params -f win32 -o .\Release\APU.obj APU.asm
rc.exe /l 0x411 /fo .\Release\version.res /d "NDEBUG" version.rc
cl.exe @option\snesapu-cl.txt
link.exe @option\snesapu-link.txt

For 3rd-party players:

copy /y thirdparty\* .
  : (nasm, rc, cl)
link.exe @option\snesapu-3rd-link.txt

SPCCMD.EXE

Required software for build:

  • Borland Delphi 6 UP2 RTL3

Build commands:

rc.exe /l 0x411 /fo spccmd.res /d "NDEBUG" spccmd.rc
dcc32.exe spccmd.dpr
Clone this wiki locally