view clojure/com/aurellem/exp/notes.txt @ 280:d5e5c73af7e6

reorginazed save corruption code
author Robert McIntyre <rlm@mit.edu>
date Tue, 27 Mar 2012 21:08:44 -0500
parents 22f58fa47c3c
children dc9a0060e7cb
line wrap: on
line source
1 ******** Game Sequence
4 start game
6 name rival "<space><PK>G<PK>G<PK>"
7 (0x7F 0xE1 0x86 0xE1 0x86 0xE1 in character codes)
9 get pikachu, fight rival, deliver oak's parcel
11 buy 5 items from viridian store, with the last one being a
12 burn-heal.
14 Perform save corruption.
15 (save, restart during save, switch 6th pokemon with 9tn)
17 move one of the other items that wasn't destroyed (but not
18 burn-heal) to the money counter to get a bunch of money.
20 buy 95 more burn heals. 95 burn heals spells out the
21 address that will safely return control to the pokemon
22 kernel.
24 [repeat following 35 times]
25 0x00
26 0x01
28 0x00
29 0xFA -- first part of "Load A from Literal address"
31 third rival's name character
32 xD5 -- target item address
34 0x00
35 0x3C -- increment A register
37 0x00
38 0xEA -- first part of "Save A to literal address"
40 fifth rival's name character
41 xD5 -- target item address
43 0x00
44 0xC3 -- first part of "Absolute Jump to literal address"
46 burn-heal
47 x 95 -- address of Route 3 memory-function
49 0x00
50 0x??
52 shift rival's name's first two characters into
53 mem-function-address.
55 now close the menu and continue item manipulations using the
56 newly constructed program. Starting and then canceling the
57 start menu activates the program.
61 ********** END Game Sequence
71 valid start addresses for the initial bootstrap program are
72 the following:
74 0xD31D - 0xD41B
75 --OR--
76 0xD53A - 0XD59C