[M100] MiniNDP

2023-12-12 Thread Brian K. White



MiniNDP now supports 512k and the Bank button in RAM100.CO / RAM200.CO 
is functional.


https://github.com/bkw777/NODE_DATAPAC#minindp

Now to figure out how to operate it from BASIC to reimpliment the lost 
BOOT program that apparently could read a copy of RAMDSK.CO from the 
device without having RAMDSK or the original option rom already installed.


How does one cause the /YO, (A), A8, A9, A10 pins to do what you want?

I think I need to do these:

Select bank 0 block 0:
(A) /YO: H L
A15-A0 : x001
AD7-AD0: 

Select bank 1 block 75:
(A) /YO: H L
A15-A0 : x101
AD7-AD0: 01001011

Read a byte:
(A) /YO: H L
A15-A0 : x011
AD7-AD0: 

Write a byte, value 133:
(A) /YO: H L
A15-A0 : x011
AD7-AD0: 1101

One of the archived docs says that for BOOT to work it was important 
that the copy of RAMDSK.CO was the first file written to a freshly 
blanked device. So the bootstrap program probably just did a simple loop 
of reads starting at a hardcoded starting offset, no fancy file table 
parsing or anything. Whatever it was, it was as short as possible to 
type in manually.


--
bkw


[M100] Question about TPDD/FB100

2023-12-12 Thread runrin
Hey all

I acquired an FB100 recently, popped it open and checked the belt, and
it looks brand new.

I spent a few hours building some of bwk's TPDD cables tonight and
testing it out, but I'm struggling to get the drive working.

When I connect the drive to my M100 and use the TS-DOS rom, the drive
access light pops up, and then it tells me my disk isn't formatted (it's
not). Then when I press "Y" to format, there is no activity on the
access light.

I tried hooking it up to my Linux box with the WP-2/PC cable and pdd.sh,
and I get no response at all from the drive. No access light at all even
with an `ls' or `ready' command.

I checked the jumpers on the bottom and one was bridged, so I tried
desoldering that (since the TPDD manual suggests setting the DIP
switches to all off), and it didn't make any difference.

Any thoughts what might be going on?

Thanks!!


Re: [M100] 19.2Kbps on the Tandy 102

2023-12-12 Thread Daryl Tester

On 13/12/23 09:39, John R. Hogerhuis wrote:


But what I recollect and what happened are not always the same thing.


Oh man, I hear you there, especially the more ... "seasoned" I get.

Cheers,
  --dt


Re: [M100] 19.2Kbps on the Tandy 102

2023-12-12 Thread Mike Stein
"But what I recollect and what happened are not always the same thing."

Ah yes... more and more, more and more every day...

On Tue, Dec 12, 2023 at 6:09 PM John R. Hogerhuis  wrote:
>
>
>
> On Tue, Dec 12, 2023 at 3:00 PM Mike Stein  wrote:
>>
>> I've never had any problems at 19.2K using Windows so, as John
>> suggests. there may be Linux-specific issues.
>>
>> There are buffers in most if not all USB-RS232 adapters and also in
>> the program on the PC at the other end, and sometimes these need to be
>> tuned a bit. When I send a 25K file from TeraTerm to an M100, TeraTerm
>> finishes in 1/2 minute or so, but the M100 still receives data for
>> another minute.
>>
>> And don't forget that TEXT is usually effectively faster for
>> transferring files since it doesn't have to display or scroll.
>>
>> m
>>
>
> Well Brian is seeing xon/xoff working fine with Linux at high speed with his 
> setup.
>
> Maybe time to try the experiments again to figure out what is different.
>
> Also T200 not working with hardware flow control? It used to. Steve ported 
> HTERM to it. I do recall we had issues with the > 19200bps baud rates on the 
> T200.
>
> But what I recollect and what happened are not always the same thing.
>
> -- John.


Re: [M100] 19.2Kbps on the Tandy 102

2023-12-12 Thread Brian Brindle
Thanks Runrin,

I was pretty happy with how the Pi Zero version turned out. I've had this
setup in some form or another for several years. The original version of
this was on a larger raspberry pi so I have used USB to serial adapters
without issues. Initially the Zero was run off of a USB to serial adapter
as well until one day I thought I might be able to stuff a MAX232 inside
the tiny case with a bulkhead mount RS323 and it worked. So presently you
can use my Zero on the M100 either via ttyUSB0 or ttyS0. Results are the
same. I do recommend using a FT232RL based converter or an authentic
Prolific PL2303 if you can find it. That way you know you are getting
something with correct voltage levels.

Brian


On Tue, Dec 12, 2023 at 8:13 PM runrin  wrote:

