-
Notifications
You must be signed in to change notification settings - Fork 0
/
BC_TEST.txt
35 lines (35 loc) · 2.18 KB
/
BC_TEST.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
/***********************************/
BC_Chip8Test
/***********************************/
DESCRIPTION: Test the conditional jumps, the mathematical and logical operations of Chip 8
AUTHOR: BestCoder
CONTACT: mail: bestcoder@ymail.com
COPYRIGHT: You can use this rom and redistribute at will until the credits are awarded me. No commercial use is allowed without my permission!
VERSION: EN 07/01/2011
/***********************************/
HOW TO USE IT:
/***********************************/
Each error is accompanied by a number that identifies the opcode in question. If all tests are positive, the rom will display on screen "BON" meaning "GOOD".
/***********************************/
CORRESPONDENCE
/***********************************/
E 01: 3XNN verify that the jump condition is fair
E 02: 5XY0 verify that the jump condition is fair
E 03: 4XNN verify that the jump condition is fair
E 04: 7XNN check the result of the addition
E 05: 8XY5 verify that VF is set to 0 when there is a borrow
E 06: 8XY5 verify that VF is set to 1 when there is no borrow
E 07: 8XY7 verify that VF is set to 0 when there is a borrow
E 08: 8XY7 verify that VF is set to 1 when there is no borrow
E 09: 8XY1 check the result of the OR operation
E 10: 8XY2 check the result of AND operation
E 11: 8XY3 check the result of the XOR operation
E 12: 8XYE verify that VF is set to the MSB (most significant bit or most left) before the shift and VF does not take value 0 every time
E 13: 8XYE verify that VF is set to the MSB (most significant bit or most left) before the shift and VF does not take value 1 every time
E 14: 8XY6 verify that VF is set to the LSB (least significant bit or most right ) before the shift and VF does not take value 0 every time
E 15: 8XY6 verify that VF is the LSB (least significant bit or most right) before the shift and VF does not take value 1 every time
E 16: FX55 and FX65 verify that these two opcodes are implemented. The error may come from one or the other or both are defects.
E 17: FX33 calculating the binary representation is mistaken or the result is poorly stored into memory or poorly poped (FX65 or FX1E).
/**************************/
Happy debugging
/**************************/