EverDrive Forum

General => EverDrive 64 => Topic started by: saturnu on September 25, 2015, 05:57 PM

Title: switchable UltraCIC II for legacy ED64
Post by: saturnu on September 25, 2015, 05:57 PM
switchable UltraCIC II for legacy ED64

EDIT:
you can modify your ed64 with this ultracic patch, so it doesn't need cracks for 6105 games.
that's why i renamed it to UltraCIC II, so there will be less confusion. ^^


This is my switch patch for jesgdevs UltraCIC.
The source has been modified to work with avra (http://avra.sourceforge.net)

(https://a.pomf.cat/ymstsd.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
(https://a.pomf.cat/csguim.png)

UltraCIC Pinout (ATtiny25)
PIN3 connects to the switch between vcc and gnd
(https://a.pomf.cat/jpzakd.png)


patching
UltracCIC.asm has to be in the same directory
Code: [Select]
patch < UltraCIC_II_avra_switch_ed64.patch
compiling
Code: [Select]
avra UltraCIC.asm
flashing
low fuse 0xc0 high fuse 0xdf
Code: [Select]
avrdude -p t25 -P /dev/ttyS0 -c ponyser -U lfuse:w:0xc0:m -U hfuse:w:0xdf:m -U flash:w:UltraCIC.hex
UltraCIC_II_avra_switch_ed64.patch
Code: [Select]
--- online/UltraCIC/UltraCIC.asm 2015-02-18 21:07:10.000000000 +0100
+++ UltraCIC_fix.asm 2015-10-30 16:48:58.893381510 +0100
@@ -1,56 +1,10 @@
-/*
-UltraCIC.asm
-N64 CIC clone!
-ATtiny25
-
-Author: jesgdev
-Credits:
- ccsfp221-kammerstetter.pdf - Thanks to those authors!
- KRIKzz - 710x dumps and testing.
-
-Pinout(references(direct, pad,  etc..) refer to the CIC footprint on a typical cart board).
-1: Reset, this is the actual /RST pin of AVR.  Pad is VCC so need to cut or lift.  Jump to 9(cic pinout)
-2: CLKIN, unused pad, jumper to 11(cic pinout), cart edge #19
-3: ??, unused pad  TODO: Use this pin to read in the CIC_TYPE
-4: GND, unused pad, jump to nearby pad(last 3 in row are GND)
-5: CICPIN2_2, direct, tied to GND(always?)
-6: CICPIN2_1, direct, cart edge #43 (Data Clock)
-7: CICPIN2_0, direct, cart edge #18 (Data I/O)
-8: VCC, direct
-
-1 cic clock = 2 AVR clocks.  Clocks given in code are avr clocks.
-
-Programming the AVR:
-Fuses:
-/Reset enabled
-Disable debug wire
-disable watchdog
-disable bod(probably doesn't matter?)
-No clock div(default is div8, make sure to disable!)
-Fastest startup, external clock
-SUT=00
-CKSEL=0000
-
-
-CIC_TYPE:
-4bit value to select cic type.
-bit3=region
- 0: 610x mode
- 1: 710x mode
-bit2=x105 mode(6105/7105).
- 0: not x105(use bit1:0 for cic type)
- 1: 6105/7105
-bit1:0
- 00: 6102/7101
- 01: 6103/7103
- 10: 6106/7106
- 11: 6101/7102
-*/
+
+.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
@@ -58,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
@@ -90,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
@@ -112,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
@@ -146,10 +102,11 @@
  ;66 ticks elasped
 
  ;setup flags and key address
- andi scr0, 0x0F
- sbrc scr0, 3
+ andi scr0, 0x0F
+ ;sbrc scr0, 3 ;deactive old config check - saturnu
+ sbis CICPINS, CICPIN3 ; replace with a pal/ntsc switch - saturnu
  sbr flags, (1 << FLAG_710x_MODE)
- sbrc scr0, 2
+ ;sbrc scr0, 2 ; mix up cic6102 with x105 mode - saturnu
  sbr flags, (1 << FLAG_x105_MODE)
     andi scr0, 0x07
  lsl scr0
@@ -261,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)
@@ -305,7 +244,6 @@
  nop
  nop
 
- //06:1B - 06:21(14clk)
 cic_ram_init_2:
  nop
  rcall m0200
@@ -944,4 +882,4 @@
 
 CIC_INITIAL_RAM_710x:
  .dw 0x4FE0, 0x2151, 0x9871, 0x5A57, 0x120B, 0x823F, 0x9871, 0x5C11
-
\ No newline at end of file
+

original thread with sources:
http://assemblergames.com/l/threads/n64-cic-looking-for-710x-series-info.55237/

greetings,
saturnu

Here is an archive, that helps you to patch and create the flash binary. ^^
i've included avrdude, but you can use whatever you want
maybe there are some ponyprog fanboys here?
http://www.lancos.com/prog.html


Download:
https://a.pomf.cat/bxtstz.zip

(https://a.pomf.cat/keqade.PNG)

1. put the UltraCIC.asm from the assemblergames thread in here
2. click on step1_create.bat

Flashing with avrdude and usbasp:

(https://a.pomf.cat/jknfpp.PNG)

3. install the libusb0 driver http://sourceforge.net/p/libusb-win32/wiki/Home/
4. click on step2_flash_usb.bat if you are using an usbasp programmer


if you flash a new attiny, the internal osciallator is active and after the first ultracic flash it's fused to external clock.
depending on your programmer you need to clock the attiny on pin2 for reflashing.


UPDATE:
USBasp wiring

avr isp6pin header
(https://a.pomf.cat/seuyxq.png)

USBasp isp10pin header
(https://a.pomf.cat/syyyfj.png)


if you don't have a banjo tooie or jet force gemini rom, you can now use this testrom, to test your ultracic installation.

Testrom
(http://abload.de/img/ultracic2testromqhjea.png)

Download:
https://d.maxfile.ro/fjystxpjkp.v64
Title: Re: switchable UltraCIC for legacy ED64
Post by: GreatFunky on September 25, 2015, 07:43 PM
By the way.. it's a good thing you were talking about Ultracic saturnu !

It seem the Chinese struck again :
http://www.aliexpress.com/item/UltraCIC-PAL-NTSC-Version-CIC-Chip-for-EVERDRIVE-64-ED64Plus-N64-Flash-Cart/32431977887.html?spm=2114.01020208.3.2.KPQ5jh&ws_ab_test=201556_7,201527_4_71_72_73_74_75,201409_2 (http://www.aliexpress.com/item/UltraCIC-PAL-NTSC-Version-CIC-Chip-for-EVERDRIVE-64-ED64Plus-N64-Flash-Cart/32431977887.html?spm=2114.01020208.3.2.KPQ5jh&ws_ab_test=201556_7,201527_4_71_72_73_74_75,201409_2)
Title: Re: switchable UltraCIC for legacy ED64
Post by: saturnu on September 25, 2015, 07:57 PM
I know that they are buyable since quite some time, but it was an open source project by jesgdevs and you guys should at least have the option to build one by yourself. ^^
...and patching assembler code isn't everyones darling. :D
Title: Re: switchable UltraCIC for legacy ED64
Post by: GreatFunky on September 25, 2015, 08:08 PM
I was surprised when i discovered these chips last week ... The Chinese don't waste their time!
Title: Re: switchable UltraCIC for legacy ED64
Post by: saturnu on October 30, 2015, 06:09 PM
very cheap usbasp programmer:
http://www.ebay.com/itm/USBASP-USBISP-AVR-Programmer-Adapter-10-Pin-Cable-USB-ATMEGA8-ATMEGA128-Arduino-/310506909410
http://www.aliexpress.com/item/Hot-1pcs-USB-ISP-Programmer-for-ATMEL-AVR-ATMega-ATTiny-51-AVR-Board-ISP-Downloader/953484051.html?ws_ab_test=201556_2,201527_1_71_72_73_74_75,201409_3

Code: [Select]
avrdude -p t25  -c usbasp -U lfuse:w:0xc0:m -U hfuse:w:0xdf:m -U flash:w:UltraCIC.hex
attiny 25
http://www.ebay.com/itm/ATtiny25-20PU-ATMEL-AVR-RISC-C-20MHz-ATtiny-DIP8-/360277411925


keep in mind, that if you want to reflash an existing ultracic, it needs to be clocked.
so you have to add an external clock or flash it in circuit while the n64 is running. :D
Title: Re: switchable UltraCIC for legacy ED64
Post by: GreatFunky on October 30, 2015, 07:30 PM
Hmmm saturnu , with your new update .....  I feel suddenly people more attracted by attiny 's programming  than buying the Chinese one... lol  ;D
Title: Re: switchable UltraCIC for legacy ED64
Post by: saturnu on October 30, 2015, 08:34 PM
btw. there is a pic based ultracic, too ^^
https://github.com/mikeryan/UltraCIC

if someone needs to get this puppy runnig, there is some dau protection in the code ^^
feel free to ask here, if you have problems with that
Title: Re: switchable UltraCIC for legacy ED64
Post by: rafaelalvesals on October 30, 2015, 08:57 PM
Could you make a step by step with pic or a vid pls? I'm trying hard to understand all this, but its sounds like greek to me  :-[ (i dont know if this expression makes sense in other countries than not brazil, sorry if dont)
Title: Re: switchable UltraCIC for legacy ED64
Post by: saturnu on October 30, 2015, 09:52 PM
sure ^^
Title: Re: switchable UltraCIC for legacy ED64
Post by: skaman on October 31, 2015, 07:50 AM
I get "Hunk #1 FAILED at 1." when trying to patch UltraCIC.asm.
Title: Re: switchable UltraCIC for legacy ED64
Post by: saturnu on October 31, 2015, 08:20 AM
hm i have to boot into windows to check it myself, maybe i patched against another Ultracic.asm ^^

if you are trying to overwrite an existing ultracic, you should definitely take a look closer to check if it's really an attiny25 ^^
e.g. if it's an attiny45 you have to alter the stack offset. :D

and i don't know if the switch is labeled in reverse afterwards :>
Title: Re: switchable UltraCIC for legacy ED64
Post by: phoenixdownita on October 31, 2015, 08:21 AM
I will really rock if Krikzz would offer this ultracic with adapter for sale separately so we can all use them and be done with patching and all the nonsense.
Title: Re: switchable UltraCIC for legacy ED64
Post by: saturnu on October 31, 2015, 08:33 AM
hm, the ultracic everdrives have smd packages, so it's easier to reflash them instead of swapping the chip.

the older ones need to be resoldered and i think everyone who can swap a chip on a pcb can flash a micro, too. ^^

but sure, it would be a nice service to be able to buy prepared and tested chips.
Title: Re: switchable UltraCIC for legacy ED64
Post by: saturnu on October 31, 2015, 09:38 AM
EDIT:
i moved this post to bottom of the first post, to keep the thread tidy. ^^
Title: Re: switchable UltraCIC for legacy ED64
Post by: saturnu on October 31, 2015, 10:59 AM
here is my ultracic adapter, i was using while testing :D
it's not really necessary to desolder the old cic, you can just disable it, too
(if you are unable to desolder for some reasons or missing tools)

(https://f.zdev.com/dl/nuyoxq.png)
Title: Re: switchable UltraCIC for legacy ED64
Post by: skaman on October 31, 2015, 11:52 AM
Thanks saturnu!

Got the file patched and assembled.

Now I have to wait for my chips to get here.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 01, 2015, 12:03 PM
a few tv-card screenshots

Banjo-Tooie PAL language selection
(https://f.zdev.com/dl/svuffa.png)

Jet Force Gemini PAL language selection
(https://f.zdev.com/dl/ezzamt.png)

Jet Force Gemini PAL - jumping is working
(https://f.zdev.com/dl/ilvmzx.png)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: D4v3WTF on November 01, 2015, 03:35 PM
Okay, if I understand that right. I flash an attiny25 with your file and can play all my PAL games on my Everdrive? Do I need the switch to just play all PAL games on my PAL N64?

Thank you for your work Saturnu!
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 01, 2015, 03:46 PM
that's right and if you dont need to have a switchable solution, you can just hardwire PIN 3 to GND.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: D4v3WTF on November 01, 2015, 07:27 PM
Wow :o Does the new UltraCIC II work with all ED64's?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 01, 2015, 07:40 PM
i think so. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Aroenai on November 01, 2015, 10:21 PM
I'm confused, how do I wire an UltraCIC II to replace the CIC chip in my rev 2.1 ED64? Can those Chinese chips be reflashed?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 01, 2015, 11:09 PM
match the marks on both chips, bend up pin 1 to 4 and jumpwire these pins to the matching points.

about the chinese ones, i don't know if they are locked or not. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: dreimer on November 02, 2015, 12:31 AM
Hm, sounds like a nice idea for my v3 and v2 ED64... But I wait until someone made it and made pics of it ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: rafaelalvesals on November 03, 2015, 02:37 AM
thanks for your time saturnu, but i still have no ideia how to do this by myself (dumb as hell, i know  :-[) i will waiting for someone try to reflash the chinese one, and if its possible to sell me one (or krikzz make one like the chinese ones).
Title: Re: switchable UltraCIC II for legacy ED64
Post by: wprpalmeida on November 03, 2015, 07:54 PM
saturnu, congrats on this awesome feat! hope the new everdrives come with this updated UltraCIC right off the bat. I assume those patches for saving and playing games are now a thing of the past eh? (even Star Wars Racer? i'm a bit confused about this one)

now on to a little request: i happen to have some ATTiny24a at home, would it be possible to modify the source asm file to allow for this MCU to be used instead of the 25? My ED64v3 is an older version, with a cannibalized 6102 soldered to the ED64 board. The ATTiny24a has 2 less pins, but I could leave pins 8 and 9 on the ED64 board, routing pin9 to the MCU as needed. It seems it'd work if I soldered the left side (pins 1-7) to the board and lift the other pins for rerouting. Also, I don't need region selection, I only need NTSC.


Cheers and congrats!
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 03, 2015, 08:58 PM
the attiny24a has even more pins than the attiny25 ^^
but yes maybe this is working, but it could end up in some timing errors, too. :D

just delete this line
+.include "/usr/share/avra/includes/tn45def.inc"

swap this back (you can use atmel studio instead of avra, so you don't have to look up the stack offset manually) ^^
+;   ldi scr0, LOW(RAMEND)   ;STACK!  Make sure SPH is not needed for the part
+   ldi scr0, 0xDF   ;STACK! attiny25 offset when using tn45def.inc

and alter the pinout for your attiny (to capable pins!)
 .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

the fuse settings should be the same ^^

EDIT:
star wars racer, hm it has a 6102 cic so nothing changed for this title.

dk64 might save now, if it randomly checks for the cic like JFG to erase the save data.
i don't have the patience to play this for several hours. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: wprpalmeida on November 04, 2015, 02:36 AM
the attiny24a has even more pins than the attiny25 ^^
but yes maybe this is working, but it could end up in some timing errors, too. :D

just delete this line
+.include "/usr/share/avra/includes/tn45def.inc"

swap this back (you can use atmel studio instead of avra, so you don't have to look up the stack offset manually) ^^
+;   ldi scr0, LOW(RAMEND)   ;STACK!  Make sure SPH is not needed for the part
+   ldi scr0, 0xDF   ;STACK! attiny25 offset when using tn45def.inc

and alter the pinout for your attiny (to capable pins!)
 .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

the fuse settings should be the same ^^

EDIT:
star wars racer, hm it has a 6102 cic so nothing changed for this title.

dk64 might save now, if it randomly checks for the cic like JFG to erase the save data.
i don't have the patience to play this for several hours. ^^

Thanks for your extensive reply. I'm familiar with Atmel MCUs, but only in a higher level, ASM still bugs my brain.

As I don't have the patience to test it extensively to check if the timings don't cause problems, I decided to suck it up and order a few ATTiny25 samples to do this.

thanks for your time saturnu, but i still have no ideia how to do this by myself (dumb as hell, i know  :-[) i will waiting for someone try to reflash the chinese one, and if its possible to sell me one (or krikzz make one like the chinese ones).

Rafael, send me a PM. I'm from Brazil as well, and I'm willing to help you if you pay all shipping expenses
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 04, 2015, 09:34 AM
here are my two cents about the compatibility of the usual suspects

after a bit forum search, i'm not sure if  "star wars episode 1 - racer" has a problem at all.
maybe some guys are just using a bad dump.
there is no special feature in the 6102 cic you could check for and epprom access is done through pif commands. ^^
the eeprom chip isn't transparent nor special in any way in respect to the game.

the problem with dk64 was never an inaccurate eeprom simulation and it is simply a random cic 6105 test, 'cause RARE is using a cic test in JFG and BT, too.
i don't think it's just a coincidence that it's a 6105 game. there is a good chance it's fixed with an UltraCIC II (it should work ^^).

some note about "battle tanx"
the previous fix for that was to manually set the timing within the cic simulation.
the new cic simulation, that was introduced with parasytes game shark core, is working more accurate.
it's reading out that information in the header of every game and "battle tanx" is running fine for me, too.

about "pokemon stadium 2"
as many of you know, this is just a problem of the sram location at the end of the sdram.
technically it is possible to get this running on a v2/2.5 with an fpga update and a splitted mapper.
but there is "animal forest" too so you will only gain full compatibility on a v3 anyway,
even if krikzz would decide to go through this crude implementation. ^^

Dezaemon 3D is already fixed with >OS2.10
Jet Fore Gemini should now work with UltraCIC II
Banjo Tooie should now work with UltraCIC II

Edit: without => with
Title: Re: switchable UltraCIC II for legacy ED64
Post by: MockyLock on November 06, 2015, 10:53 PM
Hello here !
Some little news. I received my chinese UltraCIC nad it seems something familiar :
(http://i.imgur.com/y7aZGRz.jpg)
(http://i.imgur.com/aTBX16q.jpg)

Please saturnu, tell me i'm right, it's some Atiny25 that i can flash with your code ?

I would like to do somthing like you here :
(http://i.imgur.com/szFEpa9.png)

It's part of the Everdrive board, right ?
Mine doesn't look like this one. It's a V2.01. Do you think i could find a way to solder kinda pin header, so i could flash the UlraCIC even soldered on the board ?

Anyway, thank you for your work !!
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 07, 2015, 12:14 AM
as i alresdy said, i don't know if these chips are still rewriteable. ^^
it is possible to set a lock bit as a security measure to protect the chip.

but there is still hope! ^^
at least it looks like an attiny25 or a compatible clone.

if you want to try out an isp programmer, keep in mind that the ultracic is fused for an external clock.
so you have to reflash it while the ED64 is running or you have to provide an external clock to PIN 2.

(https://f.zdev.com/dl/ludedi.jpg)

PB0 the MOSI should be GND on an installed ultracic. go sure that isn't the case while programming. :D
i can't tell you that by the picture, it looks like a multi layer pcb. :>

(https://f.zdev.com/dl/tclxpb.PNG)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: nuu on November 07, 2015, 12:58 AM
here are my two cents about the compatibility of the usual suspects

after a bit forum search, i'm not sure if  "star wars episode 1 - racer" has a problem at all.
maybe some guys are just using a bad dump.
there is no special feature in the 6102 cic you could check for and epprom access is done through pif commands. ^^
the eeprom chip isn't transparent nor special in any way in respect to the game.

the problem with dk64 was never an inaccurate eeprom simulation and it is simply a random cic 6105 test, 'cause RARE is using a cic test in JFG and BT, too.
i don't think it's just a coincidence that it's a 6105 game. there is a good chance it's fixed with an UltraCIC II (it should work ^^).

some note about "battle tanx"
the previous fix for that was to manually set the timing within the cic simulation.
the new cic simulation, that was introduced with parasytes game shark core, is working more accurate.
it's reading out that information in the header of every game and "battle tanx" is running fine for me, too.

about "pokemon stadium 2"
as many of you know, this is just a problem of the sram location at the end of the sdram.
technically it is possible to get this running on a v2/2.5 with an fpga update and a splitted mapper.
but there is "animal forest" too so you will only gain full compatibility on a v3 anyway,
even if krikzz would decide to go through this crude implementation. ^^

Dezaemon 3D is already fixed with >OS2.10
Jet Fore Gemini should now work without UltraCIC II
Banjo Tooie should now work without UltraCIC II
Do all regional versions of Jet Force Gemini and Banjo Tooie work now? I must have missed that. I might as well remove Battle Tanx from the incompatibility list too if it works now. And add the cicII info to the list.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 07, 2015, 01:05 AM
Just a typo all region version should work with an ultracic ii.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: MockyLock on November 07, 2015, 09:28 AM
After a little check, pin 5 PBO/MOSI of the Chinese CIC is connected to pin 13 of the CIC slot (the lone VSS in NUS-CIC pinout).
All the other pins are connected like you described in your post above.


Well, these are my thoughts :
- i can install the chinese switchable CIC in the Everdrive, but i have to desolder the pin PBO/MOSI from its pad.
- i have to solder a little wire to this pin PBO/MOSI so i could connect it to either GND for use, or MOSI for flash.
- i'll still be able to solder wires to the needed pins on the back of the CIC pins (on the front side of Everdrive) in order to flash it with updated codes

Here what would be the wiring diagram for flashing :
Locate :
(http://i.imgur.com/BVtCCUM.jpg)

Diagram :
(http://i.imgur.com/A9en98W.jpg)

So you told me i have to flash it while the Everdrive is running.
Just power on N64 with Everdrive, at the menu screen ?

Sorry for my never-ending asks, but i have so much to learn, and you seem to be the better teacher :)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 07, 2015, 02:41 PM
Yes or just connect clk in and vcc and gnd and connect the rest and gnd to the programmer. The whole point is that it needs to be ext. clocked for the icsp programmer.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: MockyLock on November 08, 2015, 08:06 PM
Hum, external clocked or clocked by the running everdrive ? I'm pretty lost...
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 08, 2015, 09:09 PM
both would be external clocked (external clk into the chip), the chip internal osciallator is disabled.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: MockyLock on November 09, 2015, 08:18 AM
That' becoming harder than expected...
I've soldered that switch CIC in my everdrive with the PBO grounded with a wire. I'll see later if i'll be good enough to try a flash.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 09, 2015, 12:17 PM
I think a better idea would be to boot the n64 with the old cic and just connect (PIN8:vcc), PIN4:gnd and PIN2:clk-in parallel to it.
than turn on the n64 and and start the programming of the attached ultracic over the spi bus (PB 0,1,2,5,gnd).

i don't know if there is data on the data-io and data-clk pins while the n64 is running, that could mess up your spi bus.
maybe it's working to program it in circuit or maybe not. :D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 11, 2015, 08:55 PM
This is what i was using to reflash my ultracic that is fused to external clk.

It's a 20Mhz quartz oscillators and in specs, if powered of 5v. ^^
If you are using 3v3 you shouldn't go much higher than 10Mhz and if your attiny is brand new the internal osc is enough.

ATtiny25/45/85: 0 – 10 MHz @ 2.7 - 5.5V, 0 - 20 MHz @ 4.5 - 5.5V

(https://f.zdev.com/dl/nfwxeb.png)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Zelda93 on November 12, 2015, 12:12 AM
Does anyone from Europe (preferably the UK) mind doing this mod for me if was to send you my everdrive? I really wouldn't have a clue to be honest.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Aroenai on November 12, 2015, 07:41 PM
Looks like the China chips have been upgraded. Evidently the switch order is backwards (Vcc=PAL, GND=NTSC) according to the seller, can anyone verify?
Quote
EverDrive64, ED64Plus, 64drive Flash Cart need a CIC Chip for boot to run on a N64 console   
UltraCIC II(ATtiny25) chip work for all PAL/NTSC N64 system, support to run CIC-NUS-6105/7105 non patched games (e.g. Banjo-Tooie (U) [!].z64)

'P' Switch position for PAL N64 CIC-NUS-7101

'N' Switch position for NTSC N64 CIC-NUS-6102

http://www.aliexpress.com/store/product/UltraCIC-PAL-NTSC-Version-CIC-Chip-for-EVERDRIVE-64-ED64Plus-N64-Flash-Cart/1902006_32431977887.html
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 12, 2015, 07:52 PM
lol, it seems like here are some chinese vendors in the forum. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: GreatFunky on November 13, 2015, 09:08 AM
lol, it seems like here are some chinese vendors in the forum. ^^

(http://vignette3.wikia.nocookie.net/adventuretimewithfinnandjake/images/b/b3/Theres-no-emoticon-for-what-im-feeling_1401.gif/revision/latest?cb=20121125190459)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Modman on November 16, 2015, 04:39 AM
Well, after some tinkering, I have successfully installed an UltraCIC II into my everdrive V2. It just booted up an unpatched Banjo Tooie rom perfectly. Now to test GameShark codes.

I used a Minipro TL866A programmer for the ATTiny25's. Worked perfectly.

Edit:

GameShark codes are working. Thank you, Saturnu. Also, I don't know if it's a big deal, but I noticed in your patch that you set the CIC to a 7101. I removed that when I patched ultracic.asm so that mine would remain a 6102, since I'm on an NTSC console. Other than that, I didn't make any changes.

I had stolen a 6105 from a Donkey Kong 64 cart I had during a previous attempt to get the ED64 to boot Banjo Tooie. That didn't work out for me. But, luckily my cart is saved due to the UltraCIC II. Installed here and working:

(http://s28.postimg.org/5fcxune0d/image.jpg)

For the Donkey Kong 64 UltraCIC, I did set it to 6105 before I flashed it.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 16, 2015, 09:13 AM
Also, I don't know if it's a big deal, but I noticed in your patch that you set the CIC to a 7101. I removed that when I patched ultracic.asm so that mine would remain a 6102, since I'm on an NTSC console.


it doesn't matter if 6102 oder 7101 is set at the beginning of the file. :>
the 710x mode isn't activated by this bit setting, it's activated by connecting PB4 to vcc.
if it's on gnd or maybe nc it's in ntsc mode.

Code: [Select]
+ ;sbrc scr0, 3 ;deactive old config check - saturnu
+ sbis CICPINS, CICPIN3 ; replace with a pal/ntsc switch - saturnu
  sbr flags, (1 << FLAG_710x_MODE)

EDIT:
i mean, that's the whole point of the ultracic in the first place. :D
the x105 compatibility is a bonus feature. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: nuu on November 16, 2015, 10:22 AM
Is it possible to boot up Banjo Tooie US version without the ED64 OS automatically butting in and patching it?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 16, 2015, 10:37 AM
sure, go to /ED64/AUTO and delete the biggest patch. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Modman on November 16, 2015, 04:17 PM
Awesome, well thank you again, Saturnu, for doing this and making the instructions easy to follow. :)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: wprpalmeida on November 16, 2015, 08:34 PM

The switch is in NTSC mode, if PIN3 connected to VDD and in PAL mode on GND.



the 710x mode isn't activated by this bit setting, it's activated by connecting PB4 to vcc.
if it's on gnd or maybe nc it's in ntsc mode.


i got a bit confused. To activate 610x mode (NTSC) should I connect it to Vcc or Gnd?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Modman on November 16, 2015, 08:39 PM
My N64 is NTSC, and it's working properly when connected to Vcc
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 16, 2015, 08:41 PM
The switch is in NTSC mode, if PIN3 connected to VDD and in PAL mode on GND.

EDIT:
oh it was already answered :D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Modman on November 17, 2015, 02:52 AM
Hmm... I'm trying to play Banjo Tooie, and it keeps freezing at random spots. It will play for a while, and then the game freezes, but the music continues to play. I heard this could be an issue related to the game losing sync with the CIC, so I double checked all of my solder connections, and everything is showing perfect continuity. I'm using OS 2.11. Any ideas?

Edit:

Disregard. It was due to certain gameshark codes I was using. Weird that it was freezing at random points, but I'm guessing they were assembly codes and I didn't realize it.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: nuu on November 19, 2015, 01:06 AM
sure, go to /ED64/AUTO and delete the biggest patch. ^^
Oh so THAT's the Banjo Tooie patch! Thanks!
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Link83 on November 21, 2015, 02:40 AM
This is great work saturnu! :)

I have have a couple of questions if you dont mind...

-Does the Ultra CIC II 'appear' as a standard 6102/7101 CIC to the ED64/PIF-NUS, but also include the challenge/response algorithm from the 6105/7105 CIC? (So allowing Jet Force Gemini and Banjo-Tooie to be played without patches) I am only guessing it works like this, since otherwise I believe the ED64's bootloader would need to be modified to accept a 6105/7105.

-Is there any way the CIC could 'detect' the consoles region and select it automatically, so that an NTSC/PAL switch would no longer be required?
I seem to recall the NES CIC could not detect the consoles region, but it could detect a successful boot - so it checked if the console booted succesfully and if so remembered the region setting. If you then used the CIC in another region you just tapped the reset button until the system booted, as this cycled through each of the available regions. Here is a post from KRIKzz about it:-
Krikzz, how does the region changing and LED work? Does it just rely on the console resetting itself in order to cycle through the different CIC codes?

If correct region already selected, then reset pushing will not have any effect, but if cic detects that system locked, then happens next:
1) first 3 resets, cic just trying to unlock system like usually
2) after 3 failure attempt to unlock the system, cic will try to swith on other region (change key/lock codes).
3) led is shine, each next reset will switch cic to next region (4 regions total). Once correct region will be selected, cic will remember it and led will be turned off

I just wondered if something similar might be possible with the N64 UltraCIC II?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 21, 2015, 10:19 AM
short answer no
the cic just sends some information back to the pif
it doesn't really know if it was a successful boot or not

long answer: maybe with menu or pcb modification ^^

maybe it's possible to send some confirmation combination as x105 challenge request, thats stops the cic from cycling between ntsc and pal by toggeling a region bit back in the internal attiny eeprom.
if the menu didn't boot - the request is missing, it switches the mode in the eeprom.


example (ntsc console):
- pal bit is set in eeprom
- cic toggels this bit to ntsc in eeprom
- special x105 request is missing (menu isn't running)
=> user needs to push reset

next boot:
- nstc bit set in eeprom
- cic toggels this bit to pal in eeprom
- special x105 request is received (menu is running)
- cic toggels this bit to ntsc in eeprom


the pcb way could be that the maxII or fpga is toggeling the voltage instead of a switch. ^^
if the bootloader is running and accessing the sdcard (console is set to the right region) it could toggle some bit in sram back or something like that for the next boot. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: D4v3WTF on November 21, 2015, 07:04 PM
Hey Saturnu, thanks again for your work! I've installed your UltraCIC II on my Everdrive v2.1 with success! I've attached some pictures.

(http://fs5.directupload.net/images/151121/temp/p4cdi65v.jpg) (http://fs5.directupload.net/images/151121/temp/u98rayjh.jpg)
Greetings
Title: Re: switchable UltraCIC II for legacy ED64
Post by: phoenixdownita on November 23, 2015, 02:45 AM
OK managed to apply the patch and compile with the avra free tools.
I am left with:
3,847 bytes UltraCIC.hex
13 bytes      UltraCIC.eep.hex

I have a Minipro programmer, I venture I need to load the first as code and the second (eep) as Data (although it appears completely empty in Intel HEX ":00000001FF" represent the EOF record and that's the only line there) and then set the flags appropriately.
Is that it?

[On a side note I am having trouble finding the ATTiny25 at cheap prices, and I for sure don't want to buy too many, it seems the ATTiny45 and ATTiny85 are far cheaper, does it require a lot of rework to make the code function on those other kinds of ATTiny?]
Title: Re: switchable UltraCIC II for legacy ED64
Post by: rafaelalvesals on November 23, 2015, 05:23 AM
OK managed to apply the patch and compile with the avra free tools.
I am left with:
3,847 bytes UltraCIC.hex
13 bytes      UltraCIC.eep.hex

I have a Minipro programmer, I venture I need to load the first as code and the second (eep) as Data (although it appears completely empty in Intel HEX ":00000001FF" represent the EOF record and that's the only line there) and then set the flags appropriately.
Is that it?

[On a side note I am having trouble finding the ATTiny25 at cheap prices, and I for sure don't want to buy too many, it seems the ATTiny45 and ATTiny85 are far cheaper, does it require a lot of rework to make the code function on those other kinds of ATTiny?]

UltraCIC Pinout (ATtiny25)
PIN3 connects to the switch between vcc and gnd
(https://f.zdev.com/dl/tgucuu.png)

judging by this pic, i suppose that the code will work with 25, 45 and 85 without need change the code =)
you will need to change just in case of attiny 24 because it have more legs, based on what saturnu said before =)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: phoenixdownita on November 23, 2015, 07:24 AM
OK managed to apply the patch and compile with the avra free tools.
I am left with:
3,847 bytes UltraCIC.hex
13 bytes      UltraCIC.eep.hex

I have a Minipro programmer, I venture I need to load the first as code and the second (eep) as Data (although it appears completely empty in Intel HEX ":00000001FF" represent the EOF record and that's the only line there) and then set the flags appropriately.
Is that it?

[On a side note I am having trouble finding the ATTiny25 at cheap prices, and I for sure don't want to buy too many, it seems the ATTiny45 and ATTiny85 are far cheaper, does it require a lot of rework to make the code function on those other kinds of ATTiny?]

UltraCIC Pinout (ATtiny25)
PIN3 connects to the switch between vcc and gnd
(https://f.zdev.com/dl/tgucuu.png)

judging by this pic, i suppose that the code will work with 25, 45 and 85 without need change the code =)
you will need to change just in case of attiny 24 because it have more legs, based on what saturnu said before =)

I was looking at the assembly of the patch and at a point it does:
ldi scr0, 0xDF   ;STACK! attiny25 offset when using tn45def.inc
out SPL, scr0

both the ATtiny45 and 85 have bigger stacks (well they have 2 times and 4 times respectively the SRAM of the ATtiny25 to be precise, and of the eeprom but it is not used in this project) and hopefully they are compatible when placing SPL at the same spot (meaning beside the waste we can set the default SPL the same way [and forget SPH at 0]).
Given I've never looked at AVR assembly before I was just making sure it was the case so I can buy safely ATtiny45/85 whatever is cheaper.

I believe as you suggest that it is indeed the case and all should be well with either, maybe saturnu would confirm.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 23, 2015, 05:17 PM
all three cost about 1€ here, if you buy just a single chip. ^^
but if you really need to save a few cents, i think phoenixdownita is right, they are nearly identical beside the rom/ram size.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: dreimer on November 23, 2015, 05:27 PM
I wonder what to do with these chinese chips and their P/N switch included on a v3 ED64... sorta useless I would say. The ED64's own switch does the same that one on the pcb does, right?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: rafaelalvesals on November 23, 2015, 05:38 PM
I wonder what to do with these chinese chips and their P/N switch included on a v3 ED64... sorta useless I would say. The ED64's own switch does the same that one on the pcb does, right?

only the version with the ultracic has the switch, this chinese boards are for the boards that use a cic 6102/7102 from a original nintendo cart, thats why they have a switch, because this board doesn't have one.

(http://shop.krikzz.com/images/v3.jpg)
(https://photos-2.dropbox.com/t/2/AACnUrjwckArBxfH7XZwR3hDxJAcQBUwiEe_8eG7cuYlow/12/76641671/jpeg/32x32/1/1448308800/0/2/everdrive-64-with-ultracic.JPG/EMe0uTsY0K8IIAcoBw/-ZseDnXwdUGAWncwYTdAuUzdNoAeyMFUI7u0R-qTnXg?size_mode=3&size=1600x1200)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 23, 2015, 05:41 PM
i think the best option for the ultracic v3 units would be to just reflash the existing ultracic. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: phoenixdownita on November 23, 2015, 07:51 PM
all three cost about 1€ here, if you buy just a single chip. ^^
but if you really need to save a few cents, i think phoenixdownita is right, they are nearly identical beside the rom/ram size.

From overhere for an ATTiny25 shipped to my door I have to spend around 5US$, and 15US$ for 5, but I managed to buy 2 ATTiny85 shipping included for 2.80US$ (eBay sellers).
I can see the price of around 1€ + shipping from eBay German sellers which amount in the end to around 5US$ all included, maybe the Chinese just ~match the price (knowing their shipping is way lower), the ATTiny25 in SOIC8 are little cheaper but I don't want the hassle to build an adapter (I have all the parts I am just lazy in that regard).
So it seems to me there's more demand of the ATTiny25 than for the other 2 and so those are cheaper to obtain even if they are more powerful (2 to 4 times the Flash, SRAM and EEPROM.... all good stuff which we don't need for this project as it fits the smaller of the bunch).

Looking at the original UltraCIC code and at the "switch + x105 mix" patch I cannot figure out if I need to change anything to the current patched code.
I understand that for the ATTiny the first 0x60 locations are for the registers anyway so the actual SRAM starts at 0x60 and for the ATTiny25 (with 128bytes = 0x80 bytes) it ends at location 0xDF [which is the value the patch is setting SPL to 0x0DF = 0x60+ 0x80 - 0x01 <- because 0x60 is usable] ).
The original code was instead using LOW(RAMEND) for SPL which is weird as for an ATTiny45 (at 256 bytes of SRAM) it rolls over, and I don't see the code setting SPH to 1  ... so RAMEND would be 0x015F in that case and LOW(RAMEND) would amount to 0x5F.
Am I reading this thing right? [sorry I am new to the ATTiny]

I admit I don't understand fully how it works, hence I asked the question.

[Maybe my confusion stems from the fact the patch is referring to the tn45.inc which is not what the original code was using, hence RAMEND would have been correctly 0xDF for the original code anyway while for using the tn45.inc it would have been messed up hence the fix, maybe]
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 23, 2015, 09:15 PM
yes i guess this should be right. ^^
i couldn't remember where i looked up the 0xDF or if i calculated it, too.

so i used atmel studio with LOW(RAMEND) on all three attiny and decompiled the binary with ida.
and guess what? the result was 0xDF for the attiny25 and 0x5F for the attiny45. :D

Title: Re: switchable UltraCIC II for legacy ED64
Post by: phoenixdownita on November 23, 2015, 09:22 PM
yes i guess this should be right. ^^
i couldn't remember where i looked up the 0xDF or if i calculated it, too.

so i used atmel studio with LOW(RAMEND) on all three attiny and decompiled the binary with ida.
and guess what? the result was 0xDF for the attiny25 and 0x5F for the attiny45. :D

Well then it means that with 0xDF and using only SPL should be good for the 3 of them  :) as they all have at least 128 bytes of SRAM, in the case of the 45/85 we just do not put the stack at the end of the possible SRAM space but for this project it really shouldn't matter.

If we really really really want to put the stack at RAMEND an any processor we need to set SPH to 1 for the att45 (RAMEND=0x015F) and 2 for the att85 (RAMEND=0x025F), but I wouldn't bother.

Needless to say but we can't blindly use LOW(RAMEND) obviously as 45/85 would not even be in SRAM at all [0x5F = last register location], hence why you needed to patch it (I venture the tn45.inc file is specifically for the att45 only).


EDIT: I should state that my interest in this UltarCIC II is the mixed mode that allows 6105 games to run unpatched, that alone is worth the price of the ticket, the switch is the bonus for me  ;D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 23, 2015, 09:35 PM
what should probably go wrong. ^^
luckily these chips are rewriteable. hrhr

i'm no attiny assembler expert either, i just hacked in a few modifications. :D

btw. there is a PIC16F1613 based ultracic, that's working fine, too.
after a quick look on ebay, i can say that they are even more expensive.
https://github.com/mikeryan/UltraCIC/blob/master/UltraCIC.asm
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Modman on November 24, 2015, 08:03 AM
Hey Saturnu, thanks again for your work! I've installed your UltraCIC II on my Everdrive v2.1 with success! I've attached some pictures.

(http://fs5.directupload.net/images/151121/temp/p4cdi65v.jpg) (http://fs5.directupload.net/images/151121/temp/u98rayjh.jpg)
Greetings

I really like your work, and I think you might have the most efficient installation method.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: rafaelalvesals on November 24, 2015, 02:20 PM
Hey Saturnu, thanks again for your work! I've installed your UltraCIC II on my Everdrive v2.1 with success! I've attached some pictures.

(http://fs5.directupload.net/images/151121/temp/p4cdi65v.jpg) (http://fs5.directupload.net/images/151121/temp/u98rayjh.jpg)
Greetings

I really like your work, and I think you might have the most efficient installation method.

you didnt see mine yet haha  ;D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: dreimer on November 25, 2015, 01:44 PM
Anyone a nice howto how to flash the one on a v3? Solder points and stuff?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: skaman on November 25, 2015, 07:19 PM
Doesn't the V3 have an ISP header connected to the UltraCIC? 

You could probably use a Pogo pin adapter connected to USBASP and reprogram the chip without any soldering.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 25, 2015, 07:56 PM
if you look at the first post, there is a description on that since weeks. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: dreimer on November 26, 2015, 09:37 AM
Sorry, didnt see the Update below, OK then ... lets solder this guy and flash it ^^. First I need to make me a binary of course ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: D4v3WTF on November 26, 2015, 05:39 PM
Quote
I really like your work, and I think you might have the most efficient installation method.

Thank you Modman. At first I tried something with an circuit board, but that wasn't a good idea  :o

Quote
you didnt see mine yet haha  ;D

Give us some pictures  ;D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: rafaelalvesals on November 26, 2015, 06:49 PM
Quote
I really like your work, and I think you might have the most efficient installation method.

Thank you Modman. At first I tried something with an circuit board, but that wasn't a good idea  :o

Quote
you didnt see mine yet haha  ;D

Give us some pictures  ;D

its look like yours, but I used skinny wires, so i could let the wires closer to the chip and made them shorter also, this made a little harder to solder so i had to use a pincer sometimes, but gives a cleaner look and for pin 2 and 11 I put the on the front side of the cart to make them short =)

I forgot to take a picture when i finish it, and my cart is getting loose the screw holes, so i kind of avoid open it :-[
Title: Re: switchable UltraCIC II for legacy ED64
Post by: skaman on November 27, 2015, 10:42 PM
KRIKzz announced on Twitter:

"From now ED64 comes with UltraCIC II. All 6105 games now working without patching! Seems like now we can say that ED64 supports 100%of games"

BIG Thanks to saturnu!
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Smashbro29 on November 28, 2015, 01:17 AM
KRIKzz announced on Twitter:

"From now ED64 comes with UltraCIC II. All 6105 games now working without patching! Seems like now we can say that ED64 supports 100%of games"

BIG Thanks to saturnu!

https://shop.retrogate.com/everdrive/everdrive-64-v3-buy

Does this come with CIC II?

I'm very confused right now and I need to buy this now.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: welfnm on November 28, 2015, 06:57 AM
UltraCIC II  is needed for people to play NTSC and Pal Games?

I have no idea what UltraCIC is for
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 28, 2015, 07:30 AM
in the first place it acts just like 6102 that's switchable to it's pal equivalent 7101, so you can use your ed64 on both types of console.
in the second place this particularly patch has a permanent activated cic x105 challenge, so you can run these rare games without patches (dk64,jfg,bt).
Title: Re: switchable UltraCIC II for legacy ED64
Post by: welfnm on November 28, 2015, 08:21 AM
So if you install Ultracic II no need for fixes, patches?

Anyway, most people here I believe have v2.5 ...

Does the UltraCIC II have the codes/fixes/patches in the code?  how can it by pass the protection?

BTW why did Krikzz said that "NOW 100% compatibility"..... he meant that it's possible to play Pal games on NTSC?

I have a NTSC console and I can play PAL games with v2.5 and I have only the NTSC chip
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 28, 2015, 09:35 AM
you are mixing up the things here a little bit.

the patches are needed if you don't have installed an cic7/6105 or ultracic II.
the ed64 can play pal and ntsc games on any console since the beginning, there are just some issues with TVs, that can't display the mixed up video output like NTSC50 or PAL60.

to fix this issue you can mod your n64 to output a RGB signal or you can use the new UltraHDMI board.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: cell on November 28, 2015, 07:15 PM
you are mixing up the things here a little bit.

the patches are needed if you don't have installed an cic7/6105 or ultracic II.
the ed64 can play pal and ntsc games on any console since the beginning, there are just some issues with TVs, that can't display the mixed up video output like NTSC50 or PAL60.

to fix this issue you can mod your n64 to output a RGB signal or you can use the new UltraHDMI board.
Hi, saturu.

Im a bit confused here too. I just bought an ED64 (16 days ago). Ordered the works, (NTSC+PAL ULTRACIC),red shell.
Does this mean that I do NOT have an ULTRACIC II chip/full patch-less compatibility?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 28, 2015, 07:43 PM
i guess that's right, because the news that they are updated are from friday, but i don't sell these carts.
just try banjo tooie PAL or NTSC, if it doesn't boot or if there is a crack intro, you don't have an ultracic II.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: cell on November 28, 2015, 08:17 PM
i guess that's right, because the news that they are updated are from friday, but i don't sell these carts.
just try banjo tooie PAL or NTSC, if it doesn't boot or if there is a crack intro, you don't have an ultracic II.
Thanks for the reply, saturnu.
By crack intro, I take it you mean the loud, obnoxious "dextrose" "intro" that I just sat through?!
Just tried banjo tooie NTSC, and i guess its using a crack = I my ED64 was not fitted with an ULTRACIC II?
Believe it or not, I received my ED64v3 in the post yesterday. The same day as you say, they announced it will now feature the ULTRACIC II chip.
Surely, the update to the ULTRACIC II chip was known about, when I ordered my ED64v3, 16 days ago.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 28, 2015, 09:12 PM
hm, if i think twice about it you would need to delete the banjo tooie patch first from the /ED64/AUTO folder, otherwise it's still using it.
a better test would be to try to start banjo tooie PAL, 'cause there is no patch available.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: cell on November 28, 2015, 10:06 PM
hm, if i think twice about it you would need to delete the banjo tooie patch first from the /ED64/AUTO folder, otherwise it's still using it.
a better test would be to try to start banjo tooie PAL, 'cause there is no patch available.
Good info, saturnu, thanks for your help.
Ok, flipped the ED64v3 switch to PAL, plugged the ED64v3 into my PAL N64, loaded-up banjo tooie PAL rom.
For an instant, it looks like the patch is loading and then black screen/rom does not load. Definitely not an ULTRACIC II, then?

(by the way, the name of this thread is only now hitting me: "Re: switchable UltraCIC II for legacy ED64". I went for the most up to date, fully featured ED64 and 24 hours after receiving it I am seeking assistance in a thread for "legacy" issues)

Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 29, 2015, 12:10 AM
the good news are, there are still working patches available (except for banjo tooie pal) and the possibility to update the ultracic.
i mean, if you really want to. ^^ we are still only talking about getting rid of patches for three games. :D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: nuu on November 29, 2015, 02:03 AM
hm, if i think twice about it you would need to delete the banjo tooie patch first from the /ED64/AUTO folder, otherwise it's still using it.
a better test would be to try to start banjo tooie PAL, 'cause there is no patch available.
Good info, saturnu, thanks for your help.
Ok, flipped the ED64v3 switch to PAL, plugged the ED64v3 into my PAL N64, loaded-up banjo tooie PAL rom.
For an instant, it looks like the patch is loading and then black screen/rom does not load. Definitely not an ULTRACIC II, then?

(by the way, the name of this thread is only now hitting me: "Re: switchable UltraCIC II for legacy ED64". I went for the most up to date, fully featured ED64 and 24 hours after receiving it I am seeking assistance in a thread for "legacy" issues)
You could always update your UltraCIC to an UltraCIC II yourself. But yeah I feel your pain.

Quote from: Krikzz
From now ED64 comes with UltraCIC II. All 6105 games now working without patching! Seems like now we can say that ED64 supports 100%of games
He forgets Mario Photopie. Oh well it's 99.999...% compatibility! :D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: cell on November 29, 2015, 02:20 AM
the good news are, there are still working patches available (except for banjo tooie pal) and the possibility to update the ultracic.
i mean, if you really want to. ^^ we are still only talking about getting rid of patches for three games. :D
Oh, I know the three games are working with the patches. I wouldn't have bought the EV64 if those three major games didn't have compatibility.
Before I bought my ED64, I was reading the forums here. Learning as much as I could. I saw this discussion on the CIC II and thought maybe I should hold off on buying. But KriKzz said himself, when asked about the CIC II, that "I have no plans to offer cic update". He posted that on 15 november. So I went ahead and ordered my EV64 the next day, 16 november. I received it on 27 november and the next day I log into the forums here, and find out that kriKzz HAS  decided to offer the cic update :(
Perhaps I should just contact KriKzz directly about it.

Anyway, im not really on topic here. Sorry for blocking-up your thread, saturnu
Title: Re: switchable UltraCIC II for legacy ED64
Post by: cell on November 29, 2015, 02:37 AM
hm, if i think twice about it you would need to delete the banjo tooie patch first from the /ED64/AUTO folder, otherwise it's still using it.
a better test would be to try to start banjo tooie PAL, 'cause there is no patch available.
Good info, saturnu, thanks for your help.
Ok, flipped the ED64v3 switch to PAL, plugged the ED64v3 into my PAL N64, loaded-up banjo tooie PAL rom.
For an instant, it looks like the patch is loading and then black screen/rom does not load. Definitely not an ULTRACIC II, then?

(by the way, the name of this thread is only now hitting me: "Re: switchable UltraCIC II for legacy ED64". I went for the most up to date, fully featured ED64 and 24 hours after receiving it I am seeking assistance in a thread for "legacy" issues)
You could always update your UltraCIC to an UltraCIC II yourself. But yeah I feel your pain.

Quote from: Krikzz
From now ED64 comes with UltraCIC II. All 6105 games now working without patching! Seems like now we can say that ED64 supports 100%of games
He forgets Mario Photopie. Oh well it's 99.999...% compatibility! :D
Wheres that KriKzz quote from, nuu? On the forums here?

Hardware gets updated. I don't have a problem with that. There might be an ED64v4 some day.
Whats getting to me, is that it seems fairly clear that while I was being sold the most up to date EV64, with NTSC+PAL UltraCIC, the UltraCIC II model was being worked on.
12 days, in fact, away from being announced.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: TeamShake on November 29, 2015, 07:53 AM
Probably talking about the quote here:
http://krikzz.com/forum/index.php?topic=2961.15

I think what he meant was he was not going to update carts that are already sold.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Mosdef on November 29, 2015, 12:01 PM
I am really concerned as when all of this was happening with the change to ultracicII in the order page mine said ultraCIC then a few hours later it changed to UltraCICII
My order invoice says UltraCIC, I have sent Krikzz an email asking if I may have been sent an UltracicII... Being on the same day to the update!, I really hope so. :'( :'(
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 29, 2015, 01:00 PM
ehm, ok but nobody here could help you on this other than the shop support. ^^
was this just a post to let off steam? :D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Mosdef on November 29, 2015, 01:43 PM
No steam to let off at all!  :) I am extremely glad that you have done this mod for us all to enjoy, unfortunately I am not electronically capable to do this mod, and am just wishing/hoping that I will receive your update on my new everdriv.
As I was stating, on the same day I bought it I have on my invoice UltraCIC and a few hours later the store updates and now shows UltraCICII when purchasing.  ;)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: KRIKzz on November 30, 2015, 05:26 PM
my five cents. Here is ready to use binary files and sources of UltraCIC II for EverDrive-64. saturnu's code does not work for me by some reasons, so, i modified code which i used for regular ultracic. Seems like it work even without external clock source, but cart should be updated when console turned on. Connections shown on the pics.
https://www.dropbox.com/sh/fdt8185a8kpjozb/AAD5y9KEp1TnSYR31TgcLJrza/everdrive-64/ultracic2?dl=0

(http://storage7.static.itmages.ru/i/15/1130/s_1448897150_9987405_7969701df1.jpg) (http://itmages.ru/image/view/3255567/7969701d)
(http://storage6.static.itmages.ru/i/15/1130/s_1448897149_4295792_10e40f2790.jpg) (http://itmages.ru/image/view/3255566/10e40f27)
(http://storage5.static.itmages.ru/i/15/1130/s_1448897148_3117654_e527d3bc96.jpg) (http://itmages.ru/image/view/3255565/e527d3bc)
(http://storage4.static.itmages.ru/i/15/1130/s_1448897148_9462917_5d2b61159e.jpg) (http://itmages.ru/image/view/3255564/5d2b6115)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: welfnm on December 01, 2015, 09:45 AM
Will UltraCIC II also remove the need for patchs such as Star Wars Racer and Excitebike64?

Also I have no idea why Excitebike 64 has a patch but here is the info log
http://nfopic.com/get_image.php?f=image_144044465226.png&dl
Title: Re: switchable UltraCIC II for legacy ED64
Post by: welfnm on December 01, 2015, 09:48 AM
Another question: why are people using switches on their ED64? isn't UltraCIC II going to replace the need for UltraCIC? why have them both?

Since ED64 can handle PAL AND NTSC games since day one, why the europeans don't play Banjo Tooie in NTSC? Is the TV their issue?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: dreimer on December 01, 2015, 10:12 AM
Simple, because there no sane reason to be forced to play it patched and not 1:1 original if UltraCIC II fixes it. The switch is to select PAL OR NTSC and you HAVE to set it correctly to the setting you have the console for. Last reason. Why play a game in US English if you can have your mother tongue?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: welfnm on December 01, 2015, 10:21 AM
Simple, because there no sane reason to be forced to play it patched and not 1:1 original if UltraCIC II fixes it. The switch is to select PAL OR NTSC and you HAVE to set it correctly to the setting you have the console for. Last reason. Why play a game in US English if you can have your mother tongue?

I'm sorry for my english because I can't express myself

Last question is: the NTSC patch for Banjo Tooie works on PAL consoles right? The TVs display the image properly on a PAL N64?
Could it work on a PAL CRT TV?

If so, why would anyone would play it in PAL 50hz?

99% of the games are in english, also translations are ok but when the english team writes the script of the game, the team/person is thinking in english and the script being in english is a more accurate reproduction of the team writing
Title: Re: switchable UltraCIC II for legacy ED64
Post by: rafaelalvesals on December 01, 2015, 12:25 PM
Simple, because there no sane reason to be forced to play it patched and not 1:1 original if UltraCIC II fixes it. The switch is to select PAL OR NTSC and you HAVE to set it correctly to the setting you have the console for. Last reason. Why play a game in US English if you can have your mother tongue?

I'm sorry for my english because I can't express myself

Last question is: the NTSC patch for Banjo Tooie works on PAL consoles right? The TVs display the image properly on a PAL N64?
Could it work on a PAL CRT TV?

If so, why would anyone would play it in PAL 50hz?

99% of the games are in english, also translations are ok but when the english team writes the script of the game, the team/person is thinking in english and the script being in english is a more accurate reproduction of the team writing

you answered yourself with your question haha
the main problem is the color that, because of the frequency of pal tvs thats 50 and not 60 as ntsc. Some modern tvs can change it automatically, but, for the one that dont do this, you will have a a game in grayscale and you will have some problems with screen ratio, the pal have more lines on vertical if i'm not wrong.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on December 01, 2015, 12:40 PM
99% i doubt it. ^^
Even the big titles like ocarina of time, super Mario 64 and Mario Kart 64 are japanese ones, that are translated to english.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: welfnm on December 01, 2015, 12:56 PM
Well one thing is translation from Japanese to English..
Translating from english to a european language such german or french is a totally different animal.

COMMENTARY ABOUT TRANSLATIONS -- START
European languages are the product of a modern development, even italian and french which are a subproduct of Latim is completely different

The logic that translations from japanese to english are bad does not confirm or denies that translations from english to european languages are accurate.

As a matter of fact english is the most "polished" language.. it's the best language we have in the world for universal use, that is, gaming, movie and literature.

Of course some apologist main argue that german have more advanced verbs , etc, I wouldn't argue that, I'm saying that english is quite easy to understand since we all know some english in one way or another and there is no fancy accent like german or portuguese/french/spanish.

-- COMMENTARY ABOUT TRANSLATIONS -- END

IF Pal TVs can't play NTSC games.. well, if we are talking about CRTs then it makes sense to have a PAL game and play it 50hz BUT I assume most HDTVs can handle 50hz and 60hz. So why would someone would play it in 50hz??

If you can play it in 60hz, there is absolutely no reason to play it on 50hz as I played myself some games (my tv can handle both) and it's horrible in every aspect of it.

Also the europeans shoud have TVs that handles 60hz.. it's absurd that a country like Brazil manufactures TVs with both PAL and NTSC (50 and 60hz) and european countries don't have that.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: welfnm on December 01, 2015, 01:03 PM
Also, one should bear in mind that big companies translates huge titles like Zelda and Mario from japanese to english, they use mostly japanese experts in both japanese and english.

Japanese are not lazy as europeans usually are, so they do a much better job than translating something from english/japanese to german, french, italian, spanish, etc.

I don't mean to offend anyone, but it's the truth and I'm not PC.

Despite my horrible english writing, I learned to read almost everything using a dictionary alongside my gameplay.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: rafaelalvesals on December 01, 2015, 01:19 PM
For someone that play a retro console, you know nothing about televisions...
And stop thinking that the worlds surround you, just because you think the ntsc is better, doesn't mean it is, btw, in brazil the signal is M-pal not ntsc, and you must know, but i will say anyway, most of "brazilian manufacture" comes from other countries and are just put together like a lego here, we dont really "manufacture" a lot of thing...
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on December 01, 2015, 02:50 PM
Europeans are too lazy to make good translations?
Really? That's what you are thinking?


Will UltraCIC II also remove the need for patchs such as Star Wars Racer and Excitebike64?

Also I have no idea why Excitebike 64 has a patch but here is the info log
http://nfopic.com/get_image.php?f=image_144044465226.png&dl

These patches are from the old copier days (v64, v64jr, cd64 dr. z64).
they are used to save on a dx256 cart or ds1.

have you even tried to save on Excitebike 64? ^^
it's working without patches on modern flashcarts since years. :>
Title: Re: switchable UltraCIC II for legacy ED64
Post by: welfnm on December 01, 2015, 07:00 PM
For someone that play a retro console, you know nothing about televisions...
And stop thinking that the worlds surround you, just because you think the ntsc is better, doesn't mean it is, btw, in brazil the signal is M-pal not ntsc, and you must know, but i will say anyway, most of "brazilian manufacture" comes from other countries and are just put together like a lego here, we dont really "manufacture" a lot of thing...

I have one TV that plays PAL and NTSC and another that works with PAL-M and NTSC

I will post pictures later.

BTW: I couldn't help to notice you are brazilian. Unfortunately I was born in that country too and unfortunately I expected your monkey behavior.

Sorry to say but it's truth. Also europeans are usually very angry when someone says a simple word of truth like I said "europeans are lazy in translations".


Anyway, let's move on.

P.S: monkey behavior is due to your conclusion that I supposedly said NTSC is better while in reality I said one simple and 100% truth: playing in "60hz is better than 50hz".

So.. if I'm guilty of being egocentric by saying 60hz better than 50hz, so be it.

P.S. 2: Binary conclusions are very common in Brazil> If you say X is better than Y, then you are a egocentric.
If you say Y is better than X on other hand, then you are a lovely person.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: welfnm on December 01, 2015, 07:10 PM
Europeans are too lazy to make good translations?
Really? That's what you are thinking?


Will UltraCIC II also remove the need for patchs such as Star Wars Racer and Excitebike64?

Also I have no idea why Excitebike 64 has a patch but here is the info log
http://nfopic.com/get_image.php?f=image_144044465226.png&dl

These patches are from the old copier days (v64, v64jr, cd64 dr. z64).
they are used to save on a dx256 cart or ds1.

have you even tried to save on Excitebike 64? ^^
it's working without patches on modern flashcarts since years. :>

OK!! now I understand why there was a patch for Excitebike 64. I didn't know the difference.. that's why I said to users test them both when I uploaded some stuff.

It's saves perfectly, I almost finished the game, the last 2 medals are impossible.

I have three versions Exctibebike 64:
[!]
[f1]
[save] which I use to access  all unlocked features at start
Title: Re: switchable UltraCIC II for legacy ED64
Post by: rafaelalvesals on December 01, 2015, 07:31 PM
For someone that play a retro console, you know nothing about televisions...
And stop thinking that the worlds surround you, just because you think the ntsc is better, doesn't mean it is, btw, in brazil the signal is M-pal not ntsc, and you must know, but i will say anyway, most of "brazilian manufacture" comes from other countries and are just put together like a lego here, we dont really "manufacture" a lot of thing...

I have one TV that plays PAL and NTSC and another that works with PAL-M and NTSC

I will post pictures later.

BTW: I couldn't help to notice you are brazilian. Unfortunately I was born in that country too and unfortunately I expected your monkey behavior.

Sorry to say but it's truth. Also europeans are usually very angry when someone says a simple word of truth like I said "europeans are lazy in translations".


Anyway, let's move on.

P.S: monkey behavior is due to your conclusion that I supposedly said NTSC is better while in reality I said one simple and 100% truth: playing in "60hz is better than 50hz".

So.. if I'm guilty of being egocentric by saying 60hz better than 50hz, so be it.

P.S. 2: Binary conclusions are very common in Brazil> If you say X is better than Y, then you are a egocentric.
If you say Y is better than X on other hand, then you are a lovely person.

(https://pbs.twimg.com/profile_images/1501056035/eca_400x400.jpg)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: GreatFunky on December 01, 2015, 07:57 PM
Europeans are too lazy to make good translations?
Really? That's what you are thinking?

Fortunatelly for some others... they are not so lazy to make some cool electronic stuff ,  isn't it? ;)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Mosdef on December 02, 2015, 05:56 AM
I have a AVR USBtiny ISP Bootloader, and was wondering what is the best program to upload your new binary file KRIKzz, and hopefully a small tutorial just to make it a bit easier for people to update to UltracicII.
Soldering and installing the connection is not a problem for me, but the programming gets me.
Can you or somebody help  :)

my five cents. Here is ready to use binary files and sources of UltraCIC II for EverDrive-64. saturnu's code does not work for me by some reasons, so, i modified code which i used for regular ultracic. Seems like it work even without external clock source, but cart should be updated when console turned on. Connections shown on the pics.
https://www.dropbox.com/sh/fdt8185a8kpjozb/AAD5y9KEp1TnSYR31TgcLJrza/everdrive-64/ultracic2?dl=0

(http://storage7.static.itmages.ru/i/15/1130/s_1448897150_9987405_7969701df1.jpg) (http://itmages.ru/image/view/3255567/7969701d)
(http://storage6.static.itmages.ru/i/15/1130/s_1448897149_4295792_10e40f2790.jpg) (http://itmages.ru/image/view/3255566/10e40f27)
(http://storage5.static.itmages.ru/i/15/1130/s_1448897148_3117654_e527d3bc96.jpg) (http://itmages.ru/image/view/3255565/e527d3bc)
(http://storage4.static.itmages.ru/i/15/1130/s_1448897148_9462917_5d2b61159e.jpg) (http://itmages.ru/image/view/3255564/5d2b6115)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: KRIKzz on December 02, 2015, 11:49 AM
Actually i used avr studio 4.
You just should should choose .elf file, select mcu type and push the button (:
Also you should get power supply somewhere, i get it right from n64, but may be you will need to isolate clock pin from n64 cart bus(which is connected by wire on the photo) But in my case it working even without isolation
Title: Re: switchable UltraCIC II for legacy ED64
Post by: GreatFunky on December 02, 2015, 02:26 PM
Just an idea krikzz..

why not trying to sell some of these chinese cic chips on your shop , considering all ed64 sold in the past and upgradable.
 
I suppose there will be more demand now since saturnu's UltraCIC II , some people have no skill to build one and some others are not keen to place orders on aliexpress .
Even if it's a little bit expensive than on Aliexpress, i think most of us want to support you .
I'm not an expert but that shouldn't be very different than cartrige shell's business ? ...
Title: Re: switchable UltraCIC II for legacy ED64
Post by: rafaelalvesals on December 02, 2015, 03:05 PM
Just an idea krikzz..

why not trying to sell some of these chinese cic chips on your shop , considering all ed64 sold in the past and upgradable.
 
I suppose there will be more demand now since saturnu's UltraCIC II , some people have no skill to build one and some others are not keen to place orders on aliexpress .
Even if it's a little bit expensive than on Aliexpress, i think most of us want to support you .
I'm not an expert but that shouldn't be very different than cartrige shell's business ? ...

I would prefer buy from krikzz than from a seller on aliexpress, krikzz have more credibility and i would be more confident about functionality of the chip  ;D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: KRIKzz on December 02, 2015, 03:10 PM
Just an idea krikzz..

why not trying to sell some of these chinese cic chips on your shop , considering all ed64 sold in the past and upgradable.
 
I suppose there will be more demand now since saturnu's UltraCIC II , some people have no skill to build one and some others are not keen to place orders on aliexpress .
Even if it's a little bit expensive than on Aliexpress, i think most of us want to support you .
I'm not an expert but that shouldn't be very different than cartrige shell's business ? ...

1. I think that very small amount of people has enough skill and equipment to remove old cic chip and solder new.
2. china already sell them almost for free
Title: Re: switchable UltraCIC II for legacy ED64
Post by: GreatFunky on December 02, 2015, 07:50 PM
Just an idea krikzz..

why not trying to sell some of these chinese cic chips on your shop , considering all ed64 sold in the past and upgradable.
 
I suppose there will be more demand now since saturnu's UltraCIC II , some people have no skill to build one and some others are not keen to place orders on aliexpress .
Even if it's a little bit expensive than on Aliexpress, i think most of us want to support you .
I'm not an expert but that shouldn't be very different than cartrige shell's business ? ...


1. I think that very small amount of people has enough skill and equipment to remove old cic chip and solder new.
2. china already sell them almost for free
You're probably right ,
I buy sometimes on aliexpress , but i wasn't keen for UltraCIC , matter of principle...
Title: Re: switchable UltraCIC II for legacy ED64
Post by: dreimer on December 03, 2015, 10:09 AM
If you dont wanna save the old CIC on the v2 / v2.5, it's relatively easy to desolder it, otherwise it's a pain indeed. My brother soldered the one I use now to the PCB because I first wanted to save the old one, but even he had to cut it off first then. Works nicely.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on December 03, 2015, 10:15 AM
my desolderpump for 1€ did the trick for me. :D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Gh0st on December 03, 2015, 07:40 PM
Out of curiosity, are there patches available for all of the games that have issues with a 6102? I bought my ED64 1-2 years ago, back when there was no UltraCIC, and don't want to risk damaging the board through desoldering. I have a working copy of JFG and Banjo Tooie, I was just curious as to if there were more I should be worried about. I've seen some reports of Star Wars Pod Racer and DK64 having issues, were those reports confirmed?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on December 03, 2015, 08:58 PM
Yes, there are patches for every game but Banjo Tooie PAL.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: dreimer on December 04, 2015, 10:00 AM
... which works very well here now ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Zelda93 on December 04, 2015, 11:31 PM
I'd still be interested in getting a crack for the PAL Banjo-Tooie. I wouldn't feel comfortable installing UCIC II myself. I would consider having one installed through Krikzz though.

What exactly was involved in cracking Banjo-tooie (U)? What would be involved in cracking the PAL roms?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on December 05, 2015, 01:17 AM
this is a pretty complex crack, even if you just want to transfer it from ntsc to pal. ^^
if you ask me, it's a lot easier and less time consuming to learn de/soldering on a few dead devices.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: dreimer on December 05, 2015, 12:35 PM
(https://dl.dropboxusercontent.com/u/30053674/IMG_20151205_112730.jpg)
(https://dl.dropboxusercontent.com/u/30053674/IMG_20151205_112759.jpg)

These are not my solderings btw! My brother is more skilled in that. After we both decided, that it's too difficult to get the completely bent pins back out of the PCB, we used a plier to get it off first and then de-soldered all pins one by one. De-solder pump as last step and here we are. Clean PCB to solder the chinese UltraCIC II in there. Works fine. But BEWARE. Use a solder station which has POWER and still keeps below 300°C or you might kill the PCB.

And yes. Banjo Tooie PAL works ^^

EDIT: Here the UltraCIC II from below btw
(https://dl.dropboxusercontent.com/u/30053674/2015-12-05%2011.44.48.jpg)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: KRIKzz on December 05, 2015, 12:47 PM
Looks pretty good (:
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on December 05, 2015, 01:03 PM
i think it might be possible to build a switchless UltraCIC III. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: KRIKzz on December 05, 2015, 01:41 PM
i think it might be possible to build a switchless UltraCIC III. ^^
Yep, this should not be too hard. Something with automatic switch mechanism, like nes or snes cic chips
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on December 05, 2015, 02:21 PM
i monitored the bt x105 challenge

challenge (pif ram at 0x1fc007c0)

FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF
FF FF FF FF FF FF 0F 0F
8B 00 62 00 18 00 06 00
01 00 C0 00 B0 00 00 02 //0x3f=02 activate


the response by the cic is now in pif ram

FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF
FF FF FF FF FF FF 00 00
3E C6 C0 4E BD 37 15 55
5A 8C 2A 8C D3 71 71 00

the pif send the challenge to the cic if 0x3f is set to 0x02 or if bit 2 is set in the last 64bit row :>

using this it should be possible to send an "ok correctly booted" to the cic

EDIT: this was wrong by 1byte offset
Title: Re: switchable UltraCIC II for legacy ED64
Post by: MockyLock on December 05, 2015, 02:58 PM
Arrgghhh
I was about to convince myself to try to flash my UltraCIC in UltraCIC II.
And now you tell me that a possible switchless solution could rise from nowhere.
May wait a little more before warming my iron...
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on December 05, 2015, 03:06 PM
It's just theoretical thought at the moment. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: D4v3WTF on December 05, 2015, 03:08 PM
Hi, mine is already switchless! I use it only on my PAL machine, so no need for a switch  ;D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: phoenixdownita on December 05, 2015, 08:58 PM
my five cents. Here is ready to use binary files and sources of UltraCIC II for EverDrive-64. saturnu's code does not work for me by some reasons, so, i modified code which i used for regular ultracic. Seems like it work even without external clock source, but cart should be updated when console turned on. Connections shown on the pics.
https://www.dropbox.com/sh/fdt8185a8kpjozb/AAD5y9KEp1TnSYR31TgcLJrza/everdrive-64/ultracic2?dl=0
...

Has anyone tried it on an ATTiny85? Ideally the compiled version (hex) should work as LOW(RAMEND)  for ATTiny25 is 0xDF which is fine for the ATTiny45/85 as well. Just wanted to double check as I have 2 coming.

I noticed a few differences with the other patch in the ASM files, especially at the end where they keys are stored twice in Krikzz asm only one in the original.
The rest is not identical but close.
Krikzz code does not seem to declare the switch on PIN3, is that right?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: D4v3WTF on December 05, 2015, 10:53 PM
my five cents. Here is ready to use binary files and sources of UltraCIC II for EverDrive-64. saturnu's code does not work for me by some reasons, so, i modified code which i used for regular ultracic. Seems like it work even without external clock source, but cart should be updated when console turned on. Connections shown on the pics.
https://www.dropbox.com/sh/fdt8185a8kpjozb/AAD5y9KEp1TnSYR31TgcLJrza/everdrive-64/ultracic2?dl=0
...

Has anyone tried it on an ATTiny85? Ideally the compiled version (hex) should work as LOW(RAMEND)  for ATTiny25 is 0xDF which is fine for the ATTiny45/85 as well. Just wanted to double check as I have 2 coming.

I noticed a few differences with the other patch in the ASM files, especially at the end where they keys are stored twice in Krikzz asm only one in the original.
The rest is not identical but close.
Krikzz code does not seem to declare the switch on PIN3, is that right?

Hey, I've ordered an attiny25, but they accidentally sent me an at attiny85. I've tried to flash it with Saturnus files but it doesn't work. Maybe the attiny85 was faulty. I've payed 4€ plus shipping for 5 attiny25's.

Greetings
Title: Re: switchable UltraCIC II for legacy ED64
Post by: phoenixdownita on December 06, 2015, 03:07 AM

Hey, I've ordered an attiny25, but they accidentally sent me an at attiny85. I've tried to flash it with Saturnus files but it doesn't work. Maybe the attiny85 was faulty. I've payed 4€ plus shipping for 5 attiny25's.

Greetings

I noticed that Krikzz code does not seem to deal with external switch on PINB4:
Code: [Select]
.equ CICPIN3=PINB4 ;cic port2 pin3 ;switch pin
So I am not sure if Krikzz code is done the way it is done because the switch is already on the ED64 and maybe wired  differently as far as the cic is concerned.

Krikzz ASM itself seems like can be "fix" for ATTiny45/85 chaging
Code: [Select]
ldi scr0, LOW(RAMEND) ;STACK!  Make sure SPH is not needed for the partto
Code: [Select]
ldi scr0, 0xDF ;STACK! attiny25 offsetas saturnu already did (in his case to reuse the tn45.inc instead of the tn25.inc but that is it)

Regarding the switch I am not sure what to do, on the bright side I do not need it to be switchable right this moment so I can hard-wire it for NTSC and be done, still if one day I change my mind ....

EDIT:

I looked deeper in the code it seems the switch connected to B4 is checked just in a different way, aside from the fact that Krikzz code splits the 610x from 710x saturnu code has the 2 "merged" (the difference is compensated via an "if").
The real differences seems to lie in 2 spots.

First spot:

Code: [Select]
cic_start:
    nop
nop
nop
rcall ucWaste7
    ldi YL, CICRAM_START + 0x02
set ;initial output state

    ;00:06 - 00:0E(mode0=10clk, mode1=12clk or death!)
    sbr flags, (1 << FLAG_M0112_M0132_MODE)
;sbis CICPINS, CICPIN2   <========= KRIKZZ code comments this out and adds the next NOP
nop
    rjmp cic_start_mode_0
    cic_start_mode_1:

basically ignoring CICPIN2 and always falling thru cic_start_mode_0 and never cic_start_mode_1 in that spot.

Second spot:

Code: [Select]
m0700_loop1_end:
nop
rcall m072C
ldi YL, CICRAM_START + 0x20
mov areg, xreg   <========  only KRIKZZ code has this one, in saturnu there's one more nop
ldi xreg, 0x0F
nop
nop
nop

Not sure what impact either has.
Last diff as already reported is that the CIC_KEY_DATA is there twice as big by repeating the 8 entries twice.

Title: Re: switchable UltraCIC II for legacy ED64
Post by: sqturn2k on December 29, 2015, 09:46 PM
I have a non-ultraCIC V3, and i'm tempted to do this, and was wondering the best way to go about this.

If I get it right, both versions (the original one and the Krikzz version) should work as good, right ?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Link83 on January 01, 2016, 09:55 PM
i think it might be possible to build a switchless UltraCIC III. ^^
A switchless UltraCIC III would be great saturnu! Has there been any progress since this post? (Just wondering if I should wait before installing my UltraCIC II)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on January 01, 2016, 10:38 PM
i have a concept on my mind, but i've never tried it.
to be honest, i'm a bit bored with console stuff atm. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: xadox on January 14, 2016, 09:55 AM
Got my EverDrive-64 v2.5 a few days ago. Is there an easy way to check if it already has the UltraCIC II?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: D4v3WTF on January 14, 2016, 11:03 AM
Hi, remove your SD card and look inside the Ed64's SD card slot if there is a smal switch. If there is a switch, you should have an UltraCIC II.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: xadox on January 14, 2016, 11:08 AM
Hmm. It has the switch. But I tought the UltraCIC I also already had the switch?
But maybe I mix something up ???

Or was there never a UltraCIC I?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on January 14, 2016, 11:55 AM
please read again the first sentence in the first post. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: xadox on January 14, 2016, 12:16 PM
Thx saturnu.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Link83 on January 16, 2016, 06:43 PM
i have a concept on my mind, but i've never tried it.
to be honest, i'm a bit bored with console stuff atm. ^^
Sorry to hear that, I hope we do eventually get to see your concept of a switchless UltraCIC III.
I very much appreciate all your work saturnu :D

Got my EverDrive-64 v2.5 a few days ago. Is there an easy way to check if it already has the UltraCIC II?
AFAIK with the ED64 v2.5 and v3 PCB's that come with an ATtiny25 on board (Instead of an original Nintendo CIC) theres no easy way to tell if you have the original UltraCIC code or the new UltraCIC II code flashed.

If you ordered directly from KRIKzz after the 26th November 2015, then you should definitely have the UltraCIC II:-
https://twitter.com/krikzz/status/670147306033926144

Otherwise I guess the only easy way to check would be to try loading Banjo-Tooie, but make sure to delete the biggest patch in the /ED64/AUTO folder first:-
http://krikzz.com/forum/index.php?topic=3450.msg34125#msg34125
If any version of Banjo-Tooie loads after removing that patch then you must have the UltraCIC II code.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on January 29, 2016, 06:04 PM
if you don't have a banjo tooie or jet force gemini rom, you can now use this testrom, to test your ultracic installation.

Testrom
(http://abload.de/img/ultracic2testromqhjea.png)

Download:
http://krikzz.com/forum/index.php?topic=2298.msg23606#msg23606
Title: Re: switchable UltraCIC II for legacy ED64
Post by: skaman on February 25, 2016, 04:18 AM
Thanks saturnu for the UltraCIC II code and the test program!

I finally got around to installing the original Chinese UltraCIC that I picked up for my Everdrive v2.  I flashed the chip with the UltraCIC II code and replaced the original CIC on the Everdrive.  The test program was helpful to get a quick confirmation that everything was working properly.

As mentioned somewhere in this thread, the switch on the Chinese UltraCIC was wired opposite (P = NTSC and N = PAL).  Too bad I didn't realize this until after I soldered it in.  It would have been easier to reflash a modified UltraCIC II code while the chip was still loose.  I'm going to leave it as is since it works.

Thanks again for all of your help!
Title: Re: switchable UltraCIC II for legacy ED64
Post by: SmokeMonster on February 25, 2016, 05:21 AM
As mentioned somewhere in this thread, the switch on the Chinese UltraCIC was wired opposite (P = NTSC and N = PAL).  Too bad I didn't realize this until after I soldered it in.
They must have fixed this in a later revision because I bought one through Aliexpress a few months ago and it's wired correctly.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: geriatrix on June 08, 2016, 10:23 PM
Sorry to bump an old topic, but is it possible to make it so that tying pin 3 to GND or VCC actually switches between CIC_TYPE?

For example, if it's wired to GND it does 6102, and if wired to VCC it does 6105. Is this possible instead of the NTSC/PAL switch? Or better yet, can pin 5 be used as the CIC switch and pin 3 be left as the region switch?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: Aroenai on June 08, 2016, 11:56 PM
It's possible, but I can't think of a reason it'd be very useful. The Everdrive won't run using a 6105, unless you're trying to use it with a different cart?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: geriatrix on June 09, 2016, 03:46 AM
^^ Yeah it's a custom cart, and I'd like to do it without using a boot emulator.
Title: Re: switchable UltraCIC for legacy ED64
Post by: bidou67 on July 08, 2016, 10:26 PM
here is my ultracic adapter, i was using while testing :D
it's not really necessary to desolder the old cic, you can just disable it, too
(if you are unable to desolder for some reasons or missing tools)

(https://f.zdev.com/dl/nuyoxq.png)


Trouduc  saturnu Trouduc  ???
Title: Re: switchable UltraCIC II for legacy ED64
Post by: bidou67 on July 09, 2016, 12:54 AM
i have tested on everdrive 64 v3 and not working ( freeze ) , i have tried with everdrive 64 v2 with same os latest 2.12 and i work fine no freeze with or without modified the save.db.txt , also its a big big bug on everdrive 64v3 , we want absolutely a v3 and that costs more expensive for less working , As krikzz has not corrected it will not work on everdrive 64 v3! also krikzz please fix this on everdrive v3 please ;D
Title: Re: switchable UltraCIC II for legacy ED64
Post by: binkers87 on July 11, 2016, 07:39 AM
So let me get this straight for understanding purposes. I ran the .bat file which generated A .hex and an eep.hex on the ultra cic zip. What is the purpose of the 2nd file?  Can I just program my attiny25 with the ultracic.hex and be good to go? Never used Attiny25 chips before so maybe I'm missing something until I order the chips and try.  Also will this replace a bad cic chip on one of my real n64 games?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on July 11, 2016, 08:32 AM
the .eep.hex is the binary for the eeprom part of the microcontroller and the .hex is for the flash part.
you can program this file to the eeprom, but it's working without it, too.

if you want to replace a bad cic of a real game, keep in mind that the ultracic II replaces a 6102/7101, you need to alter the code to let it replace other types of the CIC.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: binkers87 on July 11, 2016, 05:24 PM
Thanks saturn for the clarification. How difficult is altering the code for a 6103 game or 6105?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on July 11, 2016, 05:59 PM
pretty easy, you just need to relocate one semicolon. ^^


example 7101 to 7103:

;------------------------------------------------
;Choose CIC_TYPE(pick one):
;------------------------------------------------
;.equ CIC_TYPE=0b0000   ;6102
;.equ CIC_TYPE=0b0001   ;6103
;.equ CIC_TYPE=0b0010   ;6106
;.equ CIC_TYPE=0b0011   ;6101
;.equ CIC_TYPE=0b0100   ;6105
;.equ CIC_TYPE=0b0101   ;6105
;.equ CIC_TYPE=0b0110   ;6105
;.equ CIC_TYPE=0b0111   ;6105
.equ CIC_TYPE=0b1000   ;7101
;.equ CIC_TYPE=0b1001   ;7103
;.equ CIC_TYPE=0b1010   ;7106
;.equ CIC_TYPE=0b1011   ;7102
;.equ CIC_TYPE=0b1100   ;7105
;.equ CIC_TYPE=0b1101   ;7105
;.equ CIC_TYPE=0b1110   ;7105
;.equ CIC_TYPE=0b1111   ;7105
;------------------------------------------------


;------------------------------------------------
;Choose CIC_TYPE(pick one):
;------------------------------------------------
;.equ CIC_TYPE=0b0000   ;6102
;.equ CIC_TYPE=0b0001   ;6103
;.equ CIC_TYPE=0b0010   ;6106
;.equ CIC_TYPE=0b0011   ;6101
;.equ CIC_TYPE=0b0100   ;6105
;.equ CIC_TYPE=0b0101   ;6105
;.equ CIC_TYPE=0b0110   ;6105
;.equ CIC_TYPE=0b0111   ;6105
;.equ CIC_TYPE=0b1000   ;7101
.equ CIC_TYPE=0b1001   ;7103
;.equ CIC_TYPE=0b1010   ;7106
;.equ CIC_TYPE=0b1011   ;7102
;.equ CIC_TYPE=0b1100   ;7105
;.equ CIC_TYPE=0b1101   ;7105
;.equ CIC_TYPE=0b1110   ;7105
;.equ CIC_TYPE=0b1111   ;7105
;------------------------------------------------
Title: Re: switchable UltraCIC II for legacy ED64
Post by: binkers87 on September 24, 2016, 12:13 AM
Saturn do you have the pinout for the ultra cic 2? It seems the image link is broken in the description
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on September 24, 2016, 10:41 AM
first post is fixed again. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: blecky on November 15, 2016, 04:14 AM
Cheers saturnu for the hard work.

I set out to make one of my own with a small SOIC breakout board (note this was originally a 24 pin adapter which is trimmed as I didn't have any others laying about, hence the extra pads at the bottom, but any regular 16 pin adapter will do fine). If you cut the appropriate traces on the board, you can make it without too much mess.

I have it hard wired for PAL:

Top - http://i.imgur.com/T2Ped3Q.jpg

Bottom - http://i.imgur.com/BKUzQQY.jpg

Additionally, if you use this with a low profile IC socket like this one (http://i.imgur.com/3onHrcP.jpg) with the low profile pins on the SOIC adapter as shown in the pics, you can make the IC removable, while still allowing it to fit under the shield. The original CIC IC with a low profile socket doesn't fit with the shield however, as it's just a little too high. But you can remove the shield and it will fit in the case, or trim a hole in the shield with a Dremel.

Edit: One thing I forgot to mention is that I had to trim down one side of the board for it to fit (these pictures were taken before I did that).

Additionally, this is the ATtiny85. I commented out this line:

Code: [Select]
.include "/usr/share/avra/includes/tn45def.inc"
And changed the code to the following (note the position of the semicolon):
Code: [Select]
    ldi scr0, LOW(RAMEND)   ;STACK!  Make sure SPH is not needed for the part
;   ldi scr0, 0xDF   ;STACK! attiny25 offset when using tn45def.inc

I compiled this with Atmel Studio and used the same fuse settings to flash.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: blecky on November 15, 2016, 04:03 PM
I got "board" and decided to make up a PCB for the UltraCIC II.

(http://i.imgur.com/gaBKu17.png)

https://oshpark.com/shared_projects/bjQ46PCT

You can order 3 PCBs from OSHPark for $1.50 inc shipping.

This is a slightly different approach. Instead of a switch, there is a pullup resistor and jumper than you use to set the type of CIC (or you can use the jumper leads to wire up a switch elsewhere). The resistor should be about 20K or so (it's an 0805 footprint) and the jumper should be a right angled 2 pin connector. You put a jumper cap on to set the UltraCIC to PAL (pulls pin low), and leave open for NTSC (pin is pulled high by resistor). This allows you to get the lowest profile possible on this so you are able to use it with a low profile DIP socket, without hitting the Everdrive casing and to be able to take it out easily for re-programming.

Note there is also a solder jumper pad on the board as well if you prefer that option. Solder it closed for PAL, leave it open for NTSC. The white dot on the top is pin 1.

All the components should go on the "bottom" (the side without the UltraCIC label) with the UltraCIC leads and jumper facing down from this bottom side.

Here's a copy of the schematic:

(http://i.imgur.com/FPc9f0O.png)

Note while pin 5 of the ATTiny would normally connect to ground when connected to a cartridge, it's left "floating" like this so you can program the chip after soldering to the PCB as you need the MOSI pin to program.

And here is what the boards look like once put together:

(http://i.imgur.com/6EKS1OG.jpg)

(http://i.imgur.com/YikA4q9.jpg)

You will want to put some insulating tape on the top so it doesn't short to the cart shield if you are using a socket.

Edit: slight change in schematic (and OSHPark order page) to bridge both of the VDD pins for compatibility with other carts in case they aren't both connected in the cart's PCB layout. If you have already made this for the Everdrive it will work just fine.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: MRKane on November 25, 2016, 02:21 AM
This is probably way out of place here, so feel free to delete if so. And I've also not read through all 11 pages in this thread or through the forum as much as I should due to having time in limited supply at present.

I've just finished doing a multi-region N64 (by making a PCB that housed both chips and a multiplexer) and was left thinking if there was a better way to do so (can post video, or board schematics if anyone wants them). Having tested my idea, and checked outputs I'm left feeling that there has to be a better way. Naturally I started to wonder about wiring a CIC into the PIF chip but know that there are too many differences between carts for that to work.

To voice an idea: do you think the CIC code for the Everdrive at about the state where this is a feasible way to make a N64 unit region free?
Title: Re: switchable UltraCIC II for legacy ED64
Post by: blecky on November 25, 2016, 01:33 PM
There was discussions about it maybe being possible to make the UltraCIC auto switch between different regions. But other than that, you would have to look into developing it, waiting for someone to take a look at it, or even commissioning someone to do it.
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on November 25, 2016, 01:50 PM
it's possible to create a replacement PIF for a multiregion console.
... and indeed it's possible to get rid of the ultracic switch, too. ^^
Title: Re: switchable UltraCIC II for legacy ED64
Post by: MRKane on November 25, 2016, 11:38 PM
Cheers for the info everyone!

I might continue to mess around with the open board I've got here as for a change it's very easy to access lines, and come back if I find anything interesting  ;)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: SonOfABisharp on January 18, 2017, 01:31 PM
pretty easy, you just need to relocate one semicolon. ^^


example 7101 to 7103:

;------------------------------------------------
;Choose CIC_TYPE(pick one):
;------------------------------------------------
;.equ CIC_TYPE=0b0000   ;6102
;.equ CIC_TYPE=0b0001   ;6103
;.equ CIC_TYPE=0b0010   ;6106
;.equ CIC_TYPE=0b0011   ;6101
;.equ CIC_TYPE=0b0100   ;6105
;.equ CIC_TYPE=0b0101   ;6105
;.equ CIC_TYPE=0b0110   ;6105
;.equ CIC_TYPE=0b0111   ;6105
.equ CIC_TYPE=0b1000   ;7101
;.equ CIC_TYPE=0b1001   ;7103
;.equ CIC_TYPE=0b1010   ;7106
;.equ CIC_TYPE=0b1011   ;7102
;.equ CIC_TYPE=0b1100   ;7105
;.equ CIC_TYPE=0b1101   ;7105
;.equ CIC_TYPE=0b1110   ;7105
;.equ CIC_TYPE=0b1111   ;7105
;------------------------------------------------


One quick question about selecting the CIC chip before compiling why are there 4 choices for both the 6105 and the 7105 CICs as shown above?

Does it matter which one is chosen?
Title: Re: switchable UltraCIC for legacy ED64
Post by: dragoncity on October 28, 2017, 09:27 PM
very cheap usbasp programmer:
http://www.ebay.com/itm/USBASP-USBISP-AVR-Programmer-Adapter-10-Pin-Cable-USB-ATMEGA8-ATMEGA128-Arduino-/310506909410
http://www.aliexpress.com/item/Hot-1pcs-USB-ISP-Programmer-for-ATMEL-AVR-ATMega-ATTiny-51-AVR-Board-ISP-Downloader/953484051.html?ws_ab_test=201556_2,201527_1_71_72_73_74_75,201409_3

Code: [Select]
avrdude -p t25  -c usbasp -U lfuse:w:0xc0:m -U hfuse:w:0xdf:m -U flash:w:UltraCIC.hex
attiny 25
http://www.ebay.com/itm/ATtiny25-20PU-ATMEL-AVR-RISC-C-20MHz-ATtiny-DIP8-/360277411925


keep in mind, that if you want to reflash an existing ultracic, it needs to be clocked.
so you have to add an external clock or flash it in circuit while the n64 is running. :D

Hello  :)

Do you think is it possible to program with this ?


http://www.ebay.fr/itm/Programmer-Development-Board-Micro-USB-for-ATtiny13A-ATtiny25-ATtiny45-ATtiny85/381563568611?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

And if yes with which tool?


I saw your code :
avrdude -p t25  -c usbasp -U lfuse:w:0xc0:m -U hfuse:w:0xdf:m -U flash:w:UltraCIC.hex


So if I understand it makes a cartridge region free..exactly?   ::)

And if yes,is it possible to put directly on PIF-NUS..?


Thank you  :)

Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on October 29, 2017, 08:47 PM
i don't think that this is an icsp programmer at all.
it looks like a v-usb dev board, so you can play around with an attiny, if you have one with a special usb-bootloader already installed.

yes it makes the cart region free or to be precise you can switch the region with an hardware-switch.

- it isn't a good idea to install it directly on the pif. you can only play 6102/7101 games this way.

what you need for a region free console is the ultrapif and not the ultracic2
https://circuit-board.de/forum/index.php/Thread/24209-WIP-UltraPIF-Multi-Region-N64-PIF-Replacement
Title: Re: switchable UltraCIC II for legacy ED64
Post by: dragoncity on October 29, 2017, 11:20 PM
Ok thank you  ;D

So for me the UltraPIF it's the good solution,but I don't really understand what I need..  ::)

Is-it possible to program a chip for UltraPIF or need to buy directly?

Thank you so much  :)
Title: Re: switchable UltraCIC II for legacy ED64
Post by: saturnu on October 30, 2017, 06:36 PM
the ultrapif project is a working prototype by now, it isn't realeased yet.