This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|00 @System &vector $2 &wst $1 &rst $1 &pad $4 &r $2 &g $2 &b $2 &debug $1 &halt $1 | |
|10 @Console &vector $2 &read $1 &pad $5 &write $1 &error $1 | |
|80 @Controller &vector $2 &button $1 &key $1 | |
|a0 @File &vector $2 &success $2 &stat $2 &delete $1 &append $1 &name $2 &length $2 &read $2 &write $2 | |
|b0 @DateTime &year $2 &month $1 &day $1 &hour $1 &minute $1 &second $1 &dotw $1 &doty $2 &isdst $1 | |
%RET { JMP2r } | |
|0100 @Init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uint16 | |
file_write(void *src, Uint16 len, Uint8 flags) | |
{ | |
+ /* If we're not already writing then re-open the file */ | |
if(state != FILE_WRITE) { | |
reset(); | |
if((f = fopen(current_filename, (flags & 0x01) ? "ab" : "wb")) != NULL) | |
state = FILE_WRITE; | |
} | |
- if(state == FILE_WRITE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[RainMeter] | |
Update=360000 | |
[Variables] | |
transparency = 100 | |
width=250 | |
height=300 | |
;must be an rss feed with img attributes. | |
URL = http://beeple.tumblr.com/rss |