Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Discuss hardware-related topics, such as development cartridges, CopyNES, PowerPak, EPROMs, or whatever.

Moderator: Moderators

Post Reply
User avatar
krzysiobal
Posts: 1037
Joined: Sun Jun 12, 2011 12:06 pm
Location: Poland
Contact:

Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by krzysiobal »

Basing on the only existing photos of Aladdin Deck Enhancer v1.1 I tried to reverse engineer the pinout of cartridge connector as well as CCU_v2.00 CF30288 chip (which should be equivalent in functin to the BF909X chip found in single cartridges)

The CIC stun circuit is the same like kevtris describes.

Because there exist Aladin cartridges of single games (mapper 71):
Image

and Quattro ones (mapper 232):
Image

I suspect that there is either a pin informing the CCU chip which mapper the cartridge uses or - more likely, according to kevtris description:
The mapper seems to just be a mix of the BF9093 and BF9096. The two upper address lines from the game ROM goes to a different set of pins depending on wether it's a normal or quattro game.
there are separate pins for inner bank (INNER3..0) and outer bank (OUTER1..0) and:
* single games wire PRG_A17..A14=INNER3..0, skipping OUTER ones
* Quattro carts wire PRG_A17..A16=OUTER1..0, PRG_A15..14=INNER1..0
(that would hypthetically allow up to 1MB huge Quattro 4*256kB games to be used)

If someone owns Aladdin cart, that would be good to check which aladdin's connector pin goes to one of those ROM pins: 1, 2, 3, 31, 30, 29, 24, 22)
If someone owns Aladdin dech enhancer, that would be good to check to which aladdin's connector pin goes one of those CCU pins: 13, 14, 15, 17


Image Image Image Image
User avatar
Ben Boldt
Posts: 1149
Joined: Tue Mar 22, 2016 8:27 pm
Location: Minnesota, USA

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by Ben Boldt »

I never knew this existed. It is a very similar concept as Famicom Network System, providing small cartridges with only PRG-ROM.
Great Hierophant
Posts: 780
Joined: Tue Nov 23, 2004 9:35 pm

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by Great Hierophant »

Bandai did it with the Datach Joint ROM System, and were much more ambitious with the inclusion of a barcode reader, EEPROM and much better PRG and CHR addressing, selectable mirroring and cycle IRQs.
GreyRogue
Posts: 51
Joined: Fri Dec 08, 2017 5:12 pm

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by GreyRogue »

