11 March 2016 - Forum Rules
Started by Spinner 8, March 05, 2012, 11:38:21 AM
FF:55FC 1E 18 MOVE.b (A0)+,D7FF:55FE E1 8F LSL.L #0,D7FF:5600 1E 18 MOVE.b (A0)+,D7FF:5602 E1 8F LSL.L #0,D7FF:5604 1E 18 MOVE.b (A0)+,D7FF:5606 E1 8F LSL.L #0,D7FF:5608 1E 18 MOVE.b (A0)+,D7
hook_rd1 7 2174ee 21751c
FF:55FC 1E 18 MOVE.b (A0)+,D7 D7=00000000 xnZvc** [FF:55FC] R08 = 03 [2174EE]FF:55FE E1 8F LSL.L #0,D7 D7=00000003 xnzvcFF:5600 1E 18 MOVE.b (A0)+,D7 D7=00000300 xnzvc** [FF:5600] R08 = DF [2174EF]FF:5602 E1 8F LSL.L #0,D7 D7=000003DF xNzvcFF:5604 1E 18 MOVE.b (A0)+,D7 D7=0003DF00 xnzvc** [FF:5604] R08 = FF [2174F0]FF:5606 E1 8F LSL.L #0,D7 D7=0003DFFF xNzvcFF:5608 1E 18 MOVE.b (A0)+,D7 D7=03DFFF00 xnzvc** [FF:5608] R08 = F1 [2174F1]FF:560A 30 3C MOVE.w #$000F,D0 D7=03DFFFF1 xNzvc
Quote from: README3. Using hook_pc* <start> -1 will blindly log data starting from your address. Useful for tracking math algorithms or hard-to-understand bugs.
Quote from: LostTemplar on March 05, 2012, 03:31:10 PMAs far as I know, for word and long-word accesses, the data has to be at even addresses.
Quote from: mziab on March 05, 2012, 01:49:20 PMAnyway, mednafen has a pretty nifty Genesis debugger with read and write breakpoints, so if you want to step through the code and see what's going on, that's also a good alternative. You'll need to use a recent WIP version, though. Genesis emulation is a pretty fresh feature, only introduced in 0.9.18-wip, if memory serves. The debugger takes some getting used to, but it's otherwise perfectly serviceable.
Quote from: Spinner 8 on March 05, 2012, 05:18:36 PMIs that true? That would make sense then, since those long-words are on both odd and even addresses. I was wondering that myself. :)
Quote from: Spinner 8 on March 05, 2012, 05:18:36 PMIt still doesn't explain why the left-shift works the way it does. Maybe since the LSL opcode only has three bits dedicated to the rotation amount, 0 actually could mean the same as 8. But, none of the documents I've read have ever made mention of it.
Quote from: http://wpage.unina.it/rcanonic/didattica/ce1/docs/68000.pdfAn immediate count permits a shift of 1 to 8 places.
Page created in 0.072 seconds with 20 queries.