Closed drencorxeen closed 4 years ago
Now fixed in commit b629dcbe03c85df1fa5c94e95d7e301ba7647cb. DIVQ is implemented for all addressing modes, and tested in RSDOS and Nitros9 6309 EOU Alpha 3. BASIC09 was previously unable to divide two integer values. They can now.
Before fix, you can see the result of 20/10 is 0. Clearly wrong.
After fix, the correct answer of 2 is displayed:
Just thought I would make a issue post about the DIVQ / OpCode 118E 6309 not being emulated in the sources yet.
I went through hd6309.c and found that the case statement is there for it, but hasn't been implemented to actually work yet.