English Amiga Board


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

 
 
Thread Tools
Old 14 October 2020, 20: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, 21:16   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 45
Posts: 24,318
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 15 October 2020, 00: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, 08:50   #4
Bruce Abbott
Registered User

Bruce Abbott's Avatar
 
Join Date: Mar 2018
Location: Hastings, New Zealand
Posts: 380
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, 09:27   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 45
Posts: 24,318
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, 10: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, 10: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 19:43
Question about Pipes in WinUAE. olesio support.WinUAE 6 13 April 2013 18:48
question about updating winuae _ThEcRoW support.WinUAE 1 30 April 2005 01:08
winuae + internet question sturme New to Emulation or Amiga scene 1 18 August 2003 23:04
A question on the Winuae old emulator UKLEE support.WinUAE 4 16 March 2003 20: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 13:07.


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