Re: Differences between Swedish and normal C128 kernal

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2003-01-05 16:26:29

>>>>> "NR" == Niklas Ramsberg <niklas.ramsberg@swipnet.se> writes:

NR> If I could only find a hex editor for Linux (or Windows, if
NR> necessary) that lets me do such a simple thing as comparing two
NR> files (or if I could figure out how to make diff do it for me)
NR> there would be no problem.

I wrote a small utility to diff two binary files in Amiga E, and I did
a quick & dirty port of it to C a while ago:

  http://www.cling.gu.se/~cl3polof/bcmp.c

It produces output like this with -n (no ansi) and -c (print characters):

Comparing 8192/0x2000 bytes of jdos64en.rom with jdos64se-fixedkb.rom

00000460:  20 42 41 53 49 43 20 42  BASIC B  20 42 59 54 45 53 20 4c  BYTES L
00000468:  59 54 45 53 20 46 52 45 YTES FRE  45 44 49 47 54 20 20 20 EDIGT   
00000470:  45 0d 00 93 0d 20 20 20 E....     20 0d 00 93 12 4a 49 46  ....JIF
00000478:  20 20 20 20 4a 49 46 46     JIFF  46 59 44 4f 53 20 53 58 FYDOS SX
00000480:  59 44 4f 53 20 56 36 2e YDOS V6.  2d 36 34 20 36 2e 30 31 -64 6.01
00000488:  30 31 20 28 43 29 31 39 01 (C)19  2d 53 45 20 41 56 20 4d -SE AV M
00000490:  38 39 20 43 4d 44 20 20 89 CMD    56 20 28 43 29 31 39 39 V (C)199
00000498:  0d 0d 20 43 2d 36 34 20 .. C-64   38 20 43 4d 44 92 b7 a3 8 CMD...
000004a0:  42 41 53 49 43 20 56 32 BASIC V2  9d 9d 9d 9d 11 a3 b7 1d ........
000004a8:  20 20 20 00 81 48 20 c9    ..H .  91 0d 0d 00 81 48 20 c9 .....H .

00000ba8:  4e 2b 50 4c 2d 2e 3a 40 N+PL-.:@  4e 2d 50 4c 3d 2e 5c 5d N-PL=.\]
00000bb0:  2c 5c 2a 3b 13 01 3d 5e ,\*;..=^  2c 3a 40 5b 13 01 3b 5e ,:@[..;^

00000be8:  cf ce db d0 cc dd 3e 5b ......>[  cf ce c0 d0 cc 3d 3e dc .....=>.
00000bf0:  ba 3c a9 c0 5d 93 01 3d .<..]..=  dd 3c 2a ba db 93 01 2b .<*....+

00000c28:  a1 b9 aa a6 af b6 dc 3e .......>  a1 b9 aa df af b6 3d 3e ......=>
00000c30:  5b a4 3c a8 df 5d 93 01 [.<..]..  a9 a6 3c 2a a4 a8 93 01 ..<*....
00000c38:  3d de 3f 81 5f 04 95 a0 =.?._...  2b de 3f 81 5f 04 95 a0 +.?._...

00000ca0:  ff 10 0c ff ff 1b 00 ff ........  ff 10 0c ff ff 1c 1d ff ........
00000ca8:  1c ff 1d ff ff 1f 1e ff ........  ff 00 1b ff ff ff 1e ff ........

00001f80:  03 4c 5b ff 4c a3 fd 4c .L[.L..L  43 4c 5b ff 4c a3 fd 4c CL[.L..L

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.4.