English Amiga Board


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

 
 
Thread Tools
Old 29 December 2017, 11:57   #1
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Is there a high level copperlist decoder program?

Is there a high level copperlist decoder program?
You give the program a copperlist (asm) and it tell you info about it.
Like screen resolution, screen format, number of colours etc?
Thanks
kamelito is offline  
Old 29 December 2017, 14:33   #2
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Do you want to analyze a copper list in binary or in assembler (source) form?

Also be aware that such a tool wouldn't give you all the information you expect. Most registers, like display dimensions, colors, resolution, can be set once by the program code and doesn't have to be set every in frame by the copper list. So a minimal working copper list only sets bitplane pointers.
phx is offline  
Old 29 December 2017, 15:21   #3
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
I wrote a copperlist disassembler decades ago (when AGA appeared) to check the system copperlist. Not sure I still have it somewhere though. And coding something like this can be done easily anyway so why not try it yourself?
StingRay is offline  
Old 29 December 2017, 19:21   #4
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
ASM as a source of the copperlist.
Yeah writing such tool cool be a nice exercice to activate the cells of my lazy brain.
kamelito is offline  
Old 30 December 2017, 17:41   #5
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,743
Perhaps Copper simulator with visible results and timing - sounds like good feature for WinUAE.
pandy71 is offline  
Old 30 December 2017, 18:59   #6
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,335
There are a few copper disassemblers on Aminet. Their output is probably not as high-level as you'd like, but maybe worth checking anyway?
CopDis, ReCop, CopperDecode, ListCop, copdis210
mark_k is online now  
Old 30 December 2017, 20:31   #7
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
I tried them all but copperdecode, I'm going to give it a go.
Could also been a good addition to WinUAE no?
kamelito is offline  
Old 30 December 2017, 20:44   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
It gets really problematic when copper list is more complex than what graphics.library creates.

For example is there one or two or more "screens" when only BPLCON1 changes in scan lines x,y and z but DIW or DDF does not. (and this was one of the most basic problems that can happen..)

Not even emulation knows "the big picture" of copper list, it just emulates it cycle by cycle.
Toni Wilen is offline  
Old 31 December 2017, 13:30   #9
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,743
Quote:
Originally Posted by Toni Wilen View Post
It gets really problematic when copper list is more complex than what graphics.library creates.

For example is there one or two or more "screens" when only BPLCON1 changes in scan lines x,y and z but DIW or DDF does not. (and this was one of the most basic problems that can happen..)

Not even emulation knows "the big picture" of copper list, it just emulates it cycle by cycle.
IMHO something like 'profiler' - cycle exact simulator perhaps reusing WinUAE but with focus on development - spinoff from regular emulator... perhaps some plugin to WinUAE able to export every cycle internal state of machine with associated analyzer... sounds like big tool... especially that still some Amiga HW aspects are unknown... (IMHO can't be resolved until real silicone will be not mapped to netlist - similar as visual6502 project)
pandy71 is offline  
Old 01 January 2018, 17:13   #10
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
I just use the one built into the action replay, works great - might not be as high level as u like though.
mcgeezer is offline  
Old 02 January 2018, 21:56   #11
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 866
To display the copper list from dumps created by WHDLoad the SP tool (contained in the dev package) can be used. Dumps must be created with active Snoop option.
Wepl 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
SPS Decoder Library 5.1 (formerly IPF Decoder Lib) Windows binary + source released mr.vince News 29 08 February 2021 03:46
High-level Apps for SysSpeed tygre request.Apps 8 01 February 2013 05:11
Modifying a copperlist CmdrVimes Coders. General 5 06 September 2010 12:08
Setting up a copperlist oRBIT Coders. General 5 08 April 2010 14:18
Error in copperlist? Nyarlathotep support.WinUAE 7 12 August 2003 23:44

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 05:18.

Top

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