Patched to work on all the upper 32MB of RAM on the GP2X.
Changed
'if ( (cpt[j] & 0xfeff000f) == 0x02000002 )'
to
'if ( (cpt[j] & 0xfe00000f) == 0x02000002 )'
Changed
'if ( (cpt[j] & 0xfeff000f) == 0x02000002 )'
to
'if ( (cpt[j] & 0xfe00000f) == 0x02000002 )'