G3 Memory File Format
---------------------

The memory file consists of sequence of entries for the stored frequencies:

Frequency 1
Frequency 2
Frequency 3
etc.

Individual frequency entries have the following format:

Offset	Bytes	Parameter
0	4	Memory number
4	8	Frequency
12	4	Groups (only bits 0-15 are used, bits 16-31 are reserved for future use)
16	4	BFO (not used)
20	4	Hot key (only values 2..12 are used now, meaning F2..F12)
24	4	Lockout (bit 0 - scan lockout, bit 1 - do not set mode, bit 2 - do not set squelch)
28	4	Squelch (signed value in dBm)
32	4	Mode
36	12	Callsign
48	32	Comment
80	4	Checksum


The Checksum is calculated as follows:

unsigned int ch=0,*p=(unsigned int*)this;
for (int i=0;i<20;i+=4) ch+= *(p++);
return ch;

Explanation: Each memory is 80 bytes long (twenty 32-bit values).
Sum together all these 20 integers as one 32-bit value, and this is the checksum.
