English Amiga Board


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

 
 
Thread Tools
Old 24 October 2018, 16:24   #1
MethodGit
Junior Member
 
MethodGit's Avatar
 
Join Date: Dec 2002
Location: The Streets
Age: 39
Posts: 2,731
Clearing COLOR00 on A500 vs A1200

I only noticed this fairly recently, but whereas on a stock A500 configuration clearing DFF180 on startup just works without issue, on a standard A1200 configuration initiating the same command doesn't stick and the screen will immediately restore the original background colour. After looking it up, it seems you have to mess about with the DMACON interrupt (DFF096) before doing the clearing - in particular the Copper DMA bit is what determines it. I just move #$80 to DFF096 which appears to do the trick.

But why is this necessary on an A1200 but not an A500? What changed between them (apart from the obvious)? Is it specifically related to the processor, the chipset or the Kick ROM?
MethodGit is offline  
Old 24 October 2018, 16:27   #2
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
I'd be interested to see the code you've been trying.
StingRay is offline  
Old 24 October 2018, 16:27   #3
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Quick guess : kickstart 1.x does not use the copper to setup colors (at least not that one).
meynaf is offline  
Old 24 October 2018, 17:09   #4
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
There is only one 'substantial' difference between system copper list in KS1.x and KS20+.
In KS13 COLOR00 is set only through gb_LOFlist/gb_SHFlist, on KS20+ also through gb_copinit.
This does not justify a different behavior in case the COPJMPx addresses are not touched (and your COPEN tampering in DMACON proves this).
So the error is somewhere in your code.
ross 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
A1200 PSU suitable for A500 and A500 Plus Bushstar support.Hardware 6 25 May 2018 13:31
Clearing the X-bit oRBIT Coders. Asm / Hardware 6 22 April 2012 02:52
color00 Leffmann support.WinUAE 7 30 May 2010 09:56
Clearing out classic system Stokey MarketPlace 6 09 January 2010 22:34
Clearing A1200 + 500+ ericmark MarketPlace 11 27 May 2009 00:50

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 14:41.

Top

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