43 Commits

Author SHA1 Message Date
ikari
02873c0594 SuperCIC: cleanup/add PIC support, overhaul Makefile
Supported PICs:
Key: 12F629, 12F675, 12F683
Lock: 16F630, 16F676, 16F684
2021-07-18 22:33:15 +02:00
ikari
1a5b739f08 SuperCIC: tweak key timing to be more faithful 2021-07-18 22:30:35 +02:00
ikari
f7da1a57c7 SuperCIC: Add SuperCIC Lock with RGB LED support (common cathode) 2021-07-18 22:27:15 +02:00
ikari
a01fb3d6a1 Revise project structure
Makefile based build for FPGA configurations, firmware, SuperCIC,
release packaging. Probably needs more polishing.
2019-05-20 00:33:28 +02:00
ikari
c74abd47ea SuperCIC: fix previous fix, increase tolerance, make lock work with every key 2019-03-29 14:35:11 +01:00
Maximilian Rehkopf
57e85aae6d SuperCIC key: timing adjustment, fixes
* Fix broken timing resulting from replacing banksel macros with 2 instructions (this code did not assume 2 clocks per banksel yet)
* Make the data output pulse a bit longer and appear a bit later to better mimic original key behaviour
* Change EEPROM definition to be GPASM compatible
2018-09-04 18:18:03 +02:00
Maximilian Rehkopf
343a373fa8 CIC emulator: Fix data directions, initial state, add stream ID select 2018-09-04 18:04:42 +02:00
Maximilian Rehkopf
7e2e32ddba CIC demo code: clarify data directions 2017-12-07 16:15:55 +01:00
Maximilian Rehkopf
c020626d81 Merge branch 'develop' of ssh://github.com/mrehkopf/sd2snes into develop 2016-02-23 00:08:27 +01:00
ikari
cbdfbc95e6 Update CIC pseudocode to reflect current state 2016-02-19 13:01:44 +01:00
borti4938
f29d2a01b8 Add ‚last modified‘ note 2015-10-22 15:21:53 +02:00
borti4938
7d50c8a125 Replace ALL ‚banksel’ instructions with bcf/bsf STATUS, RP0 and a nop. SuperCIC-lock can be compiled for the PIC16F676 by setting the flag use_16f676.
This commit is related to commits 7b36cb22dd, d81132c64c and ac63dc53a2
2015-10-22 15:19:24 +02:00
borti4938
ac63dc53a2 remove SuperCIC code for PIC 16F676
I don’t know the reason why the PIC changes the state at pin 3 (cartridge region) while changing between the modes (recognized with PAL cartridges).
2015-10-18 11:29:45 +02:00
Peter Bartmann
d81132c64c make sure that ‚banksel‘ takes two cycles where needed
Some assemblers make one instruction out of the ‚banksel‘ for the PIC 12F629. However, the code assumes two cycles. The initialization of the CIC-key fails if the timing is incorrect.

(banksel not bangels :P - stupid spelling-correction in commit 7b36cb22dd)
2015-05-01 21:35:34 +02:00
Peter Bartmann
4f07e6530c add a supercic-lock for the PIC16F676 2015-05-01 08:58:37 +02:00
Peter Bartmann
7b36cb22dd make sure that bangles takes two cycles where needed 2015-05-01 08:57:51 +02:00
ikari
72642321a2 SuperCIC/key: fix unreliable pair mode entry (sync with lock) 2011-12-18 18:41:00 +01:00
Maximilian Rehkopf
3da807f895 SuperCIC: enable SuperCIC lock detection without entering pair mode automatically 2011-08-17 00:00:59 +02:00
ikari
a9b84c3e0b archive MK1 AVR source 2010-09-06 23:51:48 +02:00
ikari
81fea3ae26 CIC: lock clone w/ autoresync (for byuu's dumping project) 2010-07-25 00:29:22 +02:00
ikari
d53f2ec292 SuperCIC lock: reset doubletap 2010-07-24 01:16:40 +02:00
ikari
9fcff31e87 update 1chip 50/60 schematic 2010-07-20 10:43:41 +02:00
ikari
f12f46ed8d supercic/1chip schematics/documentation 2010-06-07 05:03:19 +02:00
ikari
4bbc2922d1 SuperCIC: LED polarity switch, fix pair mode detection 2010-05-14 01:45:18 +02:00
ikari
c3e1651600 SuperCIC: change D4 behaviour, add region timeout trick enable switch 2010-05-09 19:23:11 +02:00
ikari
bc5cf05880 SuperCIC key: improve mid-operation pair mode detect; documentation, cleanup. 2010-05-08 10:07:15 +02:00
ikari
18d7cbbd6f SuperCIC pair mode disable switch 2010-05-07 09:10:23 +02:00
ikari
14b82b8808 SuperCIC pair mode. TODO: disable pair mode (key) 2010-05-07 01:05:17 +02:00
ikari
92da63754a SuperCIC: wip 2010-05-06 07:33:28 +02:00
Maximilian Rehkopf
7914df81c4 SuperCIC: documentation+cleanup 2010-05-05 21:10:59 +02:00
ikari
d77ba9c928 SuperCIC: basic featureset complete 2010-05-05 00:30:14 +02:00
Maximilian Rehkopf
22a2ad5716 SuperCIC WIP 2010-05-04 20:02:15 +02:00
ikari
67c451d78b wip 2010-05-04 08:16:39 +02:00
Maximilian Rehkopf
15e5da641e supercic wip 2010-05-03 17:14:13 +02:00
ikari
c722b7914d SuperCIC! 2010-05-03 16:03:22 +02:00
ikari
ed71ef929f more time for clock to stabilize; disable reset pullup (may be bogus) 2010-04-15 10:23:56 +02:00
ikari
c0b4674eff CIC lock mode implementation 2010-04-10 19:29:46 +02:00
ikari
0c87b69aa1 clean up AVR code(deprecated), kicad libs, pcb WIP 2010-03-25 00:16:44 +01:00
Maximilian Rehkopf
42082bd2ac cleanup CIC asm code 2010-03-19 11:20:37 +01:00
ikari
b2a02a6081 Fix pin mapping to better match CICLONE pinout 2010-03-16 10:21:01 +01:00
Maximilian Rehkopf
00800dbaba 12F629 2010-03-15 21:41:37 +01:00
ikari
45002f618e CIC clone for PIC 2010-03-15 00:55:49 +01:00
ikari
b6cc40e290 CIC stuff 2010-03-10 13:49:02 +01:00