English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 14 October 2020, 19:50   #1
rikkles
Registered User
 
Join Date: Sep 2019
Location: Beirut / Lebanon
Posts: 8
WinUAE disasm question

Hello, I can't find the docs that explain the first field in a disasm output:

Code:
-1 00047466 303c 0001                MOVE.W #$0001,D0
-1 0004746A 41f9 0004 6f36           LEA.L $00046f36,A0
-1 00047470 4a28 0039                TST.B (A0,$0039) == $00046f6f [00]
-1 00047474 6600 001e                BNE.W #$001e == $00047494 (T)
-1 00047478 4a39 0004 6f31           TST.B $00046f31 [00]
-1 0004747E 6600 0014                BNE.W #$0014 == $00047494 (T)
-1 00047482 303c 0000                MOVE.W #$0000,D0
 3 0004706A 48e7 fffe                MOVEM.L D0-D7/A0-A6,-(A7)
-1 000488D8 e350                     ROXL.W #$01,D0
-1 000477A6 b03c 0020                CMP.B #$20,D0
What is -1 and 3?
I'm trying to figure out why the code jumps all over the place when it hits the MOVEM at 4706A

Thanks
rikkles is offline  
Old 14 October 2020, 20:16   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
It is CPU interrupt mask. (-1 = mask=0,supervisor mode. 0 = mask=0, user mode)

JIT enabled because output makes no sense?
Toni Wilen is online now  
Old 14 October 2020, 23:43   #3
rikkles
Registered User
 
Join Date: Sep 2019
Location: Beirut / Lebanon
Posts: 8
Thanks. But JIT is not enabled. I'm using "More compatible" 68000, 24-bit addressing, no MMU and no FPU.
rikkles is offline  
Old 15 October 2020, 07:50   #4
Bruce Abbott
Registered User
 
Bruce Abbott's Avatar
 
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 2,546
Quote:
Originally Posted by rikkles View Post
I'm trying to figure out why the code jumps all over the place when it hits the MOVEM at 4706A
Stack overflow? What is the code from?
Bruce Abbott is offline  
Old 15 October 2020, 08:27   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Ok, then make sure at least one break point is enabled. History is only collected if at least one break point is enabled (or when debugger is called). It would slow down emulation noticeably.

for example "f 0" is enough.
Toni Wilen is online now  
Old 15 October 2020, 09:28   #6
rikkles
Registered User
 
Join Date: Sep 2019
Location: Beirut / Lebanon
Posts: 8
Quote:
Originally Posted by Toni Wilen View Post
Ok, then make sure at least one break point is enabled. History is only collected if at least one break point is enabled (or when debugger is called). It would slow down emulation noticeably.

for example "f 0" is enough.
Yes this is history. Which made me scratch my head. I'll keep digging to see why it behaves that way. Thanks.
rikkles is offline  
Old 15 October 2020, 09:30   #7
rikkles
Registered User
 
Join Date: Sep 2019
Location: Beirut / Lebanon
Posts: 8
Quote:
Originally Posted by Bruce Abbott View Post
Stack overflow? What is the code from?
F-16 Combat Pilot. I just started on a clean crack for this one. Existing cracks are sloppy, and the hdload version has a big bug (second campaign always crashes).
rikkles is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about winuae gbasource support.WinUAE 1 19 January 2020 18:43
Question about Pipes in WinUAE. olesio support.WinUAE 6 13 April 2013 17:48
question about updating winuae _ThEcRoW support.WinUAE 1 30 April 2005 00:08
winuae + internet question sturme New to Emulation or Amiga scene 1 18 August 2003 22:04
A question on the Winuae old emulator UKLEE support.WinUAE 4 16 March 2003 19:06

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:39.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09160 seconds with 15 queries