viciious / d32xr

A modern port of Doom for the Sega 32X
Other
161 stars 13 forks source link

Md Vdp, clear vsram typo #39

Closed fedex81 closed 2 years ago

fedex81 commented 2 years ago

Hello, I believe the following line: https://github.com/viciious/d32xr/blob/ac9dd79a8dd9410157956bfbb1c22c4e573b6f66/src-md/crt0.s#L131

Should be changed to: move.l #0x40000010,(a0) /* write VSRAM address 0 */

ChillyWillyGuru commented 2 years ago

Yep, that's a whoopsi, all right! Good catch. It hasn't affected anything yet because that's the routine that clears the VDP scroll ram, which we don't use. If we tried using a MD side scrolling layer, it might have shown some weird issue if we assumed the table started cleared to 0.

viciious commented 2 years ago

Fixed in 20172e8, thanks!