"Tim Stark" <[email protected]> wrote:

> Thanks for back10 updates.
> 
> I reviewed your source code but noticed a bug in your code.  If you
> select binary mode, it was not supposed to truncate last word at G_EOF
> mark.

This is not a bug, this is (was) the intended behaviour.  However, I will
regard this as a feature request. :->

Anyhow, I have done some more work, and this feature should now work.

Disk file modes are:

  -A and -B  -- seven bit/word as before.  -A expands <lf> to <cr><lf>
                when writing tapes.  -B preserves trailing null characters
                when reading tapes.  Default is -A when reading and -B when
                writing.
  -C         -- Core-dump format.
  -I         -- Industry-compatible.

Also, the -H flag will select High-density mode, but this is just a
placeholder for now, I will fix this later.

Main new thing:  the new action -p will peek at the actual tape data, to
help finding out exactly what this is.  Example:

> back10 -pf AP-D481A-SB_1978.tap -T e11 | head -40
record 0001 Data (25 bytes)
  0000:    000101,,000004    0   4  10   0   2 0  "     "  ' !!  $'
  0001:    124641,,515463   25  32  15  33  31 1  "     "  '*FAILS'
  0002:    414645,,000001  103  32  50   0   0 1  "C (  "  'AFE  !'
  0003:    017500,,210404    3 164   2  21   2 0  " t   "  '!] 1$$'
  0004:    000001,,000002    0   0  10   0   1 0  "     "  '  !  "'
record 0002 MARK
record 0003 Data (175 bytes)
  0000:    777777,,000042  177 177 170   0  21 0  "  x  "  '___  B'
  0001:    446353,,420000  111 116 134  40   0 0  "IN\  "  'DSKB  '
  0002:    000000,,000040    0   0   0   0  20 0  "     "  '     @'
  0003:    000001,,000001    0   0  10   0   0 1  "     "  '  !  !'
  0004:    000010,,000006    0   0 100   0   3 0  "  @  "  '  (  &'
  0005:    654644,,110300  153  32  41  20 140 0  "k ! `"  'UFD)# '
  0006:    777755,,600274  177 176 156   0 136 0  " ~n ^"  '__MP"\'
  0007:    000000,,000200    0   0   0   0 100 0  "    @"  '    " '
  0010:    000000,,000000    0   0   0   0   0 0  "     "  '      '
  0011:    000000,,000000    0   0   0   0   0 0  "     "  '      '
  0012:    000000,,000005    0   0   0   0   2 1  "     "  '     %'
  0013:    000000,,000000    0   0   0   0   0 0  "     "  '      '

... and so on.  The number of words/record can be set with -n, and the
data format for each word can be selected with arguments to -P.  Default
formats are halfword, 7-bit bytes, text and sixbit.  There are also hex
(-Px) and instructions (-Pi) available.  One can also turn off formats
with -P-7 and so on.  Further on (same tape):

> back10 -pf AP-D481A-SB_1978.tap -T e11 -Pi-7 | more

[...]

record 0026 Data (2560 bytes)
  0000:    000000,,000777  "     "  '    '_'
  0001:    306040,,446353  "1B Lu"  '8P@DSK'  cain 1,446353
  0002:    254000,,403740  "+   p"  '5@ @?@'  jrst 0,403740
  0003:    200040,,000415  "     "  '0 @ $-'  move 1,415
  0004:    260740,,415123  ",   )"  '6'@AI3'  pushj 17,415123
  0005:    201040,,000032  " "   "  '0(@  :'  movei 1,32
  0006:    260740,,415123  ",   )"  '6'@AI3'  pushj 17,415123
  0007:    200040,,000416  "     "  '0 @ $.'  move 1,416
  0010:    260740,,415123  ",   )"  '6'@AI3'  pushj 17,415123
  0011:    554040,,000417  "[    "  'M@@ $/'  hlrz 1,417
  0012:    306040,,424163  "1B (9"  '8P@BAS'  cain 1,424163
  0013:    254000,,403747  "+   s"  '5@ @?G'  jrst 0,403747

As before, this is very much a work in progress.  Have fun.

--Johnny
_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to