Home » Personal collection » Acorn hard disk » apps » Emulators » !Spectrum/PCSNAPS/SPECUT~1/ROMVSS~1 » Compare
Compare !Spectrum/PCSNAPS/SPECUT~1/ROMVSS~1 with !Spectrum/PCSNAPS/SPECUT~1/SNAPVS~1
| File: | Personal collection » Acorn hard disk » apps » Emulators » !Spectrum/PCSNAPS/SPECUT~1/ROMVSS~1 |
| Compared with: | Personal collection » Acorn hard disk » apps » Emulators » !Spectrum/PCSNAPS/SPECUT~1/SNAPVS~1 |
| Similarity: | 52% of bytes duplicated |
21 of 48 lines (50.0%) are identical in the two listings. Duplicated Different
Line numbers are ignored when comparing lines, so that renumbered programs still match.
| !Spectrum/PCSNAPS/SPECUT~1/ROMVSS~1 | !Spectrum/PCSNAPS/SPECUT~1/SNAPVS~1 |
|---|---|
| 10REM ************************************************************* | 10REM ************************************************************* |
| 20REM Title : ROM versus Snap | 20REM Title : Snap versus Snap |
| 30REM Author : M.Perigo | 30REM Author : M.Perigo |
| 31REM Date : 2 Sep 93 | 40REM Date : 2 Sep 93 |
| 32REM Purpose : Checks the ROM portion of 'Speculator' snapshots | 50REM Purpose : Checks the Processor Environment header portion of |
| 33REM against the default ROM file. | 60REM a 'Speculator' snapshot against a default image |
| 70REM created from a newly initialised machine. | |
| 40REM ************************************************************* | 90REM ************************************************************* |
| 50ON ERROR REPORT:PRINT " at line ";ERL:END | |
| 60 | 100 |
| 110ON ERROR REPORT:PRINT " at line ";ERL:CLOSE#0:END | |
| 120 | |
| 70SpecDir$ = "adfs::IDE5.$.SPECTRUM.!Spectrum" | 130SpecDir$ = "adfs::IDE5.$.SPECTRUM.!Spectrum" |
| 80READ Snap$ | 140READ Snap$ |
| 150MODE 0:VDU 14 | |
| 90 | 160 |
| 170LogFile%=OPENOUT(SpecDir$+".DiffLog") | |
| 180 | |
| 100WHILE Snap$ <> "EndOfList" | 190WHILE Snap$ <> "EndOfList" |
| 110rom% = OPENIN(SpecDir$+".Roms.Spectrum") | 200Snap1% = OPENIN(SpecDir$+".new") |
| 120snap% = OPENIN(SpecDir$+".Snaps."+Snap$) | 210Snap2% = OPENIN(SpecDir$+"."+Snap$) |
| 130PRINT "Checking ";Snap$,rom%,snap% | 220PRINT "Checking ";Snap$;" ";Snap1%;" ";Snap2% |
| 140PTR#snap%=256 | 230BPUT#LogFile%, "Checking "+Snap$ |
| 150FOR L%=0 TO (1024*16)-1 | 240 |
| 160 x=BGET#rom%:y=BGET#snap% | 250FOR L%=0 TO 255 |
| 260 x=BGET#Snap1%:y=BGET#Snap2% | |
| 170 IF x <> y THEN | 270 IF x <> y THEN |
| 180 PRINT L%,x,y | 280 PRINT ~L%;" ",~x,~y |
| 290 BPUT#LogFile%, STR$~L%+" "+STR$~x+" "+STR$~y+" "+CHR$y | |
| 190 ELSE | 300 ELSE |
| 200 PRINT L%,CHR$(13); | 310 PRINT L%,CHR$(13); |
| 210 ENDIF | 320 ENDIF |
| 220NEXT | 330NEXT |
| 230CLOSE#rom%: | 340CLOSE#Snap1% |
| 240CLOSE#snap% | 350CLOSE#Snap2% |
| 360BPUT#LogFile%, " " | |
| 370BPUT#LogFile%, " " | |
| 250READ Snap$ | 380READ Snap$ |
| 260ENDWHILE | 390ENDWHILE |
| 270 | 400 |
| 280DATA Alchemist | 410CLOSE#LogFile% |
| 420 | |
| 430DATA X | |
| 290DATA EndOfList | 440DATA EndOfList |
| 450 | |
| 300DATA Alchemist, Alien8, AticAtac, Avalon, Birds+Bees, BubbleBust | 460DATA Alchemist, Alien8, AticAtac, Avalon, Birds+Bees, BubbleBust |
| 310DATA Cookie, Cyberun, Gunfright, Jetman, Jetpac, Pssst, SabreWulf | 470DATA Cookie, Cyberun, Gunfright, Jetman, Jetpac, Pssst, SabreWulf |
| 320DATA ShowDown, TransAm, Underwurld | 480DATA ShowDown, TransAm, Underwurld |
| 330DATA EndOfList | 490DATA EndOfList |
.