More actions
(Created page with "{{Infobox Switch Homebrews |title=sdl-hello |image=sdlhelloswitch.png |description=Graphical hello world program |author=vgmoose |lastupdated=2018/07/21 |type=Developments |version=1.1 |license=Mixed |download=https://dlhb.gamebrew.org/switchhomebrews/sdlhelloswitch.7z |website=https://github.com/vgmoose/sdl-hello-world |source=https://github.com/vgmoose/sdl-hello-world |donation= }} {{#seo: |title=Switch Homebrew PC Tools (Developments) - GameBrew |title_mode=append |im...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox Switch Homebrews | {{Infobox Switch Homebrews | ||
|title=sdl-hello | |title=sdl-hello | ||
|image= | |image=sdlhellonx.png | ||
|description= | |description=Draw hello world on the screen of the Nintendo Switch. | ||
|author=vgmoose | |author=vgmoose | ||
|lastupdated=2018/07/21 | |lastupdated=2018/07/21 | ||
|type= | |type=Demos | ||
|version=1.1 | |version=1.1 | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/switchhomebrews/ | |download=https://dlhb.gamebrew.org/switchhomebrews/sdlhellonx.7z | ||
|website=https://github.com/vgmoose/sdl-hello-world | |website=https://github.com/vgmoose/sdl-hello-world | ||
|source=https://github.com/vgmoose/sdl-hello-world | |source=https://github.com/vgmoose/sdl-hello-world | ||
|donation= | |donation= | ||
}} | }} | ||
{{ | {{obsolete}} | ||
This program draws "Hello world!" on the Nintendo Switch using a bitmap font. | |||
}} | |||
The main code is in [https://github.com/vgmoose/sdl-hello-world/blob/master/hello.c hello.c]. | |||
To see another simple SDL2 program with graphics and input, see [https://github.com/vgmoose/spacenx spacenx], or for a more complicated one [https://github.com/vgmoose/appstorenx appstorenx]. | |||
== | ==Installation== | ||
Put the hello.nro file in sdmc:/switch/hello.nro and then run hbmenu in order to run this app. | |||
==Changelog== | ==Changelog== | ||
''' | '''v1.1 2018/07/22''' | ||
* | *Updated to be able to compile with libtransistor or libnx. | ||
*See the [https://github.com/vgmoose/sdl-hello-world/blob/master/README.md readme] for compilation info. | |||
'''v0.1 2018/01/01''' | |||
*See the instructions in the readme for info on how to run this .nro file on your Switch. | |||
*Displays hello world on screen for 10 seconds. | |||
*EDIT Feb 3: updated nro to use new HB abi format. | |||
== External links == | == External links == | ||
* | * GitHub - https://github.com/vgmoose/sdl-hello-world | ||
Latest revision as of 12:47, 6 July 2024
sdl-hello | |
---|---|
General | |
Author | vgmoose |
Type | Demos |
Version | 1.1 |
License | Mixed |
Last Updated | 2018/07/21 |
Links | |
Download | |
Website | |
Source | |
This application has been obsoleted by one or more applications that serve the same purpose, but are more stable or maintained. |
This program draws "Hello world!" on the Nintendo Switch using a bitmap font.
The main code is in hello.c.
To see another simple SDL2 program with graphics and input, see spacenx, or for a more complicated one appstorenx.
Installation
Put the hello.nro file in sdmc:/switch/hello.nro and then run hbmenu in order to run this app.
Changelog
v1.1 2018/07/22
- Updated to be able to compile with libtransistor or libnx.
- See the readme for compilation info.
v0.1 2018/01/01
- See the instructions in the readme for info on how to run this .nro file on your Switch.
- Displays hello world on screen for 10 seconds.
- EDIT Feb 3: updated nro to use new HB abi format.