-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathS8DS_todo.txt
133 lines (105 loc) · 2.71 KB
/
S8DS_todo.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
S8DS To do
------------
Games that crash the emulator when machine is set to 'auto' :
Master of darkness
Vampire
Dragon's trap
Ninja gaiden
AK miracle world (jap)
AK shinobi world
Makai retsuden
Update sound more often? See NitroSwan.
Add Casio PV-2000? http://www43.tok2.com/home/cmpslv/Pv2000/EnrPV.htm
Add TOMY PuyTa? Tomy Tutor?
VDP Test crashes in MegaDrive test?
Check size of used SRAM 8kB, 16kB, 24kB & 32kB.
Try to save SRAM if it exists?
Add more mappers for Korean SMS games. games database?
Add mapper chooser for MSX.
Fix real IO-map for SC-3000.
Map SMS palette to GG palette in GGSMS mode.
Sprite glitch in Tetris?
Misc:
Add loadCard for SMS1/MD.
Terebi Oekaki/Graphic Board support?
Light Phaser support?
Add SMS(J) as options in machine?
ActionReplay/GameGenie support?
Add MSX second slot FFFF?
Save region & machine?
EEPROM support for some GG titles.
VGM logging?
Add Arcade System-1 & System-2?
SG-1000 has 1kB RAM. Done.
SC-3000 (and OMV?) has 2kB RAM. Done.
Add MegaDrive joypad emulation. Done?
50Hz fps display wrong? Done.
System-E, decryption?
Check 2player in F-16 Fightin Falcon (J).
Fix Arcade Mega-Tech.
GUI:
Show cart inserted/ejected.
Pad left and right to switch Tabs in GUI?
Sound:
Pitch is wrong?
Add YM2413?
Games:
PitFighter, scroll glitch.
BattleToads GG, check old revisions. VDP loop hang?
Terminator 2 Judgement Day.gg, test! Glitches on CrabEmu.
Moldorian(JP).gg - Sensitive to startup timing, HIrq timing?
Super Tetris - doesn't work on export SMS?
Excellent Dizzy Collection - Changes screen resolution before it hangs?
CPU:
Arcade:
SG1kAC:
chboxing
chwrestl
dokidoki
System-E:
astrofl
fantzn2
hangonjr
megrescu
opaopa
ridleofp
tetrisse
transfrm
MegaTech:
mt_aftrb
mt_astro
mt_asyn
mt_ggolf
mt_gsocr
mt_orun
mt_parlg
mt_shnbi
Code:
DAA table:
--------------------------------------------
|H in| val |N|H out| out |
| 0 | 0-9 |0| 0 | 0-9 |
| 0 | A-F |0| 1 | 0-5 |
| 1 | 0-9 |0| 0 | 6-F |
| 1 | A-F |0| 1 | 0-5 |
| 0 | 0-9 |1| 0 | 0-9 |
| 0 | A-F |1| 0 | 4-9 |
| 1 | 0-5 |1| 1 | A-F |
| 1 | 6-F |1| 0 | 0-9 |
| | | | |
mov r0,z80a,lsl#4
cmn r0,#0x60000000 ;@ check low nybble and save top nybble for H check
tstcc z80f,z80f,lsr#5 ;@ PSR_H to carry.
orrcs r0,r0,#0x06
cmn z80a,#0x66000000
tstcc z80f,z80f,lsr#2 ;@ PSR_C to carry.
orrcs r0,r0,#0x60
ands z80f,z80f,#PSR_n ;@ check if last instruction was add or sub.
orrcs z80f,z80f,#PSR_C ;@ the ands doesn't change carry as long as it doesn't have to shift the imidiate value.
rsbne r0,r0,#0x100
add z80a,z80a,r0,lsl#24
get_pzs_tbl r2
ldrb r2,[r2,z80a,lsr#24] ;@ get PZS
orr z80f,z80f,r2
adds r0,r0,r0,lsl#28
orrcs z80f,z80f,#PSR_H