Wow! Still using Pascal??
You must be a student looking to cheat in your assignments! ...Enjoy!
:-)
These programs are antiques, written around the end of 1994 as part of the second year of my Computer Science degree, now they look so dated!. Such a pity that other programs didn't survive, including earlier ones for the ZX Spectrum and QL, ahh!, those where the days ...
moricpu.pas is a cpu simulator including an assembler. The cpu has a minimal instruction set, stacked registers, variable lenght instructions and bit alignment.
adder.asm (broken!)
and bigsmall.asm are programs written in the
language that the moricpu understands, and the adder.cod
and bigsmall.cod are the "compiled" versions.
I may rewrite
it in Java (but it is a very low priority!). The old online book Stack Computers: the new wave talks a lot about this kind of CPUs. |
-
filter.pas is about getting statistics
about the instruction set of the ARM processor. The input file was a mix of Basic and Assembler from an Archimedes PC, unfortunately that file was lost a long time ago. But don't dispair, some samples still survive on the net, I may soon put it together again...
circusim.pas is a simulator/editor of electronic
circuits, incuding n-gates, p-gates and all that stuff. Based on the idea of electrons floating around a cellular machine. This simulator wasn't an assignment, just me messing about. The screenshot to the right is showing a burnt out circuit! |
-
sendfile.pas and getfile.pas
implement a protocol to transfer a file between to machines over a serial
cable. This is a typical assignment in CS degrees.
-
keycodes.pas is something about the ASCII codes. Just a quick utility ...
-
upini.pas updates .ini files, old trash.
You will need Borland's Turbo Pascal if you want to recompile/run
these programs. You can get it free from Borland's museum.