-
Notifications
You must be signed in to change notification settings - Fork 2
/
simulator.ini
35 lines (30 loc) · 2.79 KB
/
simulator.ini
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
31
32
33
34
35
// Map memory
MAP 0x380000,0x387FFF EXEC READ WRITE
// Set up variables
E INT 0x387AC0 = 0xE1F0
E INT 0x387AC2 = 0x0000
E INT 0x387AC4 = 0x00E0
E INT 0x387AC6 = 0xE1F2
E INT 0x387AC8 = 0xE1FF
E INT 0x387ACA = 0xFFFF
// Set receive buffer and length
E CHAR 0xE200 = 0xBE, 0x78, 0x00
E CHAR 0xE1FF = 0x03
E CHAR 0xE1F2 = 0x00, 0xE2
// Fill fast array data
E CHAR 0x387800 = 0x01, 0x38, 0x00, 0x01
E CHAR 0x387804 = 0x02, 0x38, 0x00, 0x40
E CHAR 0x387808 = 0x01, 0x38, 0x00, 0x80, 0x00
// Fill original distributor at fake address
E CHAR 0x380000 = 0x66, 0x3B, 0x00, 0x00, 0x0A, 0x32, 0x00, 0x00, 0x66, 0x32, 0x00, 0x00, 0xAC, 0x32, 0x00, 0x00, 0x54, 0x54, 0x82, 0x00, 0xB2, 0x36, 0x00, 0x00, 0x42, 0x4B, 0x82, 0x00, 0x46, 0x57, 0x82, 0x00
E CHAR 0x380020 = 0x28, 0x57, 0x82, 0x00, 0x1E, 0x38, 0x00, 0x00, 0xA6, 0x5F, 0x82, 0x00, 0x44, 0x7F, 0x80, 0x00, 0x1A, 0x60, 0x82, 0x00, 0x66, 0x3B, 0x00, 0x00, 0x66, 0x3B, 0x00, 0x00, 0x1C, 0x3B, 0x00, 0x00
E CHAR 0x380040 = 0xEE, 0x4B, 0x82, 0x00, 0x00, 0x3A, 0x83, 0x00, 0xD6, 0x40, 0x83, 0x00, 0x60, 0x3B, 0x83, 0x00, 0xBC, 0x3A, 0x83, 0x00, 0xC8, 0x41, 0x83, 0x00, 0xDC, 0x44, 0x83, 0x00, 0x42, 0x56, 0x83, 0x00
E CHAR 0x380060 = 0x38, 0x51, 0x83, 0x00, 0xC2, 0x55, 0x83, 0x00, 0x46, 0x53, 0x83, 0x00, 0x18, 0xEA, 0x83, 0x00, 0x52, 0xEA, 0x83, 0x00, 0x88, 0xEA, 0x83, 0x00, 0xC8, 0xEA, 0x83, 0x00, 0x8E, 0xEB, 0x83, 0x00
E CHAR 0x380080 = 0xAA, 0xEB, 0x83, 0x00, 0xEA, 0xEB, 0x83, 0x00, 0x22, 0xEC, 0x83, 0x00, 0xE8, 0xEC, 0x83, 0x00, 0x66, 0x3B, 0x00, 0x00, 0x48, 0xED, 0x83, 0x00, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22
// Fill new distributor
E CHAR 0x387A00 = 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00
E CHAR 0x387A20 = 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00
E CHAR 0x387A40 = 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00
E CHAR 0x387A60 = 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00
E CHAR 0x387A80 = 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00
E CHAR 0x387AA0 = 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00, 0xCC, 0x7A, 0x38, 0x00