Welcome, Guest. Please login or register.

Author Topic: Overclocking BVision  (Read 4493 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Cosmos Amiga

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 961
  • Country: 00
    • Show all replies
    • http://leblogdecosmos.blogspot.com
Re: Overclocking BVision
« on: May 09, 2010, 03:38:35 PM »
80 < Meltdown < 100


Meltdown
 jsr -$60(a6) ; R_FindToolType (a0/a1) (d0)

 move.l d0,a3
 tst.l d0

 beq.b JL_0_12C6
 moveq #0,d7

 bra.b JL_0_1290

 JL_0_127C
 moveq #0,d0

 move.b (a3)+,d0
 move.l d7,d1

 asl.l #2,d1
 add.l d7,d1

 add.l d1,d1
 add.l d0,d1

 move.l d1,d7
 moveq #$30,d0

 sub.l d0,d7

JL_0_1290
 move.b (a3),d0
 moveq #$30,d1

 cmp.b d1,d0

 bcs.b JL_0_129E
 moveq #$39,d1

 cmp.b d1,d0

 bls.b JL_0_127C

JL_0_129E
 move.l d7,d0
 asl.l #6,d0

 sub.l d7,d0
 move.l d0,d1

 asl.l #5,d1
 sub.l d0,d1

 asl.l #3,d1
 add.l d7,d1

 asl.l #6,d1

 beq.b JL_0_12C6          ; nop = $4E71
 cmpi.l #$04C4B400,d1   ; nop = $4E71,$4E71,$4E71

 bcs.b JL_0_12C6          ; nop = $4E71
 cmpi.l #$05F5E100,d1   ; nop = $4E71,$4E71,$4E71

 bhi.b JL_0_12C6           ; nop = $4E71

 move.l d1,$34A(a5)      ; now with the nop => no check anymore

JL_0_12C6



The goal is to remove < 80 and > 100 Mhz checking !

I'm good with my nop ?

Other coders, please confirm ($04C4B400 = 80 Mhz and $05F5E100 = 100 Mhz)