-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrough_plan
executable file
·56 lines (55 loc) · 1.28 KB
/
rough_plan
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
DMGEMU
--
cpu
data
internal registers
hardware registers
code
control clock cycles
fetch code
[MEMORY]
[ASM]
update hardware registers
timer registers
refresh time
[LCD]
--
memory
data
memory area
addresses values
code
obtain path to file (or actual FILE *f)
read byte
read array
[read byte]
write byte
check location
is read-only?
corresponds to hardware register?
[MBC] call effects (or bind them preventively)
write array
[write byte]
--
asm
data
array of opcodes
opcode
mask
function pointer
code
opcode functions
--
lcd
data
byte stream
bind it to the corresponding memory area
video hardware registers
code
produce graphics
compose graphics from data area and arrangement area
oam
data
[LCD]
code
[MEMORY]