Skip to content

Commit

Permalink
#21 Added 16-bit NOT & Multiplications test.
Browse files Browse the repository at this point in the history
  • Loading branch information
FluBBaOfWard committed Oct 4, 2023
1 parent b2efeb4 commit 8d1f152
Show file tree
Hide file tree
Showing 3 changed files with 456 additions and 84 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.ws
*.wsc
*.zip
*.lst
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WonderSwan CPU Test V0.7.1 (20230930)
# WonderSwan CPU Test V0.7.1 (20231004)

This is a CPU Test program for Bandai WonderSwan (Color/Crystal) & PocketChallenge V2.
This is a CPU Test program for Bandai WonderSwan (Color/Crystal) & Benesse PocketChallenge V2.

## How to use

Expand All @@ -20,6 +20,10 @@ I use nasm <https://nasm.us/> by running "nasm -f bin -o WSCpuTest.wsc WSCpuTest
The flags marked as Undefined in the manual are always modified by the instructions, the flags are never kept as they were before the instruction.
Most undefined opcodes are just 1 byte NOPs, the FPO1 (0xD8 - 0xDF) opcodes are 2 bytes NOPs.

## Differences between ASWAN & SPHINX(2)

There is one difference between the SOCs and that is the Zero flag during unsigned Multiplication, it's allways set on ASWAN and allways clear on SPHINX(2).

### AND, OR, XOR & TEST

AuxCarry, Carry & Overflow are always cleared.
Expand Down
Loading

0 comments on commit 8d1f152

Please sign in to comment.