My names is Bernard. I'm from Brazil.
Lets get started
![Smile :)](./images/smilies/icon_e_smile.gif)
1] Download the PSY-Q SDK 4.6 | Download |
2] Put it in C:\ PSX folder like this (or, just use psyq as the default if you do not want to rename):
![Image](https://lh5.googleusercontent.com/-amuK3bh3VPE/T6sG7eGAZBI/AAAAAAAAAAg/QZZQ1pnRTW0/s500/foto1.jpg)
3] Edit the PSPATHS batch file (.BAT) like this (skip this is you left it as the default name, psyq):
![Image](https://lh5.googleusercontent.com/-e6wdcvBbxVg/T6sG7U6AAhI/AAAAAAAAAAk/ByqNJ4Nc54c/s668/foto2.jpg)
4] This is what it should look like:
![Image](https://lh3.googleusercontent.com/-zhCRakwsM90/T6sG-BZPG2I/AAAAAAAAABE/Mb9oOtRHO74/s668/foto5.jpg)
5] Now, run the batch file (PSPATHS.BAT).
![Image](https://lh3.googleusercontent.com/-UJN0MOpHztw/T6uv8mNJq_I/AAAAAAAAACk/XCcIpdMoqsE/s677/dos1.jpg)
The environment is ready. Now we can compile a sample program.
We will compile 'Hello World'.
Download hello.c : http://www.filefactory.com/file/yj2uq8k6cf9/n/hello.rar
The hello.c program was created and placed in the folder called hello along with hello.c and makefile.mak
To compile hello.c, run psymake while under the folder hello (working directory)
![Image](https://lh6.googleusercontent.com/-5NsquiWsOQQ/T6sG-V2tKmI/AAAAAAAAABQ/Gw6rBmcuCHM/s576/foto6.jpg)
The main.exe file will be created.
You can run that in a PS1 emulator to test it (seen below)
Success!
Comment of the next tutorial will be entering the compilation tim tmd program.