makefile for Aceman2000's tic-tac-toe tutorial?

Discussion of hardware and software development for Super NES and Super Famicom. See the SNESdev wiki for more information.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
User avatar
jeffythedragonslayer
Posts: 344
Joined: Thu Dec 09, 2021 12:29 pm

makefile for Aceman2000's tic-tac-toe tutorial?

Post by jeffythedragonslayer »

Does anyone know if a makefile exists for Aceman2000's tic-tac-toe tutorial? (Yes, I know I got bazz's sprite tutorial working, but knowing WLA to the depth I need to for this one wasn't on the prerequisites!)

https://wiki.superfamicom.org/making-a- ... ic-tac-toe

I am not sure what the URL to Vintagedev was.
Oziphantom
Posts: 1565
Joined: Tue Feb 07, 2017 2:03 am

Re: makefile for Aceman2000's tic-tac-toe tutorial?

Post by Oziphantom »

I just built it using standard wla.bat which is

Code: Select all

@echo on
goto continue

Notes:
to compile EXAMPLE.ASM ---> EXAMPLE.SMC
from the command prompt type:  wla EXAMPLE


:continue
echo [objects] > temp.prj
echo %1.obj >> temp.prj

echo on
wla-65816 -o %1.obj %1.asm
wlalink temp.prj %1.smc
@echo off

goto end
del %1.obj
del temp.prj

:end
you call it wla.bat done to which if you just wanted a to build it it would be

Code: Select all

wla-65816 -o done.obj done.asm
wlalink temp.prj done.smc
where the prj file it just

Code: Select all

[objects]
done.obj
User avatar
jeffythedragonslayer
Posts: 344
Joined: Thu Dec 09, 2021 12:29 pm

Re: makefile for Aceman2000's tic-tac-toe tutorial?

Post by jeffythedragonslayer »

Thanks that did the trick :D
Attachments
tic-tac-toe.png
Post Reply