<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 31 Jan 1995 17:04:37 +0000 (GMT)
From   : Mark Cooke <ee2015@...>
Subject: Checking Images are OK

Hi Everyone,

I'm having problems with Dave's emulator 'cause I recon my basic image is
corrupt.  Can someone write a quick proggie to add up every byte in the
image and let me know the result.

eg, from basic (on an emulator!) 

10 C% = 0
20 FOR L%=&8000 to &BFFF
30   C%= (C% + ?L%) AND &FF
40 NEXT L%
50 PRINT C%

Cheers

Mark

+-----------------------------------------------------------------------+
| Mark Cooke                 |    Email : ee2015@...                    |
|----------------------------+------------------------------------------|
| bbc-emu-request@...           - Home of the BBC Emulator Mailing list |
|   URL :  http://kestrel.fen.bris.ac.uk/students/ee2015/Welcome.html   |
+-----------------------------------------------------------------------+
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>