Parallelport communication.

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
chucker
Newbie
Posts: 3
Joined: Thu Aug 02, 2018 6:49 am

Parallelport communication.

Post by chucker » Thu Aug 02, 2018 7:24 am

Hello!

So, I am in the lucky situation that i have just revived an old IBM machine. However, the problem with the machine is, that it has only IBM MCA card expansions, the harddrive is ESDI and the only communication options it has, is a DB25 parallelport and a DB25 Serial port. And also a PS/2 port (of which its famous). My disk-drive on it, is broken..

So, I have DOS 5.2, QBasic - and a lot of potential time.

My thoughts were to make a serial or parallel-port transferring programming, in Basic, both on the P70 and on the sending machine - my 200mhz DOS-gaming machine. That way I could probably send over some smarter programs, than the one I plan to build.

So, one of the things I thought of building, and im not sure if this is possible, is a small EPROM-adapter. And arduino holds address-pin on an EEPROM, the data pins are wired to the parallelport D0-7. The arduino listens on one of the parallel pins, lets say Linefeed, when this is changes to high, the arduino increments the address lines by +1. This changes the eprom output - which can be read by the PC and saved. This will probably work, but I feel its a dumb solution.

Another way would simply be to use my 200mhz DOS gaming machine, to make a sending-program, however Im not really all that well traversed in "real parallel talk" - and especially not in qbasic.

Can anyone help?

chucker
Newbie
Posts: 3
Joined: Thu Aug 02, 2018 6:49 am

Re: Parallelport communication.

Post by chucker » Thu Aug 02, 2018 7:25 am

I forgot to mention; I do have an MCA modem, but no modem software - and no modem emulator at hand (if any is available - or can be coded)

chucker
Newbie
Posts: 3
Joined: Thu Aug 02, 2018 6:49 am

Re: Parallelport communication.

Post by chucker » Thu Aug 02, 2018 8:46 am

It just occurred to me that I can probably pull this off with the "copy filename.txt COM1" command - and without any qbasic what so ever. This saddens me. I will revive the thread if by any merry happenstance that doesnt work, and i have to code it myself.

User avatar
burger2227
Veteran
Posts: 2230
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Re: Parallelport communication.

Post by burger2227 » Fri Aug 03, 2018 9:01 am

Here is my Qbasics Demo with chapter 11 on Serial and parallel ports:

https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0

Post Reply