/
README.txt
51 lines (43 loc) · 1.31 KB
/
README.txt
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
I won't accept contributions at this time.
Useful links
============
https://gbdev.io/list.html
https://gbdev.io/pandocs/
Test CPU
========
https://gbdev.gg8.se/wiki/articles/Test_ROMs
Good games to test (don't use memory banking)
=============================================
- Dr. Mario
- Tetris
Todo
====
- When clicking on an address (left column), show all ways to get to it (calls and abs/rel jumps)
- Optimize video rendering (cache rendered tiles, maybe selectively update screen)
- Sound
MVC
===
- Model
- Emu
- execute instructions -> memory.getInstruction(cpu.PC).execute(cpu, memory)
- Memory
- bankToAddressToInstruction
- disassembleBytes() -> constructs bankToAddressToInstruction
- getInstruction(address)
- (getBank(): number)
- Controller
- Auto update 60 times/s
- All buttons
- toUpdate list
- updatedRegister(reg: number) { this.toUpdate.push(this.registerViews[reg]); }
- updatedRAM(bank: number, address: number) { this.toUpdate.push(this.memoryViews[bank << 16 + address]); }
- View
- Clicking on addresses
- BankView
- MemoryView (could contain an instruction if aligned)
- StackView
- MemoryView
- RegisterView
Dr. Mario resets when clearing pills
====================================
a3a57fa9c1ec2ef5ccb1696baf1a92a249453c22 is the first bad commit.