public static nvramPtr nvram_handler = new nvramPtr(){ public void handler(Object file,int read_or_write)
        {
		if (read_or_write!=0)
			osd_fwrite(file,nvram,nvram_size[0]);
		else
		{
			if (file!=null)
				osd_fread(file,nvram,nvram_size[0]);
			else
                        {
				//memset(nvram,0,nvram_size);
                            for(int i=0; i<nvram_size[0]; i++)
                                nvram.write(i,0);
                        }
		}
	} }