2023-11-26 18:25:09 +00:00
|
|
|
# Porporo
|
|
|
|
|
2023-12-01 05:04:10 +00:00
|
|
|
Porporo is a [Varvara](https://wiki.xxiivv.com/site/varvara.html) operating system, written in ANSI C.
|
2023-12-01 04:56:15 +00:00
|
|
|
|
2023-12-01 05:04:10 +00:00
|
|
|
## Build
|
2023-12-01 04:56:15 +00:00
|
|
|
|
2023-12-01 05:04:10 +00:00
|
|
|
To build the Uxn emulator, you must install [SDL2](https://wiki.libsdl.org/) for your distro. If you are using a package manager:
|
|
|
|
|
|
|
|
```sh
|
|
|
|
sudo pacman -Sy sdl2 # Arch
|
|
|
|
sudo apt install libsdl2-dev # Ubuntu
|
|
|
|
sudo xbps-install SDL2-devel # Void Linux
|
|
|
|
brew install sdl2 # OS X
|
|
|
|
```
|
|
|
|
|
|
|
|
To build Porporo and the required roms:
|
|
|
|
|
|
|
|
```
|
|
|
|
make run
|
|
|
|
```
|
2023-12-01 04:56:15 +00:00
|
|
|
|
|
|
|
## Controls
|
|
|
|
|
|
|
|
- `F1`, lock varvara.
|
|
|
|
- `F2`, center varvara.
|
|
|
|
- `F4`, exit varvara.
|
|
|
|
- `F5`, soft-reboot varvara.
|
2023-12-01 05:04:10 +00:00
|
|
|
- `d`, draw mode.
|
|
|
|
- `m`, move mode.
|
|
|
|
|
|
|
|
### Menu.rom
|
|
|
|
|
|
|
|
- `tab`, see all files.
|
|
|
|
- `esc`, exit.
|
2023-12-01 04:56:15 +00:00
|
|
|
|
|
|
|
## TODOs
|
|
|
|
|
|
|
|
- File device pointers should be assoc with Varvaras
|
|
|
|
- Map connection data to porporo's ram
|
|
|
|
- Automatic reqdraw, use screen
|
2023-12-01 05:04:10 +00:00
|
|
|
- Fail if cannot find menu
|
|
|
|
- Fail when menu command is invalid
|
2023-12-01 04:56:15 +00:00
|
|
|
|
|
|
|
Window Manager
|
2023-12-01 05:04:10 +00:00
|
|
|
- only draw program screens that are visible
|
|
|
|
- Global pointer, Hide pointer
|
|
|
|
- Transluscent windows
|
2023-12-01 04:56:15 +00:00
|
|
|
|
|
|
|
Menu.rom
|
2023-12-01 05:04:10 +00:00
|
|
|
- Arrow controls
|
2023-12-01 04:56:15 +00:00
|
|
|
|
2023-12-01 05:04:10 +00:00
|
|
|
Wallpaper.rom
|
|
|
|
- No tasks.
|
2023-12-01 04:56:15 +00:00
|
|
|
|
2023-12-01 05:04:10 +00:00
|
|
|
Log.rom
|
|
|
|
- Toggle binary/ascii mode
|
|
|
|
- Scroll buffer
|
|
|
|
- Support theme
|