Getting my feet wet in creating .chip files, i've created a couple simple Proof-of-Concept for the MOS 6526 (aka CIA chip for the Commodore 64). Wasn't sure where to upload these, so I'll just share the text here:
Simple Reset:
[chipfile] type = single [chips] --- [meta] name = 6526 (CIA) RESET POC pins = 40 type = 5 imageIndex = 9 [code] PASSFAIL 0x1 0x0 0x0 ASAFE 0x0 0x0 0x0 SHOSTR 0x0 0x0 0x18 UDSCRN 0x0 0x0 0x0 SETOUT 0x16 0x0 0x0 SETOUT 0x17 0x0 0x0 SETOUT 0x18 0x0 0x0 SETOUT 0x19 0x0 0x0 SETOUT 0x22 0x0 0x0 SETPIN 0x16 0x1 0x0 SETPIN 0x17 0x1 0x0 SETPIN 0x18 0x1 0x0 SETPIN 0x19 0x0 0x0 SETPIN 0x22 0x1 0x0 DELMS 0x64 0x0 0x0 SHOSTR 0x1 0x0 0x18 UDSCRN 0x0 0x0 0x0 SETPIN 0x22 0x0 0x0 DELMS 0x14 0x0 0x0 SETPIN 0x22 0x1 0x0 DELMS 0x64 0x0 0x0 SHOSTR 0x2 0x0 0x18 UDSCRN 0x0 0x0 0x0 DELMS 0x64 0x0 0x0 ENDTEST 0x0 0x0 0x0 [strings] 0=6526 reset poc start 1=6526 reset poc low 2=6526 reset poc done 3= 4= 5= 6= 7= [ENDCHIPS]
Reset followed by DDRA:
[chipfile] type = single [chips] --- [meta] name = 6526-DDRA-POC pins = 40 type = 5 imageIndex = 9 [code] PASSFAIL 0x1 0x0 0x0 ASAFE 0x0 0x0 0x0 SHOSTR 0x0 0x0 0x18 UDSCRN 0x0 0x0 0x0 DEF8 0x0 0x1A1B1C1D 0x1E1F2021 SETIN 0x1A 0x0 0x0 SETIN 0x1B 0x0 0x0 SETIN 0x1C 0x0 0x0 SETIN 0x1D 0x0 0x0 SETIN 0x1E 0x0 0x0 SETIN 0x1F 0x0 0x0 SETIN 0x20 0x0 0x0 SETIN 0x21 0x0 0x0 SETOUT 0x16 0x0 0x0 SETOUT 0x17 0x0 0x0 SETOUT 0x19 0x0 0x0 SETOUT 0x22 0x0 0x0 SETOUT 0x23 0x0 0x0 SETOUT 0x24 0x0 0x0 SETOUT 0x25 0x0 0x0 SETOUT 0x26 0x0 0x0 SETPIN 0x16 0x1 0x0 SETPIN 0x17 0x1 0x0 SETPIN 0x19 0x0 0x0 SETPIN 0x22 0x1 0x0 SETPIN 0x23 0x0 0x0 SETPIN 0x24 0x0 0x0 SETPIN 0x25 0x0 0x0 SETPIN 0x26 0x0 0x0 DELMS 0x64 0x0 0x0 SHOSTR 0x1 0x0 0x18 UDSCRN 0x0 0x0 0x0 SETPIN 0x22 0x0 0x0 DELMS 0x14 0x0 0x0 SETPIN 0x22 0x1 0x0 DELMS 0x14 0x0 0x0 SHOSTR 0x2 0x0 0x18 UDSCRN 0x0 0x0 0x0 SETPIN 0x23 0x0 0x0 SETPIN 0x24 0x1 0x0 SETPIN 0x25 0x0 0x0 SETPIN 0x26 0x0 0x0 SETPIN 0x16 0x1 0x0 SETPIN 0x17 0x0 0x0 DELUS 0x10 0x0 0x0 SETPIN 0x19 0x1 0x0 DELUS 0x10 0x0 0x0 GET8 0x0 0x0 0x0 SETPIN 0x19 0x0 0x0 SETPIN 0x17 0x1 0x0 IF 0x1 #R0 0x0 SHOSTR 0x3 0x0 0x18 UDSCRN 0x0 0x0 0x0 PASSFAIL 0x0 0x0 0x0 ENDTEST 0x0 0x0 0x0 ENDIF 0x0 0x0 0x0 SHOSTR 0x4 0x0 0x18 UDSCRN 0x0 0x0 0x0 DELMS 0x64 0x0 0x0 ENDTEST 0x0 0x0 0x0 [strings] 0=6526 ddra poc start 1=6526 reset 2=6526 read ddra 3=6526 ddra fail 4=6526 ddra ok 5= 6= 7= [ENDCHIPS]
Awesome! thank you. I'll test them out tomorrow.
Well, I thought I had a 6526 but apparently the only one I have is still soldered. The only one I'm willing to desolder anyway. I'll set some time aside and maybe take it out. I was planning to make it a ZIF-64 anyway.
I have a couple extras, I can send you one.
Ah, no. I couldn't let you do that. I DO appreciate it but I can get one out. I already trashed this specific 64 years ago from experimentation. Hence why I am going to ZIF64 it. I just need to put aside some time.