> Wow Brian!
>
> This setup with the Pi attached to the back looks amazing. It's attached
> so cleanly as well. I appreciate you doing the `stty' at the end,
> hopefully mirroring your setup will help me get things working better on
> my end.
>
> I do wonder if the fact that you are using the Pi's GPIO pins to do
> serial instead of a USB adapter is part of why your system is working so
> well. If you have a USB adapter floating around, I'd be really curious
> if you got the same results with that connected to the PI instead of
> connecting it directly.
>
> Thanks again for sharing your experience getting this working.
>
> On Tue, Dec 12, 2023 at 05:42:28PM -0500, Brian Brindle wrote:
> >This has come up in discussion a few times so I wanted to show that
> >19.2Kbps on the Tandy 100 is possible with only software flow control.
> >
> >Here is a video of me creating a 500 line 40 col file that is 20KB,
> >transferring it to the M102 and back again using the 19.2Kbps serial
> >connection. It gets slowed down due to the screen being so slow making
> >it absolutely of no value to be running at those speeds but does
> >demonstrate that flow control can be used on a Linux device in this
> >situation.
> >
> >Hardware flow control would work best and is what I would recommend
> but
> >I wanted a device that would work on a stock M100/102 and on a M200
> >where the flow control lines do not work properly.
> >
> >It's apparently really hard to film, type and remember what to say so
> I
> >apologize for that..
> >
> >[1]https://youtu.be/BGxx__Zr1O4
> >
> >Brian
> >
> > References
> >
> >1. https://youtu.be/BGxx__Zr1O4
>


Re: [M100] 19.2Kbps on the Tandy 102

2023-12-12 Thread runrin
Wow Brian!

This setup with the Pi attached to the back looks amazing. It's attached
so cleanly as well. I appreciate you doing the `stty' at the end,
hopefully mirroring your setup will help me get things working better on
my end.

I do wonder if the fact that you are using the Pi's GPIO pins to do
serial instead of a USB adapter is part of why your system is working so
well. If you have a USB adapter floating around, I'd be really curious
if you got the same results with that connected to the PI instead of
connecting it directly.

Thanks again for sharing your experience getting this working.

On Tue, Dec 12, 2023 at 05:42:28PM -0500, Brian Brindle wrote:
>This has come up in discussion a few times so I wanted to show that
>19.2Kbps on the Tandy 100 is possible with only software flow control.
> 
>Here is a video of me creating a 500 line 40 col file that is 20KB,
>transferring it to the M102 and back again using the 19.2Kbps serial
>connection. It gets slowed down due to the screen being so slow making
>it absolutely of no value to be running at those speeds but does
>demonstrate that flow control can be used on a Linux device in this
>situation.
> 
>Hardware flow control would work best and is what I would recommend but
>I wanted a device that would work on a stock M100/102 and on a M200
>where the flow control lines do not work properly.
> 
>It's apparently really hard to film, type and remember what to say so I
>apologize for that..
> 
>[1]https://youtu.be/BGxx__Zr1O4
> 
>Brian
> 
> References
> 
>1. https://youtu.be/BGxx__Zr1O4


Re: [M100] 19.2Kbps on the Tandy 102

2023-12-12 Thread Brian Brindle
Thanks Mike, all good suggestions for sure but I was aiming to make the
worst possible situation to push the flow control as hard as I could.

John, before you questioned it I was certain, but now my memory may be
failing me but I seem to recall the T200 stealing the flow controlines to
run the latch logic for the barcode port? I'll need to go back through my
notes on that one though. I could be confusing it for another retro
computer.




On Tue, Dec 12, 2023, 6:09 PM John R. Hogerhuis  wrote:

>
>
> On Tue, Dec 12, 2023 at 3:00 PM Mike Stein  wrote:
>
>> I've never had any problems at 19.2K using Windows so, as John
>> suggests. there may be Linux-specific issues.
>>
>> There are buffers in most if not all USB-RS232 adapters and also in
>> the program on the PC at the other end, and sometimes these need to be
>> tuned a bit. When I send a 25K file from TeraTerm to an M100, TeraTerm
>> finishes in 1/2 minute or so, but the M100 still receives data for
>> another minute.
>>
>> And don't forget that TEXT is usually effectively faster for
>> transferring files since it doesn't have to display or scroll.
>>
>> m
>>
>>
> Well Brian is seeing xon/xoff working fine with Linux at high speed with
> his setup.
>
> Maybe time to try the experiments again to figure out what is different.
>
> Also T200 not working with hardware flow control? It used to. Steve ported
> HTERM to it. I do recall we had issues with the > 19200bps baud rates on
> the T200.
>
> But what I recollect and what happened are not always the same thing.
>
> -- John.
>


