less_retarded_wiki/open_console.md

53 lines
4.7 KiB
Markdown
Raw Normal View History

2021-11-12 03:01:19 +01:00
# Open Console
2022-04-11 14:40:07 +02:00
{ Open consoles are how I got into [suckless](suckless.md) programming, they taught me about the low-level, optimizations and how to actually program efficiently on very limited hardware. I recommend you grab one of these. ~drummyfish }
2021-11-12 03:12:33 +01:00
2022-08-09 21:42:52 +02:00
Open consoles are tiny [GameBoy](gameboy.md)-like [gaming](game.md) consoles powered by [free software](free_software.md) and [hardware](free_hardware.md), which have relatively recently (some time after 2015) seen a small boom. Examples include [Arduboy](arduboy.md), [Pokitto](pokitto.md) or [Gamebuino](gamebuino.md). These are **NOT** to be confused with the [Raspberry Pi](rpi.md) handhelds that run GameBoy emulators.
2021-11-12 03:01:19 +01:00
In summary, open consoles are:
2022-04-11 18:45:44 +02:00
- **GameBoy-like gaming consoles** (but also allow and encourage non-gaming uses).
- Powered by **[free hardware](free_hardware.md) and [free software](free_software.md)** (usually [Arduino](arduino.md) plus a custom library, although mostly advertised as [open source](open_source.md) and not so strict about freedom). Schematics are a lot of times available.
2021-11-12 03:01:19 +01:00
- **Retro**.
- **Indie** (sometimes developed by a single guy), often [crowd-funded](crowd_funding.md).
- **Educational**.
- **[DIY](dyi.md)**, often leaving assembly to the customer.
2022-04-11 18:45:44 +02:00
- **Very cheap** (compared to proprietary mainstream consoles).
- **[Hacking](hacking.md) friendly**.
2021-11-12 03:01:19 +01:00
- Typically **[embedded](embedded.md) [ARM](arm.md)**.
- **[Bare metal](bare_metal.md)** (no operating system).
2022-04-11 18:45:44 +02:00
- Pretty **low spec** hardware ([RAM](ram.md) amount in kilobytes, CPU frequency in MHz).
2021-11-12 03:01:19 +01:00
- Relying on **user created games** which are many times also free-licensed.
Recommended consoles for starters are [Arduboy](arduboy.md) and [Pokitto](pokitto.md) which are not only very well designed, but most importantly have actual friendly active communities.
These nice little toys are great because they are anti-[modern](modern.md), [simple](minimalism.md), out of the toxic mainstream, like the oldschool bullshit-free computers. This supports (and by the low specs kind of "forces") [suckless](suckless.md) programming and brings the programmer the joy of programming (no headaches of resizable windows, multithreading etc., just plain programming of simple things with direct access to hardware). They offer an alternative [ISA](isa.md), a non-x86 platform without botnet and [bloat](bloat.md) usable for any purpose, not just games. Besides that, this hobby teaches low level, efficiency-focused programming skills.
## Programming
2022-04-11 18:45:44 +02:00
Open consoles can be programmed without proprietary software, GNU/[Linux](linux.md) works just fine. Most of the consoles are [Arduino](arduino.md)-based so the Arduino IDE is the official development tool with [C++](cpp.md) as a language ([C](c.md) being thankfully an option as well). The IDE is "open-source" but also [bloat](bloat.md); thankfully [CLI](cli.md) development workflow can be set up without greater issues (Arduino comes with CLI tools and for other platforms [gcc](gcc.md) cross-compiler can be used) so comfy programming with [vim](vim.md) is nicely possible.
2021-11-12 03:01:19 +01:00
If normies can do it, you can do it too.
Some consoles (e.g. Arduboy, Pokitto and Gamebuino META) have their own [emulators](emulator.md) which make the development much easier... or rather bearable. Without an emulator you're forced to constantly reupload the program to the real hardware which is a pain, so you want to either use a nice [LRS](lrs.md) library such as [SAF](saf.md) or write your game to be platform-independent and just make it run on your development PC as well as on the console (just abstract the I/O and use SDL for the PC and the console's library for the console -- see how [Anarch](anarch.md) does it).
## Open Console List
2021-11-14 22:43:35 +01:00
Some notable open consoles are listed here. Symbol meaning:
2022-03-27 16:33:16 +02:00
- `A` = Arduino
- `C` = great active community
- `*` = recommended
- `+` = many games/programs
- `-` = discontinued
2021-11-14 22:43:35 +01:00
| name | CPU |RAM (K)| ROM (K)| display | notes |
2022-03-27 00:35:50 +01:00
| ----------------------- | --------- | ----- | ------ | ------------ | ------------------- |
2021-11-14 22:43:35 +01:00
|[Arduboy](arduboy.md) |8b 16 MHz | 2.5 | 32 | 64x32 1b |* A C +, tiny |
|[Gamebuino](gamebuino.md)|8b 16 MHz | 2 | 32 | 84x48 1b |+ A -, SD |
|[Pokitto](pokitto.md) |32b 48 MHz | 36 | 256 | 220x176 |* C +, ext. hats, SD |
|[ESPboy](espboy.md) |32b 80 MHz | | | 128x128 |A |
|[GB META](gamebuino.md) |32b 48 MHz | 32 | 256 | 168x120 |A + -, SD |
|[Nibble](nibble.md) |32b 160 MHz| 80 | 4000 | 128x128 |A, AAA bat. |
|[UzeBox](uzebox.md) | | | | | |
|Tiny Arcade | | | | | |