home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
CMDS
/
reboot.lzh
/
REBOOT_SYSMON.A
next >
Wrap
Text File
|
1994-07-01
|
809b
|
33 lines
/*
*
Reset_card:
* this sections resets the CPU card by software reset request.
*
* reset remark H.W.Heyng 08/06/88 :
* The following reset sequence is developed/tested by F.R.Schmitt/W.Ott
* (and not fully understand but it works...).
*/
#asm
move.l #$4,a3
move.l (a3),a1
move.l #$bc,a3
move.l (a3),d2
lea reset_vek(pc),a0
move.l a0,(a3)
move.l #0,d1
trap #15
reset_vek:
reset
clr.l d3
reset_loop:
add.l #1,d3
nop
cmp.l #10000,d3
bne.s reset_loop
move.l #$bc,a3
move.l d2,(a3)
move.l #$0,a3
move.l (a3),a7
jmp (a1)
#endasm