that's great! I now have 3 pin din plugs and just arrived this morning is the ps/2 sockets! so will do a little tutorial on putting it all together! I am hoping to put the chip inside the 3 pin plug, so its just like a adapter lead. thats the reason for using the PIC12F675, but of course if anyone has the larger size PIC16F84a or PIC16F627 already it will work on that too but that's not going to fit in the plug housing!
The F keys, they are not present on the original keyboard, so have decided to use them as follows....
F1 This issues the code 'LOAD PALDUMP' followed by a return, this is the most common script i use so thought it was a good idea! you of course need the paldump file on the floppy disk saved as PALDUMP!
F2 This issues the code 'RUN' followed by a return
F3 This issues the code 'LIST' followed by a return
F4 This issues the code 'DIR' followed by a return
The chip is now quite full! I have used 993 out of the 1024 available memory, so there is room for one or more 'F' keys to be configured, but for 1k of memory space it is quite squeezed in there! If anyone wants to alter the code the memory mapping needs to be studied first as altering anything will most likely mean the compiler will be trying to write over code that's already there! been a bit of a nightmare getting it all in with tables being in the same page and working round them!
If there are some suggestions on the F keys I can incorporate them, as there is a shift table and a control table, so in total a possible 36 shortcut keys using them! but to implement that a PIC chip with more memory will be needed. I am thinking of the PIC12f683 as that has double the memory of 2K which will take are of the extra F key features!
I am open to suggestions!
more details on the adapter lead later on....