Assembly Language for Beginners

(Jeff_L) #1

9.3. MILLENIUM GAME SAVE FILE


Figure 9.15:Mine: state 2

Let’s save game state again.


Now let’s try to just do binary comparison of the save files using the simple DOS/Windows FC utility:


...> FC /b 2200save.i.v1 2200SAVE.I.V2


Comparing files 2200save.i.v1 and 2200SAVE.I.V2
00000016: 0D 04
00000017: 03 04
0000001C: 1F 1E
00000146: 27 3B
00000BDA: 0E 16
00000BDC: 66 9B
00000BDE: 0E 16
00000BE0: 0E 16
00000BE6: DB 4C
00000BE7: 00 01
00000BE8: 99 E8
00000BEC: A1 F3
00000BEE: 83 C7
00000BFB: A8 28
00000BFD: 98 18
00000BFF: A8 28
00000C01: A8 28
00000C07: D8 58
00000C09: E4 A4
00000C0D: 38 B8
00000C0F: E8 68
...


The output is incomplete here, there are more differences, but we will cut result to show the most inter-
esting.


In the first state, we have 14 “units” of hydrogen and 102 “units” of oxygen.

Free download pdf