#include "device.h"

extern device_t nvr_device;

extern int enable_sync;

extern int nvr_dosave;

void loadnvr();
void savenvr();

FILE *nvrfopen(char *fn, char *mode);

extern uint8_t nvrram[128+64];
extern int nvrmask;
extern int oldromset;
