Category Archives: Coding

Prime Time

…and now, for something completely different. (By different, I mean almost useful!) The Z80 computer is now busy computing prime numbers! I wrote a straightforward BASIC program, which I then compiled using Oshonsoft‘s Z80 simulator suite of utilities. The resulting … Continue reading

Posted in Coding, Digital, DrACo/Z80, Drexel, EET325 | 2 Comments

Much Ado About Nothing

Sometimes, nothing is exactly what you need. A specific amount of nothing, to be precise. Here is a delay library, written in assembly, for PIC microcontrollers running at 8MHZ. If you find it useful, please let me know. Share and … Continue reading

Posted in Coding, Digital, PIC Microcontrollers | Leave a comment

First peripheral

The first peripheral for the Z80 is working (although still somewhat alpha at this point): a two-line LCD text display. It’s mapped as I/O ports 0x00 and 0x01, with control commands being sent to 0x00 and data to 0x01. It’s … Continue reading

Posted in Coding, Digital, DrACo/Z80, Drexel, EET325 | 1 Comment

Putting the “Basic” back in BASIC

I found a cool Z80 simulator suite — with a lot of useful bells and whistles. It has an assembler, disassembler, memory editor, simulated peripherals, and a very intuitive and complete interface: you can look right into the heart of … Continue reading

Posted in Coding, DrACo/Z80, Drexel | 4 Comments