Skip to content

Commit

Permalink
Improve access to how to use page
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Jan 9, 2025
1 parent 5a31ac5 commit a18f7d4
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
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.

0 comments on commit a18f7d4

Please sign in to comment.