Porting PDP11/VAX programs to the ZX81
Posted: Tue Oct 15, 2019 9:06 am
I recently found online the dumps of the tapes from DECUS, the US user group for Digital stuff back in the earlier eighties.
A good part of the programs was created back in the seventies and then adapted to the "new" operating systems, etc. Something was originally written in FORTRAN and then ported to C.
Most of the algorithms are now in the school books, but it is very nice to look at the code the way it was created just to play and experiment !
Here's an animation originally intended for the VT52 terminal to solve the HANOI puzzle.
It requires 16K and the WRX mod, to support the 80 columns.. text is glitchy but gives a reasonable feeling on how it was back in those days. Other builds are possible (e.g. ARX).
Enter the number of discs (up to 12) and enjoy..
P.S. I'm trying to revive an historical MAZE program based on similar VT techniques, but that one is slightly more complex.
A good part of the programs was created back in the seventies and then adapted to the "new" operating systems, etc. Something was originally written in FORTRAN and then ported to C.
Most of the algorithms are now in the school books, but it is very nice to look at the code the way it was created just to play and experiment !
Here's an animation originally intended for the VT52 terminal to solve the HANOI puzzle.
It requires 16K and the WRX mod, to support the 80 columns.. text is glitchy but gives a reasonable feeling on how it was back in those days. Other builds are possible (e.g. ARX).
Enter the number of discs (up to 12) and enjoy..
P.S. I'm trying to revive an historical MAZE program based on similar VT techniques, but that one is slightly more complex.