Re: [M100] Serial IO from BASIC

2018-10-30 Thread Peter Vollan
Thank you. Could you point me to where I could find this documentation? FYI my LD player does not use IR, only a wired remote. On Mon, 29 Oct 2018 at 20:19, Scott Lawrence wrote: > > okay some responses now that i'm in front of this setup: > > Peter Vollan: > - The laserdisc player docs are

Re: [M100] Serial IO from BASIC

2018-10-29 Thread Scott Lawrence
okay some responses now that i'm in front of this setup: Peter Vollan: - The laserdisc player docs are online, which includes wiring pinouts for the DB15 on the back. For this one, It's got TTL and "standard 12v" serial pins on it. I've not gotten the TTL interface to work, but the RS-232 12v

Re: [M100] Serial IO from BASIC

2018-10-29 Thread Brian White
Original SD2TPDD https://github.com/TangentDelta/SD2TPDD My 2 modified versions (neither is a finished product exactly, just to be clear. I got them basically working a few weeks ago, and haven't worked on them since then.) Teensy 3.5/3.6: https://github.com/aljex/SD2TPDD/tree/bkw_teensy36

Re: [M100] Serial IO from BASIC

2018-10-29 Thread Peter Vollan
This is very interesting. I have a Pioneer LD-4200; it has a serial port but it is a non standard one that uses a 15 pin connector. And it uses a wired remote that I don't have. On Mon, 29 Oct 2018 at 09:28, Kevin Becker wrote: > > Here is the arduino TPDD project. I believe this is actually

Re: [M100] Serial IO from BASIC

2018-10-29 Thread John R. Hogerhuis
I think the Greg is right you have to open for input and output. I havent done bidirectional serial from basic. Just assembly. Is flow control at play here? Remember the receive queue is 64 bytes. If responses are longer than that you're going to lose data unless flow control is engaged. --

Re: [M100] Serial IO from BASIC

2018-10-29 Thread Kevin Becker
Here is the arduino TPDD project. I believe this is actually Brian's fork of the original code. https://github.com/TangentDelta/SD2TPDD On Mon, Oct 29, 2018 at 12:15 PM Scott Lawrence wrote: > I thought I had tried that, but it was giving me an EF error ... I'll try > again tonight. maybe i

Re: [M100] Serial IO from BASIC

2018-10-29 Thread Bob Pigford
You might also need to set MAXFILES to 2 at the beginning of your code. 5 MAXFILES = 2 -Original Message- From: M100 [mailto:m100-boun...@lists.bitchin100.com] On Behalf Of Greg Swallow Sent: Monday, October 29, 2018 12:10 PM To: m...@bitchin100.com Subject: Re: [M100] Serial IO from

Re: [M100] Serial IO from BASIC

2018-10-29 Thread Scott Lawrence
I thought I had tried that, but it was giving me an EF error ... I'll try again tonight. maybe i was tired when I wrote it... the contrast on my '200 screen is pretty low. :( -s On Mon, Oct 29, 2018 at 12:10 PM Greg Swallow wrote: > You will have to open COM for input as well: > > 10 OPEN

Re: [M100] Serial IO from BASIC

2018-10-29 Thread Scott Lawrence
And i see now (because i forgot to even look this route, assuming i could do full COM io through basic, but I could always do IN/OUT calls from BASIC to just work on the serial port directly... Would OPEN "COM:" FOR APPEND AS 1 work? I can't seem to find the Arduino-based tpdd project you're

Re: [M100] Serial IO from BASIC

2018-10-29 Thread Greg Swallow
You will have to open COM for input as well: 10 OPEN "COM:78N1DNI" FOR OUTPUT AS 1 15 OPEN "COM:78N1DNI" FOR INPUT AS 2 20 ON COM GOSUB 100 30 COM ON 40 REM Send seek to frame 1000 50 PRINT #1, "FR1000SE" 60 REM when the player gets there, it responds "R" via serial 70 GOTO 70 100 REM Got serial

Re: [M100] Serial IO from BASIC

2018-10-29 Thread Brian White
You can do tpdd to a pc or mac or pi etc for free. Just need a usb-serial adapter and serial cable. There is also an initial arduino implimentation that works on at least a few boards that have sd readers and usb interfaces already built-in, if you're up for that. Jimmy Petit wrote it and I have

Re: [M100] Serial IO from BASIC

2018-10-29 Thread Josh Malone
Since you've opened the serial port for OUTPUT, I'm not sure you can read from it. There's no (documented) mode for R/W to a file or serial port in BASIC (that I can find). You might have to do a PRINT, CLOSE, OPEN, INPUT dance. :-/ For saving files, if you have an android device, look into