🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.micro.atari16
1 messages
1 total messages Started by DrapalME Fri, 07 Nov 1986 16:07
Epson DSDD drives (+ fix!)
#2712
Author: DrapalME
Date: Fri, 07 Nov 1986 16:07
82 lines
4441 bytes
<one for the line eater>

	I also had problems with the Epson double sided drives not being
recognized w/o a disk in them at boot time.  Being the stubborn person
that I am, I decided that I'd look at the BIOS to see how the drives
were determined to "be there".  Well, I guess I shouldn't be shocked (I've
seen some really insane code in the BIOS before :-)), but I could hardly
believe my eyes!  And it was then that I realized why the Epson drives would
not be recognized.  The BIOS seeks to track 10 to determine if a drive is
present or not (why the Atari drives allow this w/o a disk in them is
beyond me...)!  So, here is a fix, a program that you can put in your
AUTO folder and never have to worry about this again.  First is the source
and then the uuencoded binary.

					Myron Drapal
					AT&T Information Systems, Denver
					..!ihnp4!druky!med

===== Cut here -> drives.c =====
#include <osbind.h>

main()
{
long ssp;

ssp = Super(0L);

/* the following sets up for two "real" drives.  if you have only 1  */
/* drive, simply change the #2 to #1 in the move.w instruction below */
asm {
	move.w #2,0x4a6		/* nflops=2 */
	ori.l  #3,0x4c2		/* drvmap|=3 */
    }
Super(ssp);
}
===== Cut Here -> drives.uu =====
begin 777 drives.prg
M8!H   ;:    %@  !T@                  $[Y    #$[Y   &9"I/*FT 
M!" M  S0K0 4T*T '-"\   A "( THW"O/____XN02\ +PU"9S\\ $I.0=_\
M    #"!M !@B;0 8T^T '" M !13@&\&$R!1R/_\(&T $" M !Q3@$(84<C_
M_"AM !#9[0 <*4W__"IM  A.K0 &(&S__$AH (!.N@!<6(\O+/_V/RS_^DZZ
M !I<CS\\  !.N@":/SP 03\\  ).05B/3G5.5O_\0J<_/  @3KH#7ER/+4#_
M_#'\  ($I@"X     P3"+R[__#\\ "!.N@,^7(].7DYU3G5.5@  /RX "$ZZ
M L!4CPQN@P  "&X&,#P  & >/RX "#\\ #Y.N@,.6(\Y0/GT9P8P//__8 0P
M/   3EY.=4Y6   _+@ (/SP 3$ZZ NA8CTY>3G5.5O_^+PM![/I")DA@%C K
M  K ?  #9P@O"TZZ "I8C];\ !0@"T'L^D(B"-*\   %M+"!;=@_+@ (3KK_
MKE2/)E].7DYU3E8  "\+)FX ""\+3KH 1%B/2D!G!C \__]@,# K  K ?  0
M9PHO*P &3KH![EB/0FL "C\K  Q.NO\L5(]*0&<&,#S__V $,#P  "9?3EY.
M=4Y6__Q(YP$0)FX "# K  K ?  #9@@P//__8   CBX3GJL !C K  K ? " 
M9TPP*P *P'P  F8&,#S__V!L,"L "L!\  1G$#\\  )"IS\K  Q.N@!>4(\_
M!R\K  8_*P ,3KH"IE"/#$#__V8&,#S__V V FO_?P *+4O__ QK    #&\8
M/SP  4*G/RL #$ZZ "!0CR!N__PA0  .)JL !D)K  0P/   3-\(@$Y>3G5.
M5O_R#&X    (; H@//____]@  #^/RX #C\N  @O+@ */SP 0DZZ 6[>_  *
M+4#__ R      &T(("[__&   -(_/  !/RX "$*G/SP 0DZZ 43>_  *+4#_
M^#\\  (_+@ (0J<_/ !"3KH!*M[\  HM0/_T#&X  0 .9@X@+O_XT*X "BU 
M  I@) QN  ( #F8.("[_]-"N  HM0  *8 XP+@ .9P@@//____]@8B N  JP
MKO_T;QY(;O_R("X "I"N__0O #\N  @_/ ! 3KH Q-[\  Q"9S\N  @O+@ *
M/SP 0DZZ *[>_  *#(      7<# ?  !.4#Y]&<*(#S_____8 I@"$)L^?0@
M+@ *3EY.=4Y6   O+@ (/SP 24ZZ ')<CTY>3G5.5O_^0F[__F F,"[__N6 
M0>SXQ-# ,!"P;@ (9@XP+O_^Y8!![/C$T,!"4%)N__X,;@!,__YMTDY>3G5.
M5O_^/P<^+@ (/7P!,/_^0>SXQ")(TN[__KY09P982+/(9O8P*  "/A].7DYU
M*4GXP"E*^+PI7_BX3D$B;/C )&SXO"\L^+A.=4Y6   P+@ ,4VX #$I 9S8@
M;@ ($!!(@+!\  IF#C\\  T_/  "3KK_O%B/(&X "%*N  @0$$B /P _/  "
M3KK_I%B/8+Y.7DYU3E8  # N  Q3;@ ,2D!G&B!N  A2K@ ($!!(@#\ /SP 
M!$ZZ_W98CV#:3EY.=4Y6   P+@ ,4VX #$I 9QH@;@ (4JX "! 02( _ #\\
M  5.NO](6(]@VDY>3G5.5O_R2.< ,"9N  HD2T'L !(M2/_V#&Z#   (9A8_
M+@ .+PM.NO\T7(\];@ .__Y@  %(#&Z"_P (9A8_+@ .+PM.NO]@7(\];@ .
M__Y@  $J#&Z"_@ (9A8_+@ .+PM.NO]P7(\];@ .__Y@  $,+4O_^D)N__X_
M+@ (3KK^DE2/2D!F  "F( J0B[!N  YD  "8$!)(@+!\  IF  "&( J0KO_Z
ML'P  &] ( J0KO_Z2, M0/_R+R[_^B\N__(_+@ (/SP 0$ZZ_G3>_  ,.4#Y
M]$C L*[_\F<(,#S__V   )PP+/GTT6[__B\N__8O/     (_+@ (/SP 0$ZZ
M_C[>_  ,.4#Y] Q   )G!C \__]@:%)N__Y2BB *+4#_^F "4HI@ /]@8! @
M"S8N  [&O   ___0@R1 ( J0KO_Z2, M0/_R+R[_^B\N__(_+@ (/SP 0$ZZ
M_>3>_  ,/4#__CE ^?1(P+"N__)G!C \__]@"$)L^?0P+O_^3-\, $Y>3G5#
M[/I"(OP     ,OP  "+\     #+\  DR_(, (OP     ,OP  "+\     #+\
M   B_      R_ $",OR# "+\     #+\ @ B_      R_   (OP     ,OP!
M C+\@P B_      R_ ( TOP%>#E\ @#Z0$YU0T]..@  0558.@  4%)4.@  
M#0H       (& !(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2
M$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2
>$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2$A(2
 
end
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads