mirror of https://git.sr.ht/~rabbits/porporo
Adding README instructions for wallpaper
This commit is contained in:
parent
caca522dec
commit
56675911fe
|
@ -37,4 +37,9 @@ make run
|
|||
|
||||
## Wallpaper
|
||||
|
||||
The wallpaper rom expects a file named `.wallpaper` in the [chr format](https://wiki.xxiivv.com/site/chr_format.html) that is large enough to fill the screen.
|
||||
The wallpaper rom expects a file named `.wallpaper` in the [chr format](https://wiki.xxiivv.com/site/chr_format.html) that is large enough to fill the screen. The way I do it is by, first getting the screen size, let's say `1328x640` and creating a `wallpaper.tga` image at that size. Convert the tga with [tgachr](https://git.sr.ht/~rabbits/uxn-utils/tree/main/item/cli/tgachr/tgachr.tal), generating a file named `wallpapera6x50.chr`, renaming it to `.wallpaper`. Voila!
|
||||
|
||||
```
|
||||
uxncli ~/roms/tgachr.rom wallpaper.tga
|
||||
mv wallpapera6x50.chr .wallpaper
|
||||
```
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|80 @Controller &vector $2 &button $1 &key $1
|
||||
|90 @Mouse &vector $2 &x $2 &y $2 &state $1 &chord $1 &pad $4 &scrolly &scrolly-hb $1 &scrolly-lb $1
|
||||
|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2
|
||||
|c0 @DateTime [ &year $2 &month $1 &day $1 &hour $1 &minute $1 &second $1 &dotw $1 &doty $2 &isdst $1 ]
|
||||
|
||||
|
||||
|0000
|
||||
|
||||
|
@ -79,6 +81,9 @@
|
|||
.action/value LDZ INC .Screen/sprite DEOk DEO
|
||||
JMP2r
|
||||
|
||||
@<draw-time> ( -- )
|
||||
JMP2r
|
||||
|
||||
@<draw-uf2> ( addr* color -- )
|
||||
,&color STR
|
||||
#15 .Screen/auto DEO
|
||||
|
@ -144,6 +149,14 @@
|
|||
|
||||
@fill-icn [ ffff ffff ffff ffff ]
|
||||
|
||||
@week-txt
|
||||
"Sun $1 "Mon $1 "Tue $1 "Wed $1 "Thu $1 "Fri $1
|
||||
"Sat $1
|
||||
|
||||
@month-txt
|
||||
"Jan $1 "Feb $1 "Mar $1 "Apr $1 "May $1 "Jun $1
|
||||
"Jul $1 "Aug $1 "Sep $1 "Oct $1 "Nov $1 "Dec $1
|
||||
|
||||
@dict &default "Default $1
|
||||
&move "Move $1
|
||||
&draw "Draw $1
|
||||
|
|
Loading…
Reference in New Issue