Omnimaga

Calculator Community => Casio Calculators => Topic started by: AngelFish on January 09, 2011, 04:38:57 pm

Title: Unknown code
Post by: AngelFish on January 09, 2011, 04:38:57 pm
This topic will be for the discussion of Prizm code that seems odd or puzzling.

For example, the code between $01FE and $10D8 is odd. It follows a very specific pattern:

Code: [Select]
03 00 04 00 05 00 06 00 07 00 08 00 09 00 0A 00 0B
...
03 01 04 01 05 01 06 01 07 01 08 01 09 01 0A 01 0B
...
03 02 04 02 05 02 06 02 07 02 08 02 09 02 0A 02 0B
...


I can't figure out what this would be. It repeats until every other byte is 07 and ends with a sequence of FF's and 00's
Title: Re: Unknown code
Post by: z80man on January 11, 2011, 01:36:56 am
Perhaps it could be some sort of look up table used by the OS.  ???
Title: Re: Unknown code
Post by: Builderboy on January 11, 2011, 01:52:43 am
Looks like it must be some sort of look up table o.O The pattern is very peculiar... i wonder what the significance of it is?
Title: Re: Unknown code
Post by: Juju on January 11, 2011, 01:54:01 am
Hm, reminds me of something...
Title: Re: Unknown code
Post by: DJ Omnimaga on January 11, 2011, 04:04:34 am
What would that something be?
Title: Re: Unknown code
Post by: jnesselr on January 11, 2011, 11:18:56 am
What does the ... mean?
Title: Re: Unknown code
Post by: AngelFish on January 11, 2011, 01:18:22 pm
It's just the part that I skipped to keep the code reasonably short. For one section, it looks like this:

Code: [Select]
03 00 04 00 05 00 06 00 07 00 08 00 09 00 0A 00 0B 00 0C 00 0D 00 0E 00 0F 00 10 00 11 00 12 00 13 00 14 00 15 00 16 00 17 00 18 00 19 00 1A 00 1B 00 1C 00 1D 00 1E 00 1F 00 20 00 21 00 22 00 23 00 24 00 25 00 26 00 27 00 28 00 29 00 2A 00 2B 00 2C 00 2D 00 2E 00 2F 00 30 00 31 00 32 00 33 00 34 00 35 00 36 00 37 00 38 00 39 00 3A 00 3B 00 3C 00 3D 00 3E 00 3F 00 40 00 41 00 42 00 43 00 44 00 45 00 46 00 47 00 48 00 49 00 4A 00 4B 00 4C 00 4D 00 4E 00 4F 00 50 00 51 00 52 00 53 00 54 00 55 00 56 00 57 00 58 00 59 00 5A 00 5B 00 5C 00 5D 00 5E 00 5F 00 60 00 61 00 62 00 63 00 64 00 65 00 66 00 67 00 68 00 69 00 6A 00 6B 00 6C 00 6D 00 6E 00 6F 00 70 00 71 00 72 00 73 00 74 00 75 00 76 00 77 00 78 00 79 00 7A 00 7B 00 7C 00 7D 00 7E 00 7F 00 80 00 81 00 82 00 83 00 84 00 85 00 86 00 87 00 88 00 89 00 8A 00 8B 00 8C 00 8D 00 8E 00 8F 00 90 00 91 00 92 00 93 00 94 00 95 00 96 00 97 00 98 00 99 00 9A 00 9B 00 9C 00 9D 00 9E 00 9F 00 A0 00 A1 00 A2 00 A3 00 A4 00 A5 00 A6 00 A7 00 A8 00 A9 00 AA 00 AB 00 AC 00 AD 00 AE 00 AF 00 B0 00 B1 00 B2 00 B3 00 B4 00 B5 00 B6 00 B7 00 B8 00 B9 00 BA 00 FF FF BC 00 BD 00 BE 00 BF 00 C0 00 C1 00 C2 00 C3 00 C4 00 C5 00 C6 00 C7 00 C8 00 C9 00 CA 00 CB 00 CC 00 CD 00 CE 00 CF 00 FF FF D1 00 D2 00 D3 00 D4 00 D5 00 D6 00 D7 00 FF FF FF FF FF FF DB 00 DC 00 DD 00 DE 00 DF 00 E0 00 E1 00 E2 00 E3 00 E4 00 E5 00 FF FF E7 00 E8 00 E9 00 EA 00 EB 00 EC 00 ED 00 EE 00 EF 00 F0 00 F1 00 F2 00 F3 00 FF FF F5 00 F6 00 F7 00 F8 00 F9 00 FA 00 FB 00 FC 00 FD 00 FE 00 FF 00
Title: Re: Unknown code
Post by: Juju on January 11, 2011, 01:51:29 pm
What would that something be?
When messing with an hex editor I had seen patterns like that, I don't remember where, maybe at the beginning of an hard drive I think.
Title: Re: Unknown code
Post by: jnesselr on January 11, 2011, 03:09:01 pm
I see, so with the full thing, I understand a little more now.  It is a block of something. Is the next two bytes in this 00 01 by any chance?

Anyway, It follows the order of XX 00 (little endian, or it is skipping by 256).  I figured this out based off of those FF FF ones.  It starts at 03 for XX? What about 00-02?  Anyway, there are some sections which have their code FF'ed.  So, instead of XX 00, you have FF FF.  These are the codes in that block that have that:
Code: [Select]
BB 00
D0 00
D8 00
D9 00
DA 00
E6 00
Title: Re: Unknown code
Post by: Munchor on January 11, 2011, 04:47:55 pm
I could bet it is a loop or a table.
Title: Re: Unknown code
Post by: DJ Omnimaga on January 12, 2011, 11:43:29 pm
What would that something be?
When messing with an hex editor I had seen patterns like that, I don't remember where, maybe at the beginning of an hard drive I think.
Ah I see, thanks for the info. I can't help there because I'm not tech-savy about that stuff. X.x