🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #3862

Re: A little detective work...

#3862
From: Hartmut Semken
Date: Fri, 08 Sep 1989 10:40
64 lines
2438 bytes
In article <8909062057.AA24180@ucbvax.Berkeley.EDU> aking@BBN.COM (Allen King) writes:
>   1. How do you move files using 1.4? I've read the few pages of
>"notes" but never came across it.

Hold down <CONTROL> when dragging the file.
Beware of beta test versions: some will delete the originaleven after
unsucsessful copy...
>
>   2. How do you set Drive B to 3MS step rate? I've heard there is a new
>call, but with no documentation, ...


Dunno. But the old method still works: set the system variable at 0x440
to the (new) seek rate code and call the routine pointed to by the
vector at 0x46a. This will set both drives to the new seek rate.

Why is the routine called "hdv_init"? It (re-)initialises the floppies
(and does nothing to the harddisk).

3 ms is the default seek rate for both drives. 40 track drive will
probably need 6 od 12 ms.

rate codes are 0 to 3 giving 6, 12, 2 and 3 ms step time.

Setting both drives to 6 ms at power up (AUTO folder) does not harm
system performance: only seeks longer than 2 steps are slowed down a
little.

here is the program, I use in my AUTO folder: (Mark Williams assembler
format; vqh [very quick hack :-)])

/	module name seek6

	.shri

	.globl main_
main_:
	clr.l	-(sp)
	move.w	$0x20,-(sp)
	trap	$1
	addq.l	$6,a7
	move.l	d0,_save_ssp
	move.w	$0,0x440	/ 0 => 6 ms
	lea	0x46a,a0
	move.l	(a0),d0
	movea.l	d0,a0
	jsr	(a0)
	move.l	_save_ssp,-(sp)
	move.w	$0x20,-(sp)
	trap	$1
	addq.l	$6,a7
	.even
_save_ssp:
	.blkl	1

asseble with "cc seek6.s -VGEM" to use the small startup code; this does
not need the enviroment, arguments or the like :-)

hase
-- 
Hartmut Semken, Lupsteiner Weg 67, 1000 Berlin 37 hase@netmbx.UUCP
Dennis had stepped up into the top seat whet its founder had died of a
lethal overdose of brick wall, taken while under the influence of a
Ferrari and a bottle of tequila. (Douglas Adams; the long dark teatime...)
Technical Details
Message-ID: <3406@netmbx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!mcsun!unido!tub!tmpmbx!netmbx!hase
References: <8909062057.AA24180@ucbvax.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!mcsun!unido!tub!tmpmbx!netmbx!hase
From: hase@netmbx.UUCP (Hartmut Semken)
Newsgroups: comp.sys.atari.st
Subject: Re: A little detective work...
Message-ID: <3406@netmbx.UUCP>
Date: 8 Sep 89 10:40:25 GMT
References: <8909062057.AA24180@ucbvax.Berkeley.EDU>
Reply-To: hase@netmbx.UUCP (Hartmut Semken)
Organization: netmbx Public Access Unix, Berlin, West Germany
Lines: 64