djipi / Virtual-Jaguar-Rx

Virtual Jaguar, an Atari Jaguar emulator, with integrated debugger
GNU General Public License v3.0
42 stars 5 forks source link

$F10020 & $F10022 #67

Closed djipi closed 2 years ago

djipi commented 2 years ago

Digging the Jerry source code and using the mandel.cof example (provided from #52), I've found a weird issue.

Line: 004038: 23FC 0000 3F00 00F1 0020 MOVE.L #$3F00, JINTCTRL

JINTCTRL ($F10020), Interrupt Control Register, is a 16 bits register. But $F10022 doesn't exist in the documentation, and I guess the console shouldn't react to any value.

VJ considers both address to handle the Interrupt Control Register, but it should not be the case if we follow the 'documentation'.

djipi commented 2 years ago

Fixed in the mandel.cof example. https://github.com/42Bastian/new_bjl/pull/1