Skip to main content

Knitwear Designer for the BBC Micro, project part 1

 K

nitwear Designer from Database Publications, written by Kendall Down.

Some time ago I discovered and bought this software. It allows you to design a jumper or other knitwear; give it some sizes and your knitting gauge, and it gives you a knitting pattern. I believe it works on the Electron as well as BBC and Master, but I don't have a disc drive for the Electron. In the following pictures I'm using it on a model B+. 

The disc worked, the only issue was that it sends its output to the printer.  If you're knitting the garment then you really do want the pattern on paper.  Frustratingly I gave away a Centronics dot matrix printer just a couple of years ago, slimming down for a house move. It's not the kind of thing I really want to give space to again. Is it possible to connect a modern printer to a BBC via RS232?  I'm not sure.  If it's possible to save the output as a text file and recall it and read it off the screen, then I suppose that might work.  If that's possible, I couldn't find out how to do it [1].  
It is of course possible to use this software in the Beebem emulator and capture the print output as a text file. But I wanted to use my disc and original hardware as far as possible. I considered hooking up the BBC to a modern computer via serial to USB to capture the print output but the idea of using my RC2014, a Z80 kit computer, appealed to me and seemed appropriate.

I already had the RS232 kit for my RC2014. This seemed like a good solution, and a way for me to learn a bit more about serial communication. I could write a program for the RC2014 to save the data to a file, or just echo it to the screen and copy and paste it from the terminal program.  I had to add an enhanced clock module to my RC2014 which allows me to set the clock speed and therefore match its baud rate to one of the baud rates offered by the BBC.  I also had to make up a special lead to connect the BBC's serial port (an unusual 'domino' 5-pin DIN) to an RS232 plug.
Here's the program running. You can choose from a couple of standard jumper styles, or get creative with a freehand tool. I believe that lets you draw pattern pieces on a grid and gives you the knitting pattern. But that's for another day.  I went for a straightforward raglan jumper. First it asks you lots of questions about the required measurements and your knitting gauge (the factors involved there are your yarn and needle thickness as well as your personal knitting tension). 
For knitters, this raglan jumper is made in flat pieces and has ribbing at the waist and cuffs. As you can see, the pattern gives you X stitches and Y rows "in pattern" which allows you to knit plain, in Fair Isle colourwork or a stitch pattern. I went for a gauge of 4 stitches per inch and a stitch pattern that has an 8-stitch repeat, and that seems to have worked out perfectly. 
Here you can see that although it does send its output to the screen as well as to the printer,  it's difficult to read, and as I mentioned, I'm not sure whether it's possible to save and recall it. Here is the first part of the pattern, as received by the RC2014 (I wrote a simple program to receive the characters and echo them to the screen).

Here is the jumper I want to re-create. It's an old friend; it fits like a glove and is very comfortable. I added an inch to the body length because I like a longer jumper. Also pictured is my pattern, and the swatch I made, trying out a stitch pattern similar to the one the jumper has, and to find a rough gauge. (When I buy or spin my yarn for the project jumper, I'll adjust needle size to get the gauge that I gave the program.)  I'll make a pink jumper, like the one I'm copying. The teal yarn is just what I happened to grab to make the swatch. 

I'm not a fast knitter! Once I have the yarn it'll take a while to make the jumper.


[1] There's a disc in the box, but no manual. I'm pretty sure I found a manual for this software offered online once, but I can't find it now. 


Comments

Popular posts from this blog

RC2024/10 - my entry

A while ago I made this MIDI module for RC2014: It works but a better design would have its own serial chip and port decoding.  As it is, it provides the MIDI interface and a clock signal for the second SIO2 serial port. This means that it requires a little setting up and will only work for RC2014s with an SIO2 (and port B not already used). I think people might reasonably expect it to be plug-and-play and self-contained, ie do all the serial itself. My challenge to myself is to:  learn how to connect a serial chip (probably 68B50 ACIA) to receive the incoming MIDI and to serialise outgoing MIDI design the module, including the port decoding write a library so that it can easily be used on any RC2014. Potential applications include a MIDI sequencer and using incoming MIDI to trigger notes on the AY or SID sound chips. Entering the Retro Challenge 2024 (aka RC2024/10)  has given me an incentive to get on with this! I'm happy to see several more entries in the RC2014 catego...

IM53 8080 birthday cake

 Each year I've been trying to get more creative with ideas for Spencer's birthday cake. The plan this year was to incorporate LEDs in place of candles. I eventually settled on an Altair / IMSAI / PDP -style computer since those are the type of computers that inspired his RC2014. The IMSAI 8080 has the most colourful switches as well as a name that I could twist. The thought that it could show randomly flashing lights (as if the computer were running) and that it could also play a game of 'kill the bit' was very appealing. A plan formed to use a capacitive touch pad on the cake itself. The first job is to bake the fruitcake. I often use a 7" square tin and one of those cut in half and rearranged makes a cake of suitable proportions.  Even after taking a slice off the faces to make them nice and square, there are still some rounded corners, so after putting on the marzipan, I used more marzipan as a filler to flatten the whole thing. Even though I wanted to end up w...

How to convert images for TMS9918A graphics on the RC2014

For me, graphics capability is essential for an 8-bit computer. My graphics chip of choice for the RC2014 is the very capable TMS9918A. It has 15 colours, sprites, several modes and a max resolution of 256x192. It makes arcade-style games possible, such as Tut-Tut above.  I enjoy simply displaying images and have a bunch on my CF card (my 'hard drive') and have written image viewer and slideshow apps to display them. Some useful links: Convert9918 Tutorial of Convert9918's settings Multipaint J B Langston's TMS9918A video module my own TMSEMU video module my respository of TMS9918A software, games and .s2/.sc3 images Image conversion I did dabble in writing my own utility to convert .png images but then settled on the Multipaint app which can open a png in a MSX 'screen 2', allow you to tidy it up with paint tools and save as a .sc2 file. (An sc2 file is little more than a video-memory dump and so it's easy to blast that back into vram to display the image....