-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathflash512.cpp
30 lines (29 loc) · 2.41 KB
/
flash512.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "flash512.h"
FLASH512::FLASH512() : PatchSet("FLASH512")
{
addPatch(std::vector<unsigned char> {(0xf0),(0xb5),(0xa0),(0xb0),(0x0d),(0x1c),(0x16),(0x1c),
(0x1f),(0x1c),(0x03),(0x04),(0x1c),(0x0c),(0x0f),(0x4a),
(0x10),(0x88),(0x0f),(0x49),(0x08),(0x40),(0x03),(0x21),
(0x08),(0x43),(0x10),(0x80),(0x0d),(0x48),(0x00),(0x68),
(0x01),(0x68),(0x80),(0x20),(0x80),(0x02)},
std::vector<unsigned char> {(0x70),(0xb5),(0xa0),(0xb0),(0x00),(0x03),(0x40),(0x18),
(0xe0),(0x21),(0x09),(0x05),(0x09),(0x18),(0x08),(0x78),
(0x10),(0x70),(0x01),(0x3b),(0x01),(0x32),(0x01),(0x31),
(0x00),(0x2b),(0xf8),(0xd1),(0x00),(0x20),(0x20),(0xb0),
(0x70),(0xbc),(0x02),(0xbc),(0x08),(0x47)});
addPatch(std::vector<unsigned char> {(0xff),(0xf7),(0x88),(0xfd),(0x00),(0x04),(0x03),(0x0c)},
std::vector<unsigned char> {(0x1b),(0x23),(0x1b),(0x02),(0x32),(0x20),(0x03),(0x43)});
addPatch(std::vector<unsigned char> {(0x70),(0xb5),(0x90),(0xb0),(0x15),(0x4d),(0x29),(0x88)},
std::vector<unsigned char> {(0x00),(0xb5),(0x00),(0x20),(0x02),(0xbc),(0x08),(0x47)});
addPatch(std::vector<unsigned char> {(0x70),(0xb5),(0x46),(0x46),(0x40),(0xb4),(0x90),(0xb0)},
std::vector<unsigned char> {(0x00),(0xb5),(0x00),(0x20),(0x02),(0xbc),(0x08),(0x47)});
addPatch(std::vector<unsigned char> {(0xf0),(0xb5),(0x90),(0xb0),(0x0f),(0x1c),(0x00),(0x04),
(0x04),(0x0c),(0x03),(0x48),(0x00),(0x68),(0x40),(0x89),
(0x84),(0x42),(0x05),(0xd3),(0x01),(0x48),(0x41),(0xe0)},
std::vector<unsigned char> {(0x7c),(0xb5),(0x90),(0xb0),(0x00),(0x03),(0x0a),(0x1c),
(0xe0),(0x21),(0x09),(0x05),(0x09),(0x18),(0x01),(0x23),
(0x1b),(0x03),(0x10),(0x78),(0x08),(0x70),(0x01),(0x3b),
(0x01),(0x32),(0x01),(0x31),(0x00),(0x2b),(0xf8),(0xd1),
(0x00),(0x20),(0x10),(0xb0),(0x7c),(0xbc),(0x02),(0xbc),
(0x08),(0x47)});
}