131e70704Smckusick/* 2*a0e76c95Smckusick * Copyright (c) 1980, 1986 Regents of the University of California. 331e70704Smckusick * All rights reserved. The Berkeley software License Agreement 431e70704Smckusick * specifies the terms and conditions for redistribution. 531e70704Smckusick */ 631e70704Smckusick 731e70704Smckusick#ifndef lint 8*a0e76c95Smckusick_sccsid:.asciz "@(#)httoggle.s 7.1 (Berkeley) 06/05/86" 931e70704Smckusick#endif not lint 1031e70704Smckusick 11e731c567Ssam 12e731c567Ssam/* 13e731c567Ssam * Prototype toggle in bootstrap code for ht type tapes. 14e731c567Ssam * If on anything but a 780 with a tape at slave 1 of mba 1 15e731c567Ssam * this will have to be repaired by patching mba and ht. 16e731c567Ssam */ 17e731c567Ssam movl mba,r10 18e731c567Ssam mull3 ht,$0x80,r11 19e731c567Ssam addl3 r11,r10,r11 20e731c567Ssam addl2 $0x400,r11 21e731c567Ssam movl $1,4(r10) 22e731c567Ssam movl $9,(r11) 23e731c567Ssam cvtwl $012300,0x24(r11) 24e731c567Ssam clrl 12(r10) 25e731c567Ssam movl $0x80000000,0x800(r10) 26e731c567Ssam cvtwl $-512,16(r10) 27e731c567Ssam movl $0x39,(r11) 28e731c567Ssam halt 29e731c567Ssam .align 2 30e731c567Ssammba: .long 0x20012000 31e731c567Ssamht: .long 0 32