I don't, Task Manager says I only have 3668996KB of physical memory, so my processes have just under 3.5GB of my 4GB available (keeping in mind of course that 1GB=1024MB, 1MB=1024KB, and 1KB=1024B).
Also I'm sorry for mis-remembering my own memory usage, I was confusing the sizes of the pagefiles on my desktop (which has 4GB) and my laptop (which has only 2GB of physical memory); my desktop's pagefile is 673MB and my laptop's pagefile is 2232MB, so that the sum of physical memory available to applications and pagefile will be 4GB, and for some reason I had thought my desktop's pagefile was only 232MB.
The important point here is that it's not like your OS makes absolutely no use of that fourth gig; if you take your PC down to 3GB you won't still see 3GB available in your Task Manager.
Make that 3 GB for 32-bit Windows. (I'm still not quite sure why it's limited to 3 instead of 4, but I'm sure there's a reason)
It actually is 4GB, when you count the portion reserved for use by the OS and drivers; in my experience I ended up having about 3.75GB of my 4GB usable for applications.
I'm surprised anyone can understand anything about that. You programmers must have a higher IQ than Einstein. All I see is random words, numbers and letters. I watched your youtube video too, and you write really fast. Do you use a normal "qwerty" keyboard layout?
that code was not written with good style; judicious use of newlines and indentation yields this:
#define _POSIX_SOURCE 1 /* Song length: 55 seconds (24 seconds of loop). */
/*/echo "$0 is not an executable but a C source file. Compiling it now..."
n=`basename $0`;gcc -O2 -Wall -W -pedantic -o /tmp/$n "$0";/tmp/$n $*;exit; */
static char*Title="Selfplayer for /dev/audio (8-bit, µ-law)\n"
"This file has been compiled from a file created with intgen.";
typedef unsigned char by;
char*A,*tmp="nesmusa.$$$",*a0;
static by*z=(by*)"+l=6*mM*JlmZmom+mom)omm5lm8CoZ@Ig3QCDe^l=B*0Z@mJ+NZK*RJ)OJ+"
"5B*7<N+CNJ4LbZ=NZKRRK)O;+5HHF<n51N20Vb:UFZ^UCAY<U?""=a4doK*bJCe5(*(ToM2*2bZ7"
"FV_5AAd<_?AAedmK5XJ9=Ud<OL@lflK2J*Ae5H*4<oMB60b:=CZK2BK)fJ+5T+(<OM2(Bb:;BZKg"
"X*8=Vd2O8@Tf?Sm)+J+4M>\\Cnfb^[o)7:+4m=BE1NZ(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>m7n`nJ2FZK:Z*C1Xd"
"V_3A9dd+c]*CU5^J7H_6A1dD^_BA[lHo7A>dB^[BU5BK7<f61Nb4Bc:LB[+?CK)IK75J7(=b;1BA"
"[ddK*JH)(O+d<_O@afdP_GA]fDR_;AId4__)5M+f<=FG12aFdS^GCQXLWo0aGd^^CCYX\\=6B7N:"
"Z>bJOGZKaXJ)B;25X(;<b@16a>dC^gBQ[LIo4a?dN^cBY[\\=:44NR*Fb:cCZ+_AK);b(]<MOl@o"
"g`QeE]]LM?m@lgnQa)DJ75:X7@Od`^g@QgD]_LAod@\\gNQcDe5n81<f6:NJ*Bc*R@Z++YH)Kg(5"
"Bd7X_VA1eD\\_NAclXoWA>eB\\[NU56e7\\_NAadd__AAel\\oOAndb_[AU5Ze7<:N7NBd>bJ)]Z"
"+^ZH)cK7f<SO8AWd0_E@]fLS?9ATd>_a);265D:)<*g1N2\\EbZKA[K9fH)WX(5@(D<>NKNJ[Jb*"
"Bob+(*H)Z7)5Z_7<>N1N2\\Eb:d_Z+@d*A]dT_?AAddo+D2VO1add__AAed\\]OMa4e?\\ANecK7"
"BK)8c(5(K7dO\\aNe`\\gO]aLeo\\ALen\\cOe5(K:*",
s[5][65536],l[299999],sn[32]="Logo by NESMusa";
#include <stdio.h>
#include <unistd.h>
static int S,h,OF,PN,d,p=1,r,k,i,a,c,CO,j,x,T=288,f=8000,LS=0,
P[12],H[99],IL[99];
FILE*fo;
static int Out(int v){
int e=0,s=1,f=0;
if(OF)
v=128+v/30;
else
for((s=(v<0))?v=-v:0;e<8;e++)
if((f=((v+32)>>(e+1))-16)<16)
break;
return fputc(OF?v:~((s<<7)|(e<<4)|f),fo);
}
void gn(void){
for(f=0;A[1]>='0'&&A[1]<='9';f=f*10+*++A-'0');
}
int G(int n){
while((k=1<<n)>p)
d+=p*(by)((*z++^134)+84),p*=64;
PN=d&(k-1);
d/=k,p/=k;
return PN;
}
int main(int C,char**V){
if(V)a0=*V;
for(P[CO=i=0]=907;++i<12;P[i]=P[i-1]*89/84);
while(--C)
if(*(A=*++V)=='-')
while(*A&&A[1])
*++A=='r'?gn(),0:*A=='d'?OF=1:*A=='h'?h=1:0;
fprintf(stderr,"%s\n\nUsage:\t %s [options]\n"
"Example: %s\n\t %s -dr22050|esdcat -b -m -r 22050\nOptions:\n"
"\t -d\tPlay in linear format instead & use /dev/dsp if not piped\n"
"\t -r#\tSelect sampling rate in Hz\n\t -h\tThis help\n\n",
Title,a0,a0,a0);
if(h)
exit(0);
for(r=3220,LS=1810,c=4;c--;)
for(a=0;a<r;)
if((S=G(7))-7)
l[c+8*a+4]=S,l[c+8*a++]=G(6)^63;
else
for(i=G(10),S=G(8);S--;a++)
l[a*8+4+c]=l[(a-i)*8+4+c],l[a*8+c]=l[(a-i)*8+c];
for(i=IL[0]=IL[1]=32;--i>=0;s[0][i]=(i&24)?170:20)
s[1][i]=16*(i<16?i:31-i);
for(i=IL[2]=999;--i>=0;s[2][i]=(a=a*999+1)%200);
if(isatty(fileno(fo=stdout)))
fo=fopen(A=OF?"/dev/dsp":"/dev/audio","wb");
if(!fo){
perror(A);
exit(-1);
}
a=c=i=sn[29]=0;
for(fprintf(stderr,"Playing built-in song (%s)...\n",sn);;
i<3?i++:((c?c--^Out(S/9):++a>=r?a=LS:(c=f*5/T)),i=S=0)){
x=l[a*8+4+i],j=i?i-1:0;H[i] += P[x%12]<<x/12;
if(IL[j])
S += (s[j][((unsigned)H[i]/f)%IL[j]]-128)*l[a*8+i];
}
}
It's still hard to understand because of the exploitation of non-obvious uses of operators like dereference, assignment, and ternary conditional, but this is easier to read at least.
and it's better than MeadCo Neptune, a plugin that before the advent of IETab was the only way to use IE from within another browser and is still the only way in Opera
You can only get it the "first time" you play the level. Let's say you get the 1up in the first level, if you die it won't appear the next time. You'll have to be game over first in order to get it again.
More generally, the bonus 1up will always appear the first time you play 1-1; for the other -1 levels it will only appear if you warped there or if you had collected all of the coins in the previous -3 level: http://www.themushroomkingdom.net/smb_breakdown.shtml
The archive.org embedded video on this page is of the "4 CPUs" run of NES Monopoly instead of the correct run: http://tasvideos.org/520M.htmlhonorableJay wrote:
The forums show up fine, but the TASVideos logo is displayed again on the upper right.
The background is implemented as a single PNG image repeated horizontally: http://tasvideos.org/f/nesvbg.png
IMO it might be better if instead the background were just the gradient, repeated horizontally as it is now, and the content of the hyperlink were made to be the logo instead of an empty box; a more hackish way to remedy this might be to extend the PNG horizontally, wider than any known screen resolution.