[comp.sys.amiga.tech] A2620 with 2.0

ins778u@vax4.cc.monash.edu.au (mr c.r. hames) (07/08/90)

How do you get Kick2.0 working with A2620 board ?   I have tried to
get the MMU to think it is at $F80000 - $FFFFFF  working from the source 
to SetCPU 1.4 but it never seems to work.  SetCPU 1.5 doesn't seem to come
with source even though the description of the fish disk says it does, I
have got it from two sites and no source was included.
 
      Is there a util I should be using? SetCPU 1.6 out?  If not what could
I be doing wrong.:-
     I load the 512K in to RAM - tried CHIP & 32FAST
     Set up a table like in SetCPU 1.4 except the last four entries
     are modified for the ROM instead of last two.
     Then I do basically the same as SetCPU V1.4 for FASTROM.
 
      for (i = 0; i < 125; i++) MMUTable[i] = PD_ADDR(i<<17)|PD_DT_PAGE;
      MMUTable[124] = PD_ADDR((ULONG)ROM32)|PD_WP|PD_DT_PAGE;
      MMUTable[125] = PD_ADDR(((ULONG)ROM32)+0x20000L)|PD_WP|PD_DT_PAGE;
      MMUTable[126] = PD_ADDR(((ULONG)ROM32)+0x40000L)|PD_WP|PD_DT_PAGE;
      MMUTable[127] = PD_ADDR(((ULONG)ROM32)+0x60000L)|PD_WP|PD_DT_PAGE;
 
 
        myCRP[0] = CRP_LIMIT(127)|0x200|0x2;
        myCRP[1] = (ULONG)MMUTable; /*^ I thought 0x200 should be 0x400 */
                                    /*  But this gives me GURU */ 
        SetCRP(myCRP);
 
        myTC = TC_ENB|TC_PS(0x0c)|TC_IS(wrapbits)|TC_TIA(0x0f-wrapbits)
               |TC_TIB(0x05)|TC_TIC(0)|TC_TID(0);
 
        SetTC(myTC);
 
 
     After this I have tried reset(by offical method & other ways),
     jmp $f80002,keyboard reset etc
 

--
 
Chris Hames:     ins778u@vax4.cc.monash.edu.au(internet)
C/Assembler!:    Freely Avail:  VMK,DirWork,FSDirs......(Fish etc)
                 Commercial:  Classified.

daveh@cbmvax.commodore.com (Dave Haynie) (07/17/90)

In article <3562@monu1.cc.monash.oz> ins778u@vax4.cc.monash.edu.au (mr  c.r. hames) writes:
>How do you get Kick2.0 working with A2620 board ?   I have tried to
>get the MMU to think it is at $F80000 - $FFFFFF  working from the source 
>to SetCPU 1.4 but it never seems to work.  SetCPU 1.5 doesn't seem to come
>with source even though the description of the fish disk says it does, I
>have got it from two sites and no source was included.

I use SetCPU V1.6, which has been released, along with source.  The other
thing I use is a proper version of the 2.0 ROM image.  SetCPU V1.6 will work
with ROM images assembled for $00F80000 or $00F00000, but they must be the
kind that work on an A2500.  The ROM images included with the A3000 won't
work on an A2500; they're apparently looking for A3000 specific things.

>     After this I have tried reset(by offical method & other ways),
>     jmp $f80002,keyboard reset etc

The SetCPU V1.4 reset routine is pretty tricky to modify, even slightly.
The reset routine in SetCPU V1.6 should be much clearer, though no less
tricky.  

>Chris Hames:     ins778u@vax4.cc.monash.edu.au(internet)
>C/Assembler!:    Freely Avail:  VMK,DirWork,FSDirs......(Fish etc)
>                 Commercial:  Classified.


-- 
Dave Haynie Commodore-Amiga (Amiga 3000) "The Crew That Never Rests"
   {uunet|pyramid|rutgers}!cbmvax!daveh      PLINK: hazy     BIX: hazy
	"I have been given the freedom to do as I see fit" -REM