Here are my connectivity notes for my Aladdin v2 (I don't have a v1). I have (all?) 7 American carts as well. Let me know if you want anything else, and I'll see if I can help.
IMG_20200502_1448045_rewind.jpg
IMG_20200502_1447276_rewind.jpg
Aladdin Notes.png
Note that when using the same script for dumping Quattro Arcade (non-Aladdin) as Quattro Sports and Quattro Adventure, I get the following CRCs (in case of confusion regarding swapped bits for the outer bank):
Quattro Arcade (non-Aladdin): 792070A9
Quattro Sports (Aladdin): CCCAF368
Back of ALGQV1-1
Quattro Sports Back.png
Quattro Adventure (Aladdin): B89888C9
Back of ALGNV1-1
Dizzy the Adventurer Back.png
Both Quattro carts are ALGQV1-1
All 5 others are ALGNV1-1

I don't have non-Aladdin versions of the Sports and Adventure to do a direct comparison.
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by lidnariq »

Just transcribing the contents of your page of notes:

Code: Select all

DIZZY THE ADVENTURER - DACA7D - ALGNV1-1
QUATTRO SPORTS         7408QS   ALGQV1-1

CCU
1 -
2 -
3 -
4 -
5 -
6 -
(7)
8 -
9 -
10 -
11 -
12 - CPU R/W
13 - nc?
14 - nc?
---
15
16 -
17
18 -
19
20 -
21
22
23
24 -
25
26
27
28

ALADDIN V2
1 - R2
2 - Gnd
3 - CCU-1
4 - TRANSISTOR
5 - CCU-22 - GND?
6 - CCU-6 - D0
7 - CCU-5 - D1
8 - CCU-4 - D2
9 - CCU-3 - D3
----
10 - CCU-2 - D4
11 - CPU - D5
12 - CPU - D6
13 - CPU - D7
14 - CCU-7
15 - CRYSTAL-R
16 - CRYSTAL-L
17 - CCU-11
18 - CCU-10
           
CONNECTOR  GN  GQ
18  1     1&16 -
17  2      25  -
16  3      23  -
15  4      26  -
14  5      27  -
13  6       5  -
12  7       6  - 
11  8       7  -
10  9       8  -
 9 10       9  -
 8 11      10  -
 7 12      11  -
 6 13      12  -
 5 14      nc  -
 4 15      nc  -
 3 16      30  nc
 2 17      nc  -
 1 18      nc  - 
36 19    31&32 -
35 20       2  nc
34 21       3  - 
33 22      24  -
32 23      22  -
31 24      13  -
30 25      14  -
29 26      15  -
28 27      17  -
27 28      18  -
26 29      19  -
25 30      20  -
24 31      21  -
23 32      29  -   (CCU 15)
22 33      28  -
21 34       4  -
20 35      nc  2   (CCU 17)
19 36      nc  30  (CCU 19)
Do let me know if I've made any mistakes.
(edit: errata fixed, I hope)
Last edited by lidnariq on Sat May 02, 2020 8:39 pm, edited 1 time in total.
GreyRogue
Posts: 51
Joined: Fri Dec 08, 2017 5:12 pm

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by GreyRogue »

Thanks.
I probably should have transcribed it myself, but I was feeling lazy. Just a couple of comments/fixes:

The two left columns for the GN/GQ table are just because I initially numbered the connector differently than krzysiobal. The one's on the left should match his.

These two lines
35 20 2 NC
34 21 3 -
(2 instead of 22 and 3 instead 23)

The dashes in the GN/GQ table in the GQ column mean they are the same for both.
Also, the scribbles on the left of the column at the bottom belong to the rows they're pointing to, and could have been added to the CCU table.
So for
CCU 15 = 23 32 29 -
CCU 17 = 20 35 NC 2
CCU 19 = 19 36 NC 30

Those were the corrections from the guesses made by krzysiobal, in addition to the ones for CCU 12,13,14.
The other dashes on CCU were all confirmed to match his. I should have also marked 16, 18, 20 and 24 as confirmed as well. 21 doesn't seem to be connected to anything on V2 (nothing goes to CIC MB or CIC pak. 7 looks like VCC, but VCC and GND throughout the circuit appear to not be direct connects to the NES cart connector. They're conditioned somehow (didn't finish exploring)?

*Edit:
Oh. And I think I hit the limit on attachments on the previous post, which is why this didn't show up:
IMG_20200502_1448351_rewind.jpg
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by tepples »

There isn't a way to get Aladdin Deck Enhancer to do 1-screen mirroring (like Fire Hawk) and 32K bank switching instead of 16K, is there?
GreyRogue
Posts: 51
Joined: Fri Dec 08, 2017 5:12 pm

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by GreyRogue »

CIRAM-A10 is directly connected to PPU-A10, so no mirroring control.
I don't think 32KB banking is possible either as CPU-A14 is not passed to the Aladdin game cart, unless the CCU can be put in some alternate mode.

I'm assuming the 7 lines it generates are (not certain on bit order within groups):
Quattro bits
CCU 19/17 - GCart 19/20 - $8000.3/4
Normal bits
CCU 20/18- GCart 3/35 - $C000.2/3

CCU 15/24/16 - GCart 23/33/34 - $C000.0/1/?

Also, one correction from above. On Aladdin V2, GCart 32 is not GND, but is ALADDIN V2 (PIC) pin 2, not GND (I labeled both ends of these "GND?" in my notes. They are not connected to GND, but are connected to each other).

All pins are currently connected to what I assume are address pins on the ROMs, so unless the CCU supports another mode where it changes whichever of 15/24/16 is A14 (I assume), 32K isn't possible. I'm open to being corrected, though.

Also, most of the VCC labels in my notes are actually on the other side of the Didoes (call it VCC*, I guess), not direct connections to VCC. CHR-RAM still gets direct VCC.
And to clarify CCU-7/12. CCU-7 is not Reset, but VCC*. The node labeled VCC above R2 in krzysiobal's diagram is actually CPU-RW (by way of CCU-12, which is also CPU-RW). So CPU-RW has a pull-up resistor, I guess?

Also, dumping aladdin carts with a Kazzo is very finicky because of the Reset control circuitry. I've done it at least once with each of my carts, but I'm hoping to never need to do it again.
GreyRogue
Posts: 51
Joined: Fri Dec 08, 2017 5:12 pm

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by GreyRogue »

Assuming EEPROM pinout from nesdev wiki:
CCU 17 = EEPROM 2 = PRG A16 (Quattro)
CCU 19 = EEPROM 30 = PRG A17 (Quattro)
CCU 18 = EEPROM 2 = PRG A16 (Normal)
CCU 20 = EEPROM 30 = PRG A17 (Normal)
CCU 15 = EEPROM 29 = PRG A14 (Both)
CCU 16 = EEPROM 3 = PRG A15 (Both)
CCU 24 = EEPROM 24 = OE (Both)
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by tepples »

In other words, no Aladdin for Aladdin. #falseadvertising
GreyRogue
Posts: 51
Joined: Fri Dec 08, 2017 5:12 pm

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by GreyRogue »

tepples wrote: Sun May 03, 2020 11:25 am In other words, no Aladdin for Aladdin. #falseadvertising
Well, I guess you could do an Aladdin game, but in attempting to go wonder by wonder, your magic carpet ride would only have sideways. Over and under not included. It'll really mess up the music when you have to change the lyrics.
User avatar
krzysiobal
Posts: 1037
Joined: Sun Jun 12, 2011 12:06 pm
Location: Poland
Contact:

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by krzysiobal »

I applied all your suggestions and ended with something like this:
aladdin deck enhancer 1.1.png
aladdin deck enhancer 2.0_sch.png


PIC15C54C is listening to CPU data bus and probably feeding some instructions to the CPU and causing short-circuits of VCC to GND, using the mosfet, to glitch the CIC, just like in http://forums.nesdev.com/viewtopic.php?t=19808.

There are a few places I was not sure and your suggestions were not helpful, so if you could be so kind and check that:


1) What is Aladdin V2 pin 2 wired to?
Image

2) What is this resistor wired to?
Image

