Skip to content

How to build

dgrfactory edited this page Sep 26, 2021 · 11 revisions

spcplay.exe (SNES SPC700 Player)

Build commands:

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

Remarks:

  • Required build tool:
    • dcc32 (Delphi6 UP2 RTL3)
  • I don't know how to do anything else build tools, please do it at your own risk.

snesapu.dll (SNES SPC700 Emulator)

Build commands:

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

Remarks:

  • Required build tool:
    • VC++ (VC++6 SP6)
    • nasm (Netwide Assembler)
  • I don't know how to do anything else build tools, please do it at your own risk.

spccmd.exe (optional tool)

Build commands:

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

Remarks:

  • Required build tool:
    • dcc32 (Delphi6 UP2 RTL3)
  • I don't know how to do anything else build tools, please do it at your own risk.
Clone this wiki locally