I've thrown the file jesgdev sent me up on Dropbox for the time being: https://www.dropbox.com/s/vn72jkqezi30792/fpjhhh.zip?dl=0
N64 CIC, looking for 710x series info
Nintendo Game DevelopmentWith a functional CIC clone, we really only need a versatile maskrom to create a proper flashable repro cart, which would be awesome for homebrew and romhack distros. Really the only other thing we need are moulds for making new cart shells.
what is the pic you used
ATtiny25, like the header of the source and fuse map picture says
Hi,
Is the code available for download?
Thanks.
Is the code available for download?
Thanks.
All the links for this are dead it seems.
EDIT: This is the closest thing I found.
https://github.com/mikeryan/UltraCIC
EDIT: This is the closest thing I found.
https://github.com/mikeryan/UltraCIC
I would love to do this mod
does anyone have the fpjhhh.zip file
i've been searching the google like crazy every link is broken..
the ultracic doesn't have seeds or checksums and is also PIC micro based
the seed looks like its only a byte so.. 6105 seed is 0x91 and checksum is 0xDF26F436?
still looking for that zip file
i've been searching the google like crazy every link is broken..
the ultracic doesn't have seeds or checksums and is also PIC micro based

the seed looks like its only a byte so.. 6105 seed is 0x91 and checksum is 0xDF26F436?
still looking for that zip file
This is my switch patch, that i orignally have posted on another forum. ^^
plus some pictures and info, about compiling and flashing the UltraCIC on linux.
(or on windows with open source tools instead of Atmel Studio)
The source has been modified to work with avra
![[IMG]](https://web.archive.org/web/2im_/https://d.maxfile.ro/vedbzjionh.png)
The Maskrom is directed to the back of the console.
The switch is in NTSC mode, if PIN3 connected to VDD and in PAL mode on GND.
N64 CIC Pinout
![[IMG]](https://web.archive.org/web/2im_/https://d.maxfile.ro/misxmwkmkg.png)
UltraCIC Pinout (ATtiny25)
PIN3 connects to the switch
![[IMG]](https://web.archive.org/web/2im_/https://d.maxfile.ro/ovifovukhq.png)
patching
UltracCIC.asm has to be in the same directory
http://gnuwin32.sourceforge.net/packages/patch.htm
compiling
http://avra.sourceforge.net/downloads.html
flashing
low fuse 0xc0 high fuse 0xdf
http://download.savannah.gnu.org/releases/avrdude/
UltraCIC_avra_switch.patch
greetings,
saturnu
plus some pictures and info, about compiling and flashing the UltraCIC on linux.
(or on windows with open source tools instead of Atmel Studio)
The source has been modified to work with avra
![[IMG]](https://web.archive.org/web/2im_/https://d.maxfile.ro/vedbzjionh.png)
The Maskrom is directed to the back of the console.
The switch is in NTSC mode, if PIN3 connected to VDD and in PAL mode on GND.
N64 CIC Pinout
![[IMG]](https://web.archive.org/web/2im_/https://d.maxfile.ro/misxmwkmkg.png)
UltraCIC Pinout (ATtiny25)
PIN3 connects to the switch
![[IMG]](https://web.archive.org/web/2im_/https://d.maxfile.ro/ovifovukhq.png)
patching
UltracCIC.asm has to be in the same directory
Code:
patch < UltraCIC_avra_switch.patch
compiling
Code:
avra UltraCIC.asm
flashing
low fuse 0xc0 high fuse 0xdf
Code:
avrdude -p t25 -P /dev/ttyS0 -c ponyser -U lfuse:w:0xc0:m -U hfuse:w:0xdf:m -U flash:w:UltraCIC.hex
UltraCIC_avra_switch.patch
Code:
--- UltraCIC.asm 2015-09-25 15:21:49.131080164 +0200
+++ UltraCIC_fix.asm 2015-09-25 15:26:22.661069203 +0200
@@ -1,7 +1,10 @@
+
+.include "/usr/share/avra/includes/tn45def.inc"
+
;------------------------------------------------
;Choose CIC_TYPE(pick one):
;------------------------------------------------
-.equ CIC_TYPE=0b0000 ;6102
+;.equ CIC_TYPE=0b0000 ;6102
;.equ CIC_TYPE=0b0001 ;6103
;.equ CIC_TYPE=0b0010 ;6106
;.equ CIC_TYPE=0b0011 ;6101
@@ -9,7 +12,7 @@
;.equ CIC_TYPE=0b0101 ;6105
;.equ CIC_TYPE=0b0110 ;6105
;.equ CIC_TYPE=0b0111 ;6105
-;.equ CIC_TYPE=0b1000 ;7101
+.equ CIC_TYPE=0b1000 ;7101
;.equ CIC_TYPE=0b1001 ;7103
;.equ CIC_TYPE=0b1010 ;7106
;.equ CIC_TYPE=0b1011 ;7102
@@ -41,6 +44,7 @@
.equ CICPIN0=PINB2 ;cic port2 pin0
.equ CICPIN1=PINB1 ;cic port2 pin1
.equ CICPIN2=PINB0 ;cic port2 pin2
+.equ CICPIN3=PINB4 ;cic port2 pin3 ; switch pin
;Flags(bit location of flag in flags register, do not change these values)
.equ FLAG_x105_MODE=0 ;0=x10x, 1=x105
@@ -63,7 +67,8 @@
out PRR, scr0 ;power reduction
ldi scr0, 0x80
out ACSR, scr0 ;comparator disable
- ldi scr0, LOW(RAMEND) ;STACK! Make sure SPH is not needed for the part
+; ldi scr0, LOW(RAMEND) ;STACK! Make sure SPH is not needed for the part
+ ldi scr0, 0xDF ;STACK! attiny25 offset when using tn45def.inc
out SPL, scr0
nop
nop
@@ -98,7 +103,8 @@
;setup flags and key address
andi scr0, 0x0F
- sbrc scr0, 3
+ ;sbrc scr0, 3 ; disable register check
+ sbis CICPINS, CICPIN3 ; replace with pin state
sbr flags, (1 << FLAG_710x_MODE)
sbrc scr0, 2
sbr flags, (1 << FLAG_x105_MODE)
@@ -212,24 +218,6 @@
;06:00 - 06:1A(392clk)
cic_ram_init:
- /*
- 0:0 = Leftover counter value, probably not important
- 0:1 = ??, will be provided by console
- 0:2-0:F = Seed from 04:00 area(PAT instruction) LSB
- 1:0 = Unitialized
- 1:1 = Set to 0xB but will be provided by console
- 1:2-1:F = Seed from 04:00 area(PAT instruction) MSB
- 2:0-3:F = Unitialized(will be set to zero)
- RAM(610x): E09A185A13E10DEC
- 0B14F8B57CD61E98
- 0000000000000000
- 0000000000000000
-
- RAM(710x): E04F51217198575A
- 0B123F827198115C
- 0000000000000000
- 0000000000000000
- */
sbrc flags, FLAG_710x_MODE
rjmp cic_ram_init_710x
ldi ZH, HIGH(CIC_INITIAL_RAM_610x * 2)
@@ -256,7 +244,6 @@
nop
nop
- //06:1B - 06:21(14clk)
cic_ram_init_2:
nop
rcall m0200
saturnu
There is a vendor (SuperUFO Company) on aliexpress.com selling UltraCICs in a compact design - switchable between NTSC 6102 and PAL 7101.
http://www.aliexpress.com/item/Ultr...E-64-ED64Plus-N64-Flash-Cart/32431977887.html
![[IMG]](https://web.archive.org/web/2im_/http://g01.a.alicdn.com/kf/HTB1ZxEKIVXXXXaTXXXXq6xXFXXXj/UltraCIC-PAL-NTSC-Version-CIC-Chip-for-font-b-EVERDRIVE-b-font-64-ED64Plus-N64-Flash.jpg)
http://www.aliexpress.com/item/Ultr...E-64-ED64Plus-N64-Flash-Cart/32431977887.html
![[IMG]](https://web.archive.org/web/2im_/http://g01.a.alicdn.com/kf/HTB1ZxEKIVXXXXaTXXXXq6xXFXXXj/UltraCIC-PAL-NTSC-Version-CIC-Chip-for-font-b-EVERDRIVE-b-font-64-ED64Plus-N64-Flash.jpg)
this costs $5.99 and the switch is pretty much unreachable, if you don't want to make a hole in the back of your shell. 
an attiny25 costs about $0.90
even a usb programmer only costs about $1.69 from china.
i would only recommend this, if programming an attiny25 seems like witchcraft for you.
programmer:
http://www.aliexpress.com/item/Hot-...est=201556_2,201527_1_71_72_73_74_75,201409_3
btw. if you want to use this programmer you have to set avrdude to usbasp
flashing

an attiny25 costs about $0.90

even a usb programmer only costs about $1.69 from china.

i would only recommend this, if programming an attiny25 seems like witchcraft for you.

programmer:
http://www.aliexpress.com/item/Hot-...est=201556_2,201527_1_71_72_73_74_75,201409_3
btw. if you want to use this programmer you have to set avrdude to usbasp
flashing
Code:
avrdude -p t25 -c usbasp -U lfuse:w:0xc0:m -U hfuse:w:0xdf:m -U flash:w:UltraCIC.hex
thanks for the help everyone i know how to read avr code the pic is kinda cryptic to me lol .. wish i didnt waste so much time on the google now 
i'm interested in looking at the original code. are the dumps or disassembly available?..

i'm interested in looking at the original code. are the dumps or disassembly available?..
Anyway you can post a compiled hex?
i don't think i'm allowed to publicaly share a binary with the keys inside.
thats why i'm only posting a patch. :>
there is a win32 port of avra too, if you don't want to install atmel studio.
http://sourceforge.net/projects/avra/files/1.2.3/avra-1.2.3-win32.zip/download
and here is a windows version of patch
http://gnuwin32.sourceforge.net/downlinks/patch-bin-zip.php
thats why i'm only posting a patch. :>
there is a win32 port of avra too, if you don't want to install atmel studio.
http://sourceforge.net/projects/avra/files/1.2.3/avra-1.2.3-win32.zip/download
and here is a windows version of patch
http://gnuwin32.sourceforge.net/downlinks/patch-bin-zip.php
Original thread: https://assemblergames.com/threads/n64-cic-looking-for-710x-series-info.55237/