Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Brian K. White
On 4/21/23 18:15, Brian K. White wrote: ## unk23 is what the old dlplus called "ts-dos mystery command" ## it's unknown what it *really* means, but it's a reliable way to tell the difference between TPDD1 and TPDD2  without locking up the drive by giving an invalid command to the wrong drive.

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Brian K. White
On 4/21/23 18:15, Brian K. White wrote: ## (sum all the bytes, then invert all the bits in that sum) another correction:   Sum all the bytes   Take the least significant byte of that sum   Invert all the bits in that byte The checksum is always only a single byte. -- bkw

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Brian K. White
On 4/21/23 18:15, Brian K. White wrote: ## The Sardine dictionary disk uses 128byte sectors correction, must be 256, given the actual transaction shown -- bkw

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Brian K. White
Ok here is a break down of a transaction to read a single logical sector. It's pdd.sh with debug level 4, interspersed with explanations Below, to cut through everything, all the actual serial port traffic is just the tpdd_read() and tpdd_write() commands. Everything else is just the stuff to a

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread majick
April 21, 2023 at 1:25 PM, "Stephen Adolph" wrote: > > I can't find a python source, only a python executable.  Is there a link to > the python source?  Thanks! > You may mean that you can only find the .deb package, which is a binary installable package for Debian.  I reassembled the conte

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Stephen Adolph
Actually I figured it out. .Deb is an archive. I have the python code now. Cheers. On Friday, April 21, 2023, Kurt McCullum wrote: > I'll send it your way when I get home tonight. It's in the Python code too > so if you need it right away you can download that one. It's just the > response

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Kurt McCullum
The one in the members file area is a Debian Linux install. I can send the individual files later today if that would be easier. Kurt On Fri, Apr 21, 2023, at 1:25 PM, Stephen Adolph wrote: > I can't find a python source, only a python executable. Is there a link to > the python source? Thank

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread John R. Hogerhuis
Python is a script language... Programs only exist as source code. -- John.

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Stephen Adolph
I can't find a python source, only a python executable. Is there a link to the python source? Thanks! On Friday, April 21, 2023, Kurt McCullum wrote: > I'll send it your way when I get home tonight. It's in the Python code too > so if you need it right away you can download that one. It's just

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Stephen Adolph
Thanks for the reminder and info Brian, I had forgotten that you had done this. I can take a look, thanks. Steve On Friday, April 21, 2023, Brian K. White wrote: > On 4/21/23 09:50, Stephen Adolph wrote: > >> Hi, >> Does anyone know of an example of tpdd1 sector access code? >> Thw software ma

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Stephen Adolph
Thank you. The python is probably good. I'll take a look! On Friday, April 21, 2023, Kurt McCullum wrote: > I'll send it your way when I get home tonight. It's in the Python code too > so if you need it right away you can download that one. It's just the > responses to read requests, but it wi

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Brian K. White
On 4/21/23 09:50, Stephen Adolph wrote: Hi, Does anyone know of an example of tpdd1 sector access code? Thw software manual is ok but actual working code is better. Thanks Steve The software manual actually lays it all out. pdd.sh does client-side sector access for both tpdd1 and 2 https://gi

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Kurt McCullum
I'll send it your way when I get home tonight. It's in the Python code too so if you need it right away you can download that one. It's just the responses to read requests, but it will give you the general idea. Kurt On Fri, Apr 21, 2023, at 11:18 AM, Stephen Adolph wrote: > Thanks for the offe

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Stephen Adolph
Thanks for the offer Kurt. I'm specifically after TPDD1 stuff, so that might mean mcomm sardine code? I could also just start writing code to see what works. ..steve On Friday, April 21, 2023, Kurt McCullum wrote: > Steve, > > The Sardine code in mComm has code for responding to the TPDD1 sect

Re: [M100] Tpdd1 sector access example code?

2023-04-21 Thread Kurt McCullum
Steve, The Sardine code in mComm has code for responding to the TPDD1 sectors. I also have some old C# code for a TPDD client that I used to make copies of some disks. At the time I wrote it I only had a TPDD2 (now sold) so it probably isn't what you are looking for, but I could send it your wa

[M100] Tpdd1 sector access example code?

2023-04-21 Thread Stephen Adolph
Hi, Does anyone know of an example of tpdd1 sector access code? Thw software manual is ok but actual working code is better. Thanks Steve