Running 4K FORTRAN on a DEC PDP-8Written by Lawrence Woodman on 14th July 2009 Tags: DEC, Fortran, PDP-8, Programming, Retro, Tutorials
|
4K FORTRAN was a subset of FORTRAN II and was the first high-level language available for the DEC PDP-8. It consisted of two parts: the 4K FORTRAN Compiler (nicknamed "Fivetran") and the 4K FORTRAN Operating System. The compiler was written by Larry Portner and the operating system was written by Henry Burkhardt. The introduction of this compiler made the PDP-8 much easier to program and was particularly useful to those using the machine for scientific calculations. Below is a guide to using 4K FORTRAN.
|
Read more An Introduction to CorewarWritten by Lawrence Woodman on 30th April 2009 Tags: Corewar, Programming, Programming Games, Retro
|
I remember reading about Corewar roughly 20 years ago and thinking that I will have to have a go at that when I get the time. As often happens in life, things got in the way and I only recently managed to give it a go. I love the challenge of programming and the competitive aspect of this programming game really appeals to me. The object of the game is to write a battle program that will take over a virtual computer and kill the other battle programs running upon it. Since the game recently celebrated it's 25th birthday, I thought that I would write the following brief introduction to the game to whet peoples' appetite and encourage new interest.
|
Read more The Smallest Communication Program in the World?Written by Lawrence Woodman on 23rd April 2009 Tags: 80x86, DOS, Programming, Retro
|
I was going through a backup of my dos machine, taken in 1998, and came across some source code which I haven't seen for a long time. It was great to see that old code, and I must set-up a machine so that I can run some of it again. In particular I came across an attempt at writing the world's smallest communication program for an x86 based PC running DOS. I used to love writing these sort of little programs to test different things. I know we get more done these days, but it was fun tinkering around at such a low-level. So here follows the program.
|
Read more An Introduction to Test-Driven DevelopmentWritten by Lawrence Woodman on 18th March 2009 Tags: Debugging, Programming, Test Driven Development
|
For the past 6 months I have been using Test-Driven Development (TDD) on a new project. It has made such a difference to the quality of my code, that I feel I just have to share it's benefits with those who may not have heard of it. TDD reverses the normal order of testing as it requires developers to create automated unit tests before code is written not after. This takes some getting used to, and it can be quite difficult to resist the urge to write code first and then a test, but it really is essential to test first in order to gain the full benefits of TDD. The beauty of this is that it allows you to concentrate on what you want the code to do before you concentrate on how to implement it.
|
Read more Installing the HI-TECH Z80 C Compiler for CP/MWritten by Lawrence Woodman on 22nd October 2008 Tags: C, CP/M, Programming, Retro, Tutorials, Z80
|
My language of choice is C and I am currently getting more involved with the CP/M operating system. I have therefore decided that it would be nice to have a C compiler working under CP/M. There are a number of options available in the archives, but I have found that HI-TECH are allowing their CP/M C compiler to be downloaded for free. This is a very good product, has good documentation, is almost ANSI C compliant and can be used for commercial and non-commercial use. This, therefore, is the one I have chosen.
|
Read more Is COBOL really understandable after 14 years?Written by Lawrence Woodman on 8th August 2008 Tags: Cobol, Programming, Retro
COBOL has been in the news quite a lot recently and I have been reading that there are still huge amounts of COBOL code running and being written. This led me to wonder why this language was still being used. I therefore decided to look at a few sites about COBOL and see what they said was good about the language. The main benefits appeared to be that it is portable and self-documenting. Indeed, I often read about how COBOL programmers say that they can go to code written 10-15 years ago and still easily understand what is happening.
Read more
|
|