mbbrutman
This is an IBM internal training video designed to introduce the IBM PC AT to sales and service personnel. Sections include an overview, installation and setup, removing and replacing FRUs (Field Replaceable Units), and running diagnostics.
updated 13 years ago
mTCP Telnet has had support for RLE graphics for a few years and a fork of mTCP Telnet added support for color Sixel graphics a few years ago. I was able to add black & white Sixel support with just 1KB of code, so I'm including it as part of Telnet now. (See the notes for a link to the color version.)
A BBS or online MUD could make great use of this feature. Imagine Zork with graphics, like a map being updated each time you enter a new room.
See:
• brutman.com/mTCP/mTCP.html for mTCP (a new release is available!)
• github.com/jhpyle/mTCP for the fork of mTCP Telnet that includes color Sixel support.
• brutman.com/RLE/RLE_Graphics.html for a discussion of CompuServe RLE graphics.
See how the new mTCP NetDrive improves performance with a quick demonstration.
My server is about 1000 miles away with a 50ms ping time. When the RLE loads on this 386 you can see the delays to read the file data from the remote machine. With read-ahead streaming the NetDrive client tells the server to send file data before it is needed. You can see the difference as the RLE loads.
Without read-ahead streaming the bandwidth to the machine is limited to about 17KB/sec. With read-ahead streaming, larger reads can rocket past 200KB/sec. (I've measured up to 380KB/sec on the same machine.) All of this happens without a single extra byte of RAM being used.
Read-ahead will be available in the next mTCP. I've been working on it for about a year and a half now, along with improvements to write speeds and some functional improvements. I'm just trying to ensure I get enough testing on a variety of systems before I send it out.
Download the test code from brutman.com/mTCP/mTCP_NetDrive.html#Testing . My NetDrive server at brutman.com is also available for testing - the details on how to connect to it are on that page.
A bunch of machines are actively trying to scrape content from the PCjr, but the URLs are a mis-mash of real URLs combined together incorrectly. This results in a 404 error (Not found) or a 414 error (URL is too long). On occasion a real user gets through.
This has been going on for days, but it did expose a bug in my code. I've fixed the bug and now here we go again ...
This is a public service; my sacrificing a PCjr to them I'm keeping them away from your machines!
For more on the PCjr web server, see brutman.com/PCjr/pcjr_web_server.html or try to get it directly from the PCjr at http://brutmanlabs.org/PCjr/pcjr_web_server.html
A bunch of machines are actively trying to scrape content from the PCjr, but the URLs are a mis-mash of real URLs combined together incorrectly. This results in a 404 error (Not found) or a 414 error (URL is too long). On occasion a real user gets through.
This has been going on for days, but it did expose a bug in my code. I've fixed the bug and now here we go again ...
This is a public service; my sacrificing a PCjr to them I'm keeping them away from your machines!
For more on the PCjr web server, see brutman.com/PCjr/pcjr_web_server.html or try to get it directly from the PCjr at http://brutmanlabs.org/PCjr/pcjr_web_server.html
This has been going on for over an hour. It's fun to watch the idiots get rate limited by a PCjr, which is working as fast as it can. (It's running at 4.77Mhz with an NEC V20 CPU.)
The inset window has the log messages, which are rolling past on the screen. (The machine sends that text out on UDP, and I have another machine listening to that. It's much easier to read than the LCD flat panel.)
The machine has over 1630 hours of runtime on it so far. It will just keep doing this until the power goes out, and even then I have it on a UPS. ;-0
Have you ever deleted a file that was difficult to recover or accidently corrupted your hard drive? Recovering from those things can be a royal pain.
mTCP NetDrive now supports journaled drive images, so that you can basically "undo" your way back out of a problem. Everything is controlled from the DOS side, allowing you to recover from mistakes corruption in seconds.
See brutman.com/mTCP/mTCP_NetDrive.html for the downloads and a link to the documentation.
(2024-02-19 Update - the newest version of the DOS device driver adds support for multiple network drives. Now you can add up to 24 drives, 2 GB each!)
Three months ago I demonstrated a project that I was working on. Since then I've added a lot to it and formally released the first version of it so I figured it was time to create a proper video.
mTCP NetDrive lets you add storage to your DOS machine over the network. The server side runs under Windows or Linux and it serves standard virtual disk images. Performance will be best on your local network but because IP/UDP is routable you can connect a DOS client to a remote server far away. The server is available for Windows and Linux (x86 and Arm).
The DOS device driver works on all versions of DOS going back to 2.0. The driver takes up about 6KB of RAM and it can be loaded high. You also need another 5 to 10KB for the packet driver used to talk to the network card.
More information: brutman.com/mTCP/mTCP_NetDrive.html
When the machine hit 2,500 hours of continuous run-time it was a small miracle. In about an hour it's going to hit 5,000 hours of continuous run-time. No reboots or restarts; just epic uptime for a home computer that is nearly 40 years old.
In the time it has been running it has handled traffic surges from the DOS ChatGPT client news, Hacker News, Tom's Hardware, and Hackaday. I had to patch the program live using DEBUG.COM to get it to stop logging because I only allocated 200MB of log space and I never expected it to run for so long.
For those of you watching live: try sending a request and looking for your IP address scroll by! (There is a small amount of video processing lag, so give it up to a minute.)
The server is a Go program that will run under Windows or Linux. It uses IP and UDP, so no special permissions or packages are needed for it. Performance will be best on your local network but because IP and UDP are routable you can connect a DOS client to a remote server, or even have several DOS clients sharing a read-only remote drive. (Think about being able to download software over the Internet using DOS copy commands like the server was a local hard drive ...)
On the DOS side there is a device driver that looks like a block mode device that does all of it's I/O over the network. DOS 2 and up will be supported. The device driver is 5KB in size with no additional RAM consumed. There is also a command line utility that is used to connect and disconnect the virtual hard drives to the drive letter reserved by the device driver.
I'll be busy with this the next few months; it has to be absolutely reliable which means there is a lot of testing to do. Look for it in early 2024.
----
(Feel free to ask questions in the chat ...)
More watching the paint dry as the PCjr web server tries to keep up with the incoming requests.
On Sunday morning Tom's Hardware wrote an article about the machine, which had crossed 2,500 hours of continuous runtime. That might not seem like much, but it's a 39 year old computer running IBM DOS 5.02 basically serving every request, including malicious ones. TCP/IP is running natively on the machine; my router just forwards everything on port 80 to the machine.
The machine is running IBM PC DOS 5.02 and the mTCP HTTP Server. The details can be found on the machine at brutmanlabs.org.
Try sending a request and looking for your IP address scroll by! (There is a small amount of video processing lag, so give it up to a minute.)
(And yes, this is supposed to be mildly amusing. Streaming my poor machine as it fought against the hug of death seemed like the right thing to do at the time. The machine survived it and it is still running.)
-----
(2023-07-18 I did it again! This time with a better setup; the new stream was doing using OBS and has the Google Analytics dashboard being displayed side-by-side with the machine. See youtube.com/watch?v=qYne7MSjEqU. Otherwise, it's just as boring ...)
Watch as the PCjr web server fights against the load being sent to it. The traffic wave was triggered by tomshardware.com/news/39-year-old-477-mhz-dos-web-server-hits-2500-hours-of-uptime.
No audio. It's like watching paint dry. I turned off the beep that happens for each connection because that adds 50 milliseconds onto every request and this machine needs all of the help it can get now.
If you can get a request to the machine you should be able to see it scroll by!
Details about the machine can be found on the machine at brutmanlabs.org.
What is an RLE? It is a 256x192 black and white image encoded using run length encoding to cut the file size down a little bit. These could be downloaded from Compuserve and they were often passed around on BBSs. I've used the ones I downloaded in 1987 for other projects, such as my IBM 5181 printer demonstration.
The RLE file format is pretty simple so I decided to add it to mTCP Telnet. Now you can look at graphics files right in your terminal, just like you were running VIDTEX back in 1985! This video shows the mTCP Telnet client connecting to a simple server, selecting files and rendering them right from the Telnet client. Real vintage hardware is just a little bit slower. The server is public and available if you want to test against it.
For more information on RLE see http://www.brutman.com/RLE/RLE_Graphics.html. The version of the mTCP Telnet client shown here can be found at http://www.brutman.com/mTCP/mTCP.html. If you want to play along at home the server that I used in this video at brutman.com port 8086 is waiting - just connect with this version of Telnet and surf images like it is 1987!
Hard drives have been using voice coil motors to position the read and write heads for decades now, but it all seems like magic. Here I demonstrate how a hard drive uses varying amounts of current on the voice coil motor to move the actuator across the platters.
A hard drive makes scheduling decisions, deciding how far and how fast the heads need to be moved to intercept the data that is on the spinning platters. That scheduling decision gets turned into current inputs to the voice coil motor, causing movement at the desired speed and distance. The calculations have to be fairly precise, as there are 10s of thousands of tracks per inch on a hard drive from this generation. (Modern hard drives can have 400,000 or more tracks per inch.)
The donor drive is an old Quantum Prodrive LPS. I found the two wires that energize the voice coil and I have soldered two wires to them, allowing me to energize the voice coil with an external voltage source such as a AA battery. While that works, it is hard to control.
For this demo I've gone a step further and I am using a MicroBit embedded computer to control the timing of the voltage pulses to the voice coil motor, demonstrating how small and large movements are made. Small movements are used when streaming data from a large file that is not fragmented. Larger movements are caused by workloads that need data from all over the drive.
Don't try this on a hard drive that you want to use later. :)
For reference: the Python program used on the MicroBit:
from microbit import *
while True:
if button_a.is_pressed() and button_b.is_pressed():
# Fast seek: apply about 2.1V
pin1.write_analog(700)
sleep(70)
pin1.write_analog(0)
else:
if button_a.is_pressed():
# Slow seek: apply about 0.3V
pin1.write_analog(100)
sleep(200)
pin1.write_analog(0)
else:
if button_b.is_pressed():
# Medium seek: apply about 0.75V
pin1.write_analog(250)
sleep(200)
pin1.write_analog(0)
sleep(200)
Magnetic hard drives make plenty of noises and you can usually tell what one is doing by the noise it makes. An old "telephone listener" device (an electromagnetic pickup coil with an amplifier) can be used to hear the spindle motor, voice coil, and other electronics in a way that your human ears can't. Listen to the difference between a healthy Maxtor hard drive and an IBM "DeathStar" which is having problems loading its firmware from the reserved area after spinning up.
More silly stuff at brutman.com
More information about this printer is available at brutman.com/PCjr/pc_compact_printer.html .
(Small correction: the Hitachi can address up to 64KB of RAM. A 2KB SRAM chip can be found on the board under the printer mechanism.)
I'm disappointed that VCF PNW 2020 had to be cancelled but #RetroFair is a nice consolation prize. John, thanks for putting it together.
A quick demonstration of the IBM Compact Printer from 1984 printing a Compuserve RLE graphic. The printer was a low-cost thermal printer designed for the PCjr. As the PCjr did not have a standard serial port, the printer uses a serial interface with the special rectangular Berg connector running at 1200 bits per second.
More information can be found at http://www.brutman.com/PCjr/pc_compact_printer.html.
The original IBM CGA video card required the programmer to be very careful when modifying the video buffer memory. In 80x25 text mode if you just simply wrote to the video memory you could cause a visible screen glitch. This was due to the card not using dual ported RAM.
Other video cards fixed that design flaw so CGA snow is rarely encountered. Here you can see how it looks on the IBM Portable PC.
The program that is running is the IRCjr IRC client for DOS. I was terrible in my quest for speed and usability; a 4.77Mhz CPU is challenging to work with. Future versions of the program will have a mode to eliminate the CGA snow when used on an IBM CGA card. (I'm finally fixing that bug!)
In this video I am recovering the data from the drive, reading it one track at a time and sending the track data over a network to a modern machine for imaging. (The host machine here is an IBM PC XT running with the covers off.) You will notice very small motions as the drive heads move from track to track. When an error is encountered the recommended procedure is to perform a drive reset and try again, up to three times. You will be able to see where the errors are by the large seeking motions the drive will make when it hits an error and is told to reset before retrying.
(I thought it was so neat that I had to get a video of it.)
This particular drive was manufactured by MiniScribe of Longmont, Colorado, assembled in Singapore in March of 1987. For a 27 year old hard drive it is doing very very well. (Only 5 sectors were found to be unreadable.)
The sales training package dates back to October 1983.
Imagic ported Demon Attack to the PCjr in late 1983 or early 1984. It is a basic "shoot any alien that moves" type of game with pretty decent graphics and excellent sound. This demo shows the cartridge version of the game which works on any PCjr including those without a diskette drive. Space on the cartridge is in short supply so Imagic could not put a title screen up before the game starts!
The game looks much better on a real RGB monitor. This capture was taken from the composite port on the back of the machine which is better than shooting a camera at the screen but not as good as the RGB signal.
Note the wonderful sounds of the 5.25" diskette drive seeking during the boot process. The keyboard is not an authentic PCjr keyboard - it is a keyboard from an IBM PC being used with an adapter. (A PCjr keyboard would never have that kind of clickety-clack action going on.)
More information about the PCjr can be found at http://www.brutman.com/PCjr, and more information about IRCjr can be found at http://www.brutman.com/mTCP/IRCjr.html .
A more detailed description can be found here:
http://brutman.com/PCjr/pcjr_legacy.html


