home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 10: Diskmags
/
nf_archive_10.iso
/
MAGS
/
STOS_FC
/
STOSFC01.MSA
/
STOS.ACB_TESTVIRI.ACB
(
.txt
)
< prev
next >
Wrap
Atari STOS Basic
|
1987-04-21
|
1KB
|
24 lines
10 REM *********************************************************
100 REM
110 REM ~~~ Use a BIOS Trap Call to read in the boot sector
120 REM
130 TRAP
140 REM
150 REM ~~~ Calculate the CHECKSUM
160 REM
170 FOR
180 DOKE
190 NEXT
20 REM ** **
200 REM
210 REM ~~~ Check for it equalling $1234 (executable)
220 REM
230 IF
30 REM ** Boot sector Virus Detector - Written by A.C.Porritt **
40 REM ** **
50 REM *********************************************************
60 REM
70 REM ~~~ Reserve Memory to put boot sector in
80 REM
90 RESERVE