3) Is ROM_/CE (pin 32 according to my ordering) on the game genie slot wired to something else except Aladdin V2 pin 2?
Image
In V1.1 it is for sure GND, so in V2 it is eiter only controlled by PIC (this makes sense, since when it is injecting CPU opcodes, rom should be disabled) or maybe there is another chip enable on the CCU2.

4) Are there any internal connections of the following CCU2 pins: 13, 14, 21, 23, 25, 26, 27, 28
(you can touch the positive proble of multimeter to CCU2 pin 22 = GND and touch the negavite to the pins above, using diode test.
If meter shows any finite value, there might be internal connection.
GreyRogue
Posts: 51
Joined: Fri Dec 08, 2017 5:12 pm

Re: Aladdin Deck Enhancer / CCU_v2.00 CF30288 pinouts

Post by GreyRogue »

krzysiobal wrote: Mon May 31, 2021 10:15 am
1) What is Aladdin V2 pin 2 wired to?
2) What is this resistor wired to?
3) Is ROM_/CE (pin 32 according to my ordering) on the game genie slot wired to something else except Aladdin V2 pin 2?
In V1.1 it is for sure GND, so in V2 it is eiter only controlled by PIC (this makes sense, since when it is injecting CPU opcodes, rom should be disabled) or maybe there is another chip enable on the CCU2.
4) Are there any internal connections of the following CCU2 pins: 13, 14, 21, 23, 25, 26, 27, 28
(you can touch the positive proble of multimeter to CCU2 pin 22 = GND and touch the negavite to the pins above, using diode test.
If meter shows any finite value, there might be internal connection.
Looks like you've already answered some of these yourself, but just in case:
1) As in your diagram Aladdin V2 pin 2 is wired to Connector pin 32
2) As in your diagram the resistor is connected to CCU pin 12 and the adjusted positive voltage (e.g. CCU pin 7).
3) Connector pin 32 is only connected to Aladdin V2 pin 2. It is not connected to GND or anything else I can find.
4) Diode test on all specified pins (13, 14, 21,23,25,26,27,28) show finite values when probed against pin 22. Presumably, none of those pins are strictly NC.

Extra data:
C1 = says 6.3V, 100 (presumably 100uF)
C4 = 25V, 10uF
C2 is hard to read, but I believe it says 104 M30.
Post Reply