Subject: Re: debugging
To: None <amiga-dev@sun-lamp.cs.berkeley.edu>
From: Michael L. Hitch <osymh@gemini.oscs.montana.edu>
List: amiga-dev
Date: 03/18/1994 08:36:14
On Mar 18,  7:04am, "Eduardo E. Horvath eeh@btr.com" wrote:
> 
> On Thu, 17 Mar 1994 newsham@uhunix.uhcc.Hawaii.Edu wrote:
> > I put some rollcolor statements in my kernel and it didn't hit
> > any of them (at least I got no color changes).  There was at least
> > one that was after the base register was set up and before my
> > modded code was hit so it should have reached at least that far.
> > (Although I did a rebuild without make'ing clean..  compiles
> > being as slow as they are on my box).
> 
> If you want to change the color before the pointer is set in 
> amiga_init.c, you can directly poke the color register like this:
> 
> *((short)0xdff180) = 0x0ff0;
> 
> This will work up to the point the MMU is enabled.  Thereafter you must 
> use rollcolor.

  Rollcolor should work before the MMU is enabled, also.  The CUSTOMbase
pointer is initialized to the physical address of the custom chips.

Michael

-- 
Michael L. Hitch			INTERNET:  osymh@montana.edu
Computer Consultant			BITNET:  OSYMH@MTSUNIX1.BITNET
Office of Systems and Computing Services
Montana State University	Bozeman, MT	USA

------------------------------------------------------------------------------