366-byte C program emulator can run Linux and Doom – IOCCC29 winner

s-macke1 pts1 comments

winner/2025/cable/prog.c at master · ioccc-src/winner · GitHub

//blob/show" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

//blob/show;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

ioccc-src

winner

Public

Uh oh!

There was an error while loading. Please reload this page.

Notifications<br>You must be signed in to change notification settings

Fork<br>85

Star<br>1.2k

FilesExpand file tree

master

/prog.c

Copy path

Blame<br>More file actions

Blame<br>More file actions

Latest commit

History<br>History<br>History

9 lines (9 loc) · 366 Bytes

master

/prog.c

Top

File metadata and controls<br>Code

Blame

9 lines (9 loc) · 366 Bytes

Raw<br>Copy raw file<br>Download raw file

Open symbols panelEdit and raw actions

#include

#define o s[1&s[t=e++]?s[t]/4:t]/4,t

b,y,t,e,s[327],V[32],*w,**g;main(_){for(g

=SDL_GetWindowSurface(w=SDL_CreateWindow(0,

800,512,!read(b,s,'frog')));_=o=y=o=o;~_?~y

?e=1>(s[y]-=_[s])?t:*s&&++b>8e5?s[memcpy(3[

g],6[s]+s,2516),b=SDL_UpdateWindowSurface

(w)]=4*e,*s/4:e:e:SDL_PollEvent(V)?y[s]=6[V

]*(1537-2**V):0)_^64||timespec_get(s+_,1);}

You can’t perform that action at this time.

file search winner reload prog master

Related Articles