Skip to content

Commit aeeda9d

Browse files
committed
Added test of Break/Trap, cleaned up macros.
1 parent dbfac03 commit aeeda9d

File tree

7 files changed

+211
-186
lines changed

7 files changed

+211
-186
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WonderSwan TimingTest V0.3.0 (20230118)
1+
# WonderSwan TimingTest V0.4.0 (20230909)
22

33
This is a program to test the timing of the CPU in a Bandai WonderSwan.
44
These results are not an absolute definition of how long an opcode takes, the cpu has an instruction pipeline which is flushed when branching, it takes 1 extra clock when branching to an odd address, it also seems to take more cycles depending on what the destination instruction is. I have tried to make the tests of jump/branch/call avoid these situations but I'm not sure I did it correctly everywhere.
@@ -42,6 +42,6 @@ Godzil for boot rom stubs. https://github.com/Godzil/NewOswan
4242
lidnariq for RTC info.
4343
```
4444

45-
Twitter @TheRealFluBBa
45+
Twitter/X @TheRealFluBBa
4646

4747
<https://www.github.com/FluBBaOfWard>

TimingTest_todo.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
TimingTest Todo
22

3+
Check which port is used in the fill_prefetch macro for "in al, dx"
34
Test different instructions as destination from JMP.

testcalls.asm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ execute 7, 74, teststringEA8F, test_EA8F
407407
execute 8, 82, teststringEAC4, test_EAC4
408408
execute 9, 82, teststringEAC4, test_EAC42
409409
execute 10, 82, teststringEAC5, test_EAC5
410-
execute 11, 86, teststringEAC5, test_EAC52
410+
execute 11, 82, teststringEAC5, test_EAC52
411411
execute 12, 74, teststringEAFF, test_EAFF
412412
execute 13, 70, teststringA00, test_A00X
413413
execute 14, 66, teststringA04, test_A04X
@@ -422,6 +422,7 @@ execute 5,300, teststringEI37,test_EI37
422422
execute 6,289, teststringEI3E,test_EI3E
423423
execute 7,300, teststringEI3F,test_EI3F
424424
execute 8,293, teststringExIrq,test_ExIrq
425+
execute 9,261, teststringTrap,test_Trap
425426
test22end:
426427

427428
testgroup 23

0 commit comments

Comments
 (0)