ENGLISH DOC.


A4000 TURBO - FOR RAMSEY -07 REVISION, written by FWS
~~~~~~~~~~~
INCREASE  YOUR  PERFORMANCE  FROM  0.90  times  A3000 upto 1.05 times A3000
(measured with SYSinfo)

WARNING: This programm changes your chipset setup, nothing known about
         68040 results. MAY CRASH YOUR SYSTEM. Only tested on 68030 and
	 also on 68EC030 A4000's.

Hi,  my  new  A4000/030 was operating slower than my A3000, so i asked why.
Reading  some  manuals  i  found  some  special  mode  for DRAM to decrease
accesstime from five to four cycles.  This little program enables this fast
access mode, since SETRAMSEY for the A3000 doesn't work on A4000, since the
RAMSEY  registers  have  been  moved into supervisor data space.  Don't get
confused,  this  is nothing like BURST MODE, WRAP MODE (which should always
be  OFF) or STATIC COLUMN MODE or PAGE MODE.  This settings aren't changed.
So  it's  possible that you may have STATIC COLUMN mode RAM in your system,
but you don't have it activated.

Florian +49(0)5067/6863 (for any comments)

Have fun !


Note:
Ensure  your  RAM  is  fast enough, i don't have an idea how fast, but sure
it must be faster than the 'standard' 80nS SIMMS. Test with ReOrg3.11 kills
all/lots of your data when using too slow buffer (80nS) RAM.  So don't even
combine slow and fast SIMM's, use only fast SIMM's! I think 70 nS or faster
(60 nS) will be fine. I've tested it heavily with 60 nS SIMM's, its works!!

Put in in your startup to activate the FAST MODE like: A4000on >nil:
Or in the Shell, (you have to activate it only ONCE till you switch off your
system) type: A4000on and you get a message that your system is now in the
FAST MODE. To switch it off, type: A4000off and you get a message that your
system is back in the NORMAL MODE. 

				    Note by W.Schaaij  Den Helder, Holland.



----cut here--------cut here--------cut here--------cut here--------cut here----

SOURCE FROM AUTHOR:

Source "A4000on"

o:	move.l		4.w,a6
	lea		dosname(pc),a1
	jsr		-408(a6)
	move.l		d0,dosbase

	lea		Express(pc),a5
	jsr		-30(a6)
	move.l		#speedon,d1	
	andi.b		#%00010000,d2
	beq.s		NowFaster
	move.l		#speedwason,d1	
NowFaster:
	move.l		dosbase(pc),a6
	jsr		-948(a6)

	move.l		4.w,a6
	move.l		dosbase(pc),a1
	jsr		-414(a6)
	moveq		#0,d0
	rts

Express:move.b		$de0003,d0
	move.b		d0,d2
	ori.b		#%00010000,d0
	move.b		d0,$de0003
	rte

dosname:	dc.b	"dos.library",0
		even
dosbase:	dc.l	0
speedon:	dc.b	"VERY FAST RAM mode enabled, make sure your DRAM is fast enough.",10,0
speedwason:	dc.b	"Your system is already running in VERY FAST RAM mode, nothing changed.",10,0


----cut here--------cut here--------cut here--------cut here--------cut here----


Source "A4000off"

o:	move.l		4.w,a6
	lea		dosname(pc),a1
	jsr		-408(a6)
	move.l		d0,dosbase

	lea		Express(pc),a5
	jsr		-30(a6)
	move.l		#speedon,d1	
	andi.b		#%00010000,d2
	bne.s		NowFaster
	move.l		#speedwason,d1	
NowFaster:
	move.l		dosbase(pc),a6
	jsr		-948(a6)

	move.l		4.w,a6
	move.l		dosbase(pc),a1
	jsr		-414(a6)
	moveq		#0,d0
	rts

Express:move.b		$de0003,d0
	move.b		d0,d2
	andi.b		#%11101111,d0
	move.b		d0,$de0003
	rte

dosname:	dc.b	"dos.library",0
		even
dosbase:	dc.l	0
speedon:	dc.b	"VERY FAST RAM mode disabled.",10,0
speedwason:	dc.b	"Your system is already running in SLOW mode, nothing changed.",10,0

---------------------------------- FIN ------------------------------------------------------