Re: [M100] 19.2Kbps on the Tandy 102

2023-12-12 Thread John R. Hogerhuis
On Tue, Dec 12, 2023 at 3:00 PM Mike Stein  wrote:

> I've never had any problems at 19.2K using Windows so, as John
> suggests. there may be Linux-specific issues.
>
> There are buffers in most if not all USB-RS232 adapters and also in
> the program on the PC at the other end, and sometimes these need to be
> tuned a bit. When I send a 25K file from TeraTerm to an M100, TeraTerm
> finishes in 1/2 minute or so, but the M100 still receives data for
> another minute.
>
> And don't forget that TEXT is usually effectively faster for
> transferring files since it doesn't have to display or scroll.
>
> m
>
>
Well Brian is seeing xon/xoff working fine with Linux at high speed with
his setup.

Maybe time to try the experiments again to figure out what is different.

Also T200 not working with hardware flow control? It used to. Steve ported
HTERM to it. I do recall we had issues with the > 19200bps baud rates on
the T200.

But what I recollect and what happened are not always the same thing.

-- John.


Re: [M100] 19.2Kbps on the Tandy 102

2023-12-12 Thread Mike Stein
BTW, another tip: if you're sending a text file to the M100, send it
without Line Feeds (i.e. only CR) if possible; that will save time
since there's no scrolling, and that's how the M100 sends files
anyway.

On Tue, Dec 12, 2023 at 5:43 PM Brian Brindle  wrote:
>
> This has come up in discussion a few times so I wanted to show that 19.2Kbps 
> on the Tandy 100 is possible with only software flow control.
>
> Here is a video of me creating a 500 line 40 col file that is 20KB, 
> transferring it to the M102 and back again using the 19.2Kbps serial 
> connection. It gets slowed down due to the screen being so slow making it 
> absolutely of no value to be running at those speeds but does demonstrate 
> that flow control can be used on a Linux device in this situation.
>
> Hardware flow control would work best and is what I would recommend but I 
> wanted a device that would work on a stock M100/102 and on a M200 where the 
> flow control lines do not work properly.
>
> It's apparently really hard to film, type and remember what to say so I 
> apologize for that..
>
> https://youtu.be/BGxx__Zr1O4
>
> Brian
>


Re: [M100] 19.2Kbps on the Tandy 102

2023-12-12 Thread Mike Stein
I've never had any problems at 19.2K using Windows so, as John
suggests. there may be Linux-specific issues.

There are buffers in most if not all USB-RS232 adapters and also in
the program on the PC at the other end, and sometimes these need to be
tuned a bit. When I send a 25K file from TeraTerm to an M100, TeraTerm
finishes in 1/2 minute or so, but the M100 still receives data for
another minute.

And don't forget that TEXT is usually effectively faster for
transferring files since it doesn't have to display or scroll.

m

On Tue, Dec 12, 2023 at 5:43 PM Brian Brindle  wrote:
>
> This has come up in discussion a few times so I wanted to show that 19.2Kbps 
> on the Tandy 100 is possible with only software flow control.
>
> Here is a video of me creating a 500 line 40 col file that is 20KB, 
> transferring it to the M102 and back again using the 19.2Kbps serial 
> connection. It gets slowed down due to the screen being so slow making it 
> absolutely of no value to be running at those speeds but does demonstrate 
> that flow control can be used on a Linux device in this situation.
>
> Hardware flow control would work best and is what I would recommend but I 
> wanted a device that would work on a stock M100/102 and on a M200 where the 
> flow control lines do not work properly.
>
> It's apparently really hard to film, type and remember what to say so I 
> apologize for that..
>
> https://youtu.be/BGxx__Zr1O4
>
> Brian
>


[M100] 19.2Kbps on the Tandy 102

2023-12-12 Thread Brian Brindle
This has come up in discussion a few times so I wanted to show that
19.2Kbps on the Tandy 100 is possible with only software flow control.

Here is a video of me creating a 500 line 40 col file that is 20KB,
transferring it to the M102 and back again using the 19.2Kbps serial
connection. It gets slowed down due to the screen being so slow making it
absolutely of no value to be running at those speeds but does demonstrate
that flow control can be used on a Linux device in this situation.

Hardware flow control would work best and is what I would recommend but I
wanted a device that would work on a stock M100/102 and on a M200 where the
flow control lines do not work properly.

It's apparently really hard to film, type and remember what to say so I
apologize for that..

https://youtu.be/BGxx__Zr1O4

Brian