Hello everyone,

expecting to build a Z80 system, i have constructed this simple programmer for my nvram. I apologize for the circuit diagram drawn by hand, some parts may be hard to read, but it is very simple and intuitive.
The operation consists of inserting data one byte at a time, in hexadecimal, from the keyboard connected via PS2 port, the program steps sequentially and at the next (switched from zero). Once you have finished entering all the bytes you want, by pressing the escape button, the programmer enters reading-mode from location 0 and then hitting Enter you should see the following addresses sequentially and the data they contain.
The board also features a port for debugging and program the PIC via ICD using mikroC PRO for PIC.
Here come some pictures and sources (the project) for that compiler, if you want you can adapt to other software, another pic, etc. … you can modify to your liking, everything is still under development, although it works, but i would also include the possibility of random access to data and also the expansion for the selection of addresses using 2 CMOS CD4040 counters.

Schematic (click to zoom):

Pictures and sources (click to zoom).

Software sources