Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve access to how to use page #81

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions how_to_use.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ nav_order: 3
# How to use
{: .fs-8 .fw-700 .text-center }

This page will describe how to use the PSPDEV toolchain to build a basic program for the Playstation Portable(PSP), including screenshots. The screenshots will mainly be for Windows users, but the steps will not be much different for other operating systems, so you should be able to follow along.
This page will describe how to use the PSPDEV toolchain to build a basic program for the Playstation Portable (PSP), including screenshots. The screenshots will mainly be for Windows users, but the steps will not be much different for other operating systems, so you should be able to follow along.

Before going through this guide, make sure to have followed the [installation instructions](installation.html) first.

Expand All @@ -21,7 +21,7 @@ While using Visual Studio Code, you may be asked to install useful plugins, whic
# Creating a project
{: .fs-6 .fw-700 }

When you open Visual Studio Code, you'll be greeted by the welcome screen. Simply click the `Open Folder...` link on it or select this option from the `File` menu to get started. Then create a new directory where you want your project to be, then click on it and click . See the images below:
When you open Visual Studio Code, you'll be greeted by the welcome screen. Simply click the `Open Folder...` link on it or select this option from the `File` menu to get started:

![](images/vscode-welcome.png)

Expand Down Expand Up @@ -58,12 +58,12 @@ Add the following lines to `CMakeLists.txt`:
{% include samples/hello/CMakeLists.txt %}
```

The `CMakeLists.txt` file is used for CMake, which allows you to build the code. It contains which files add to the program in the `add_executable` function and which libraries to link to using the `target_link_libraries` function. In this case we just link to the libraries required to write text to the screen. The `create_pbp_file` function is used to create an `EBOOT.PBP` file, so we can run on the program on the PSP.
The `CMakeLists.txt` file is used for CMake, which allows you to build the code. It contains which files to add to the program in the `add_executable` function and which libraries to link to using the `target_link_libraries` function. In this case we just link to the libraries required to write text to the screen. The `create_pbp_file` function is used to create an `EBOOT.PBP` file, so we can run on the program on the PSP.

# Building the code
{: .fs-6 .fw-700 }

For building a terminal is used with a couple of short commands. To open a terminal in Visual Studio Code, select `Terminal` in the top bar and select `New Terminal`:
For building, a terminal is used with a couple of short commands. To open a terminal in Visual Studio Code, select `Terminal` in the top bar and select `New Terminal`:

![](images/vscode-open-terminal.png)

Expand Down
7 changes: 5 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ An open source toolchain for PlayStation Portable (PSP) development. It allows y
Want to install the PSPDEV toolchain? [Go here](installation.html).
{: .fs-5 }

Want to get started, but don't what to build? [Go here](basic_programs.html).
Don't know how to get started? [Go here](how_to_use.html).
{: .fs-5 }

Your code is not working? [Go here](debugging.html).
Need some examples for what you can do with the PSPDEV toolchain? [Go here](basic_programs.html).
{: .fs-5 }

Is your code is not working? [Go here](debugging.html).
{: .fs-5 }

Want some simple tips and trick to improve your experience? [Go here](tips_tricks.html).
Expand Down
2 changes: 1 addition & 1 deletion installation/fedora.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ Installing the PSPDEV toolchain itself can be done with the following steps:
psp-config --pspdev-path
```

That's it, now the PSPDEV toolchain can be used to build PSP software. Check out the [Basic Programs](../basic_programs.html) page to for examples on what you can do with it.
That's it, now the PSPDEV toolchain can be used to build PSP software. Check out the [How to Use](../how_to_use.html) page for a guide on how to do so.
2 changes: 1 addition & 1 deletion installation/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ Installing the PSPDEV toolchain itself can be done with the following steps:
psp-config --pspdev-path
```

That's it, now the PSPDEV toolchain can be used to build PSP software. Check out the [Basic Programs](../basic_programs.html) page to for examples on what you can do with it.
That's it, now the PSPDEV toolchain can be used to build PSP software. Check out the [How to Use](../how_to_use.html) page for a guide on how to do so.
2 changes: 1 addition & 1 deletion installation/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ Installing the PSPDEV toolchain itself can be done with the following steps:
psp-config --pspdev-path
```

That's it, now the PSPDEV toolchain can be used to build PSP software. Check out the [Basic Programs](../basic_programs.html) page to for examples on what you can do with it.
That's it, now the PSPDEV toolchain can be used to build PSP software. Check out the [How to Use](../how_to_use.html) page for a guide on how to do so.
2 changes: 1 addition & 1 deletion installation/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ Installing the PSPDEV toolchain itself can be done with the following steps:
```
If everything is set up correctly, the path of the PSPDEV toolchain installation will be shown.

That's it, now the PSPDEV toolchain can be used to build PSP software. Check out the [Basic Programs](../basic_programs.html) page to for examples on what you can do with it.
That's it, now the PSPDEV toolchain can be used to build PSP software. Check out the [How to Use](../how_to_use.html) page for a guide on how to do so.
Loading