View Single Post
Old 16 April 2016, 20:22   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 20,656
Default mask does not include interrupt exceptions.

Each bit equals exception vector number: bit 2 = bus error, bit 3 = address error and so on. (0 and 1 are unused, CPU uses them only in reset exception) Check i instruction output for exception numbers (or check Motorola documentation but it is far too boring!)

Mask FFFF matches all vectors from 0 to 15 which includes all usual "something went wrong" exceptions.

(There is also interesting bug, it is 64-bit mask but read function is only 32-bit so it is not possible to manually set any exception vectors >= 32 masks.. This will be fixed in next beta)
Toni Wilen is offline  
Page generated in 0.07879 seconds with 9 queries