[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ciderpress Possible Problem Reading CP/M Disks
A dump of the directory is attached.
According to http://www.seasip.demon.co.uk/Cpm/format22.html, the layout is:
UU F1 F2 F3 F4 F5 F6 F7 F8 T1 T2 T3 EX S1 S2 RC .FILENAMETYP....
AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL AL ................
and the S1 byte is "reserved, set to 0". In the very first entry (BHEAD.C),
S1 is set to 0x04. Later on, in MORE.C it's set to 0x31.
According to http://www.seasip.demon.co.uk/Cpm/format31.html, S1 can be
used to hold the "Last Record Byte Count", which seems to be an application-
defined field.
CiderPress is expecting the 2.2 format and expecting a zero in that field.
It appears this was a bad assumption.
0003000: 0042 4845 4144 2020 2043 2020 0004 0011 .BHEAD C ....
0003010: 0203 0400 0000 0000 0000 0000 0000 0000 ................
0003020: 0042 4845 4144 2020 2043 4f4d 0074 0048 .BHEAD COM.t.H
0003030: 051e 1f20 2122 232e 2f00 0000 0000 0000 ... !"#./.......
0003040: 004d 4241 5349 4320 2043 4f4d 0000 0080 .MBASIC COM....
0003050: 0607 0809 0a0b 0c0d 0e0f 1011 1213 1415 ................
0003060: 004d 4241 5349 4320 2043 4f4d 0100 0040 .MBASIC COM...@
0003070: 1617 1819 1a1b 1c1d 0000 0000 0000 0000 ................
0003080: 0042 4845 4144 2020 2042 4153 0000 0004 .BHEAD BAS....
0003090: 2400 0000 0000 0000 0000 0000 0000 0000 $...............
00030a0: 0050 4950 2020 2020 2043 4f4d 0000 003a .PIP COM...:
00030b0: 2526 2728 292a 2b2c 0000 0000 0000 0000 %&'()*+,........
00030c0: 004d 4f52 4520 2020 2043 4f4d 0050 003d .MORE COM.P.=
00030d0: 3031 3233 3435 3637 0000 0000 0000 0000 01234567........
00030e0: 0053 5542 4d49 5420 2043 4f4d 0000 000a .SUBMIT COM....
00030f0: 2d3f 0000 0000 0000 0000 0000 0000 0000 -?..............
0003600: 004d 4f52 4520 2020 2043 2020 0031 0010 .MORE C .1..
0003610: 3839 0000 0000 0000 0000 0000 0000 0000 89..............
0003620: 0045 584d 504c 2020 2043 2020 000e 0003 .EXMPL C ....
0003630: 3a00 0000 0000 0000 0000 0000 0000 0000 :...............
0003640: 0045 584d 504c 2020 2042 494e 0000 0044 .EXMPL BIN...D
0003650: 3b3c 3d3e 4041 4243 4400 0000 0000 0000 ;<=>@ABCD.......
0003660: 0045 584d 504c 2020 2043 4f4d 0000 0044 .EXMPL COM...D
0003670: 4546 4748 494a 4b4c 4d00 0000 0000 0000 EFGHIJKLM.......
0003680: 004c 4f41 4420 2020 2043 4f4d 0000 000e .LOAD COM....
0003690: 6263 0000 0000 0000 0000 0000 0000 0000 bc..............
00036a0: e552 5731 3320 2020 2043 4f4d 0000 0012 .RW13 COM....
00036b0: 6465 6600 0000 0000 0000 0000 0000 0000 def.............
00036c0: 0041 5044 4f53 2020 2043 4f4d 0000 000d .APDOS COM....
00036d0: 6768 0000 0000 0000 0000 0000 0000 0000 gh..............
00036e0: e542 4845 4144 2020 2043 2020 0000 0012 .BHEAD C ....
00036f0: 5657 5800 0000 0000 0000 0000 0000 0000 VWX.............
0003c00: e558 5355 4220 2020 2043 4f4d 0000 0006 .XSUB COM....
0003c10: 6b00 0000 0000 0000 0000 0000 0000 0000 k...............
0003c20: e544 554d 5020 2020 2041 534d 0000 0021 .DUMP ASM...!
0003c30: 6c6d 6e6f 7000 0000 0000 0000 0000 0000 lmnop...........
0003c40: e544 554d 5020 2020 2043 4f4d 0000 0004 .DUMP COM....
0003c50: 7100 0000 0000 0000 0000 0000 0000 0000 q...............
0003c60: e545 584d 504c 2020 2043 4f4d 0000 0000 .EXMPL COM....
0003c70: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0003c80: 0043 504d 3536 2020 2043 4f4d 0000 0054 .CPM56 COM...T
0003c90: 7374 7576 7778 797a 7b7c 7d00 0000 0000 stuvwxyz{|}.....
0003ca0: e54b 494e 2020 2020 2042 414b 0000 0000 .KIN BAK....
0003cb0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0003cc0: e54b 494e 2020 2020 2020 2020 0000 0001 .KIN ....
0003cd0: 6a00 0000 0000 0000 0000 0000 0000 0000 j...............
0003ce0: e54b 494e 2020 2020 2050 524e 0000 0003 .KIN PRN....
0003cf0: 7e00 0000 0000 0000 0000 0000 0000 0000 ~...............
0003300: e54b 494e 2020 2020 2048 4558 0000 0001 .KIN HEX....
0003310: 7f00 0000 0000 0000 0000 0000 0000 0000 ................
0003320: e54b 494e 2020 2020 2043 4f4d 0000 0000 .KIN COM....
0003330: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0003340: e5e5 e5e5 e5e5 e5e5 e5e5 e5e5 e5e5 e5e5 ................
[...]
--
Send mail to fadden@fadden.com (Andy McFadden) - http://www.fadden.com/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/