From: Gwenole B. <gb...@di...> - 2002-03-16 17:00:26
|
Hi, > 2) Check whether VidLocal.desc updated when it ought to be? OK, browsing through the log file, the following bits came out: - The previous screen buffer address (now invalid) got loaded from CrsrBase low-mem at ROMBaseMac + 2e81e Unfortunately, I don't have my real Mac handy with Mac'sBug to check which function that address belongs to - CrsrBase got overriden from the valid address to the old one at ROMBase + 2e546 pc 0202e546 d0 020b700c d1 00000400 d2 02020050 d3 02000001 d4 00000000 d5 00000000 d6 00000000 d7 0004000e a0 00009540 a1 000094f0 a2 020169aa a3 02016aba a4 00009d50 a5 0100fd90 a6 00000000 a7 0100fba0 21d8 0898 move.l (a0)+,CrsrBase Relevant bits leading to that instruction (ROMBase is at 02000000): 0202e6aa: 2278 089c movea.l CrsrDevice,a1 [A1=00002120] 0202e6ae: 2251 movea.l (a1),a1 [A1=000094f0] 0202e53a: 2069 0016 movea.l ($0016,a1),a0 [A0=00002110] 0202e53e: 2050 movea.l (a0),a0 [A0=00009540] 0202e546: 21d8 0898 move.l (a0)+,CrsrBase Suggested fix: [[CrsrDevice] + 0x0016] = frame_base in video.cpp/switch_mode() ? Bye, Gwenole. |