logo Hey, CaitSith2, you have 3 messages.
April 3rd, 2002, 11:01:57 pm
Home Help Search Edit Profile Show all Topics with Notification Logout
  News: Welcome to the ZSNES Message Board. Please read the rules.

  ZSNES Board
  ZSNES
  Development Forum

  Flash cart question (neviksti)
previous next
Pages: 1 2 3 4 Reply Notify of replies Send the topic Print 
   Author  Topic: Flash cart question (neviksti)  (Read 1553 times)
Trilobite
Global Moderator
*****
Karma: 16
[applaud] [smite]

Gender: Male
Posts: 213



Gop Stop!!!
   
View Profile WWW E-Mail Instant Message
Re:Flash cart question (neviksti)
Reply #75 on: Mar 21st a 04:17:26pm
Reply with quote

I still don't see the purpose of your uncalled for attack on neviski...  perhaps a rod up your ass?
Logged

The Snes Site
neviksti
Newbie
*
Karma: 42
[applaud] [smite]

Gender: Male
Posts: 45




   
View Profile WWW E-Mail Instant Message
Re:Flash cart question (neviksti)
Reply #76 on: Mar 21st a 05:11:08pm
Reply with quote

Evan G:
>I still don't see the purpose of your uncalled for attack
>on neviski...  perhaps a rod up your ass?

Just let it go.  He said its over now.

Thanks pagefault.  Your word seems to be the law around here.

Hmmm, neviski ... sounds polish : )


Kurtgrams:
>I will say this much for Neviksti:  amongst all this ... he
>was the only to compliment me.

I guess this is your way of saying that I'm not such an evil guy after all.  Well, apology excepted.

Kurtgrams:
>I know a futile fight when I see one ... You are too
>blind to hear.  (I doubt you'll get that allusion)

I truely have no idea.  Such a strange strange quote though... You are too blind to hear.  It's one of those things that almost makes sense even though the words don't fit together.

Can you tell me where its from and the context of the story?  I got that saying stuck in my head now and I can't find the answer.  I hope I don't end up using it later when I get frustated with my lab partner ... he doesn't see the big picture of what the experiment is trying to do ... so all my words of explanation fall on a deaf ear.  ... Are you so blind that you can not hear? Heh..

So, I'd be interested in the answer.  I don't want it to become one of those brainteasers that just runs around in the back of your mind til someone tells you ... curiousity can be a curse sometimes.

--------------------------

I'm sorry Catsith2, where were we?  The SPC7110 will give you 1MB of data and then stop?

From the zsnes source:

;            command mode is loaded to $4818 but only set after writing to both
;            $4814 and $4815 in any order

So it sounds like you need to load $00 (mode = increment pointer after reading $4810) to reg $4818 then load $0000 (no adjust) into regs $4814,$4815. 
Then the mode will be activated (yes?).
Then set the ROM pointer to start at $00:0000 (set $4811-$4813 = $00)
Then read 4MB from $4810 ...

is this what you're doing?
Logged
Dokushinsha
Full Member
***
Karma: 21
[applaud] [smite]

Posts: 134



That's Kuonji-san to you, buster.
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #77 on: Mar 21st a 05:22:15pm
Reply with quote

Oh well, minus as well jump in.  You seem to appreciate a semi-intelligent conversation/debate, so we minus as well make it one.

1. I will say this much for Neviksti:  amongst all this ... he was the only to compliment me.

His intention was undoubtedly to compliment you, but I see it as a backhanded compliment, at best.  You're obviously intelligent enough by your manner of speech, so it's perplexing why you would come up with such unfounded and moronic statements.

2. Neviksti's circuit sounded too expensive and too complicated for such a simple device. don't know electtonics - too many parts. don't know programming - what's the point of using a whole CPU for something so simple? ... I don't know how to program that!

So... that amounts to a whole lot of knowing absolutely nothing, then...  You don't know electronics or engineering, you don't know how to program, and yet you're calling out arguably one of the more technically gifted people on this board.  Hrm...  Maybe I shouldn't pass judgement on your intelligence just yet.  You've pretty much, throughout this whole thread, avoided any mention of YOUR expertise or knowledge with regards to circuit design.

3. I'd really like to know your design to get one myself.  Thanks.

About all you come off as is someone who's trying to use others' designs to dump ROMs.  Yet when they seem too difficult for you to understand, or too intricately designed, you complain.

4. how come he's added a total of ZERO lines to zsnes.

...  That shows exactly how much you know about programming ZSNES.  Absolutely or close to nothing.  Just because neviksti hasn't written any code doesn't mean he hasn't contributed a great deal of time and effort putting together the designs for the test cart.

5. So I'd be very interested in your design.  Especially since you actually built one ... and it works! Neviksti should stop talking out his butt ;p

... Again, I'm astounded by your lack of intelligence.  Obviously, you never even read the posts that Caitsith2 put up, or you'd have long ago realized her designs were partially based on neviksti's.  Both of them have contributed to ZSNES, and yet you single out neviksti for his apparent lack of contributions.

6. I think he's just a lamer that pretends to know what he was talking about.

Kettle... black.

7. I bet know one understands his technobabble because its a bunch of phony blathering, but no one's willing to admit it because they're afraid they'll look stupid.  Well guess what ... I'll be the first to admit the emperor's wearing no clothes.  There, the secrets out of the bag ... he's a know-nothing-boastfull-lamer.

It's classic how you continually try to chip away at neviksti, yet on the same hand, chip away at your rather meager base.  Not only are you admitting you have NO idea whether or not his specs are real or phony, you basically are doing the same thing you're accusing everyone else of doing -- judging without knowing the truth.  A rather pathetic case of disproving your own argument.


So to sum everything up, you base your arguments on the fact that:
a) neviksti is talking in a language way over your head, that you have no way of proving or disproving is true or untrue.
b) Just because there's been no coding done, a person hasn't contributed to ZSNES.
c) anomie apparently wrote most of the code for the test cart, not taking into account the fact that it's not just coding that goes into creating a test cart, or that proof is usually required when throwing around "facts".
d) When S-DD1 inaccuracies are brought up, neviksti is wrong because he disproves them, rather than letting them grow and propagate.
e) Because S-DD1 hasn't been cracked, yet neviksti has contributed so much, apparently, his ideas are bogus and aren't really helping at all.
f) A cart dumper designed by neviksti that "doesn't work", was built later by CaitSith2 and proven to work with the exception of a physical component flaw (for your benefit, kurtgrams, something that isn't in neviksti's control).

* Dokushinsha watches as kurtgram's arguments fall by the wayside.

It's amusing how you continually decide to pick and choose which points to address.  You pick points that you believe you can successfully dispute, yet you side step those that are much more difficult to do so. 

As for your intelligence... well, it's apparent you're basically a rather uniformed individual, who is trying to break down someone for reasons unknown.  Intelligent?  Hardly.  It takes more to be intelligent than speak or write in an intelligent manner.

pwned or smth.
Logged

Please, make me your monkey boy!
PH34R MY L33T N3KKID SKILLZ!!!

- MegaTokyo
neviksti
Newbie
*
Karma: 42
[applaud] [smite]

Gender: Male
Posts: 45




   
View Profile WWW E-Mail Instant Message
Re:Flash cart question (neviksti)
Reply #78 on: Mar 21st a 06:02:05pm
Reply with quote

Dokushinsha, don't worry about it.  He said he'd drop it ... and I have a feeling that he's the type that keeps his word (and blows up at those that don't).

Dokushinsha:
>...that Caitsith2 put up, or you'd have long ago
>realized her designs were ...

Ummm, heh.  I'm pretty sure that CaitSith2 is not female.

--------

OK, kurtgrams ... I gave up and searched for "too blind to see".  It turns out a group called "Budapest" released an album by that name.  I couldn't find the reason for the name ... so it doesn't make much sense as an allusion.

Also this tab file: http://www.geocities.com/Colosseum/Field/7738/low_blackmonday.txt
listed the lyrics of:
Song: Black Monday
Band: Lowest of the Low
which contains this verse -

....
My friend Kate, you are sad and beautiful.  And the way I am has never been too
good for us.  Cause I'm too blind to hear and I'm too deaf to see.  But I still
have a voice that can call out your name with a gut full of beer and a head full
of pain.  I can lie in your arms and be lovers again and thank God Tuesday
morning is just hours away, thank God Tuesday morning is just hours away.  Yeah.
...


Kurtgrams, is the above song what you were referring to?  If so ... the quote almost seems to lose meaning by knowing the source.  So I'm assuming that I haven't found it yet.

There are a few other songs/artists that use this phrase.  As well as several "internet poets", amateur writers that like to share their thoughts through poetry on the internet ... some used that phrase.

I was expecting an ultimately original source ... like shakespeare or something.  But no luck.

I tried, now can you tell me the answer?
Logged
Dokushinsha
Full Member
***
Karma: 21
[applaud] [smite]

Posts: 134



That's Kuonji-san to you, buster.
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #79 on: Mar 21st a 06:50:22pm
Reply with quote

*chuckles* My apologies to CaitSith2.  I just assumed from the name and avatar... -_-  My bad.

* Dokushinsha hangs his head.

As for my previous post, sorry bout that.  I started writing it before you posted your post. 
Logged

Please, make me your monkey boy!
PH34R MY L33T N3KKID SKILLZ!!!

- MegaTokyo
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #80 on: Mar 21st a 08:34:52pm
Reply with quote Modify message Remove message

The avatar is of zidane tribal from final fantasy 9.  The message that sits underneath it, is his quote for the game.


-------------------------------------------------------

Neviksti, the game will actually let me dump the first 2 MBs, then it stops there.  I will see what I can do, to try and get the spc chip to let me have the other 3 megabytes of the rom.
Last Edit: Mar 21st a 08:52:10pm by CaitSith2 Logged
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #81 on: Mar 21st a 09:42:51pm
Reply with quote Modify message Remove message

I am wanting that PCB more and more. (just got another wire connection problem, this time causing the dump to repeat itself for a bit.
Logged
neviksti
Newbie
*
Karma: 42
[applaud] [smite]

Gender: Male
Posts: 45




   
View Profile WWW E-Mail Instant Message
Re:Flash cart question (neviksti)
Reply #82 on: Mar 21st a 10:56:41pm
Reply with quote

>Neviksti, the game will actually let me dump the first 2
>MBs, then it stops there.  I will see what I can do, to
>try and get the spc chip to let me have the other 3
>megabytes of the rom.

I assume the 2MB come from a normal dump ... and the 3MB left can be accessed only through the spc chip?  I thought you needed to get 4MB from the chip for some reason ... I must have misunderstood an earlier conversation.

>I am wanting that PCB more and more. (just got
>another wire connection problem, this time causing the
>dump to repeat itself for a bit.

Yeah, flaky wires can really be a pain in the ass.  I _finally_ got the layout software I needed from an EE professor, so I think your wish will come true.  However, it will still take awhile, as I'd like to try to order the flash cart along with the programmer board. 

I thought about it, and decided I'd really like to have a nice board.  Since it's unfair to expect you to pay more because of this decision, I'd like you to think about it and decide how much you're willing to pay for the boards.  So basically, I'll let you decide your price.  I trust you, and I don't want to ask you to pay more than you're willing. 

Don't worry about it now though.  After I actually order the boards, we can see who all wants to buy one as well, and we'll worry about money stuff then.  The more people, the cheaper it will be, and hopefully we can just split the cost evenly among everyone.

Note to everyone interested:  I really don't have much free time lately.  So it may be awhile before I get everything ready.  Please don't get impatient.
Logged
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #83 on: Mar 21st a 11:12:18pm
Reply with quote Modify message Remove message

well, I am definitely going to want to build the flash cart myself, so, I am alright with having both of the boards together.

----

on the far east of eden zero dumping project,  the first 2 MBs are accessed, by sending the optional parameters into the program.
prog -rfh16 feoezL16.bin

I just now have to trick the chip into letting me have the upper 3 MBs of the rom.  If I can succeed in dumping the rom from the cartridge directly, and correctly, that would be very cool.
Last Edit: Mar 21st a 11:21:22pm by CaitSith2 Logged
Dark Force
Administrator
*****
Karma: 38
[applaud] [smite]

Posts: 21




   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #84 on: Mar 22nd a 06:21:44pm
Reply with quote

CaitSith was emailing me asking for info/help on the SPC7110, since a couple other people asked too I'm pasting my findings here. These are the guidelines that zsnes emulates the chip by.

I don't know how to display a fixed width font in here so just copy and paste this into notepad because it will look funny without everything lining up properly.

Cait mentioned he only dumped the first 2mb of FEOEZ. Somehow I don't think his 2nd mb worth of data is correct.

If the copier read any of the data rom at all, it can read all of it. My guess is it's the 1st 1mb repeated twice. You should compare it to the dumped FEOEZ rom.

When the cart powers up, banks $C0-$CF are mapped to the program rom and banks $D0-FF are mapped to the data rom. So like I said, if you can read properly from $D0, there is nothing stopping you from reading $E0 and $F0 as well.

See info below for how to map data rom banks.

DF

<SPC7110 Info, Reverse Engineered by Dark Force>
SPC7110 Rom Map
=====================

Far East of Eden Zero
40mb total: 8mb program rom (000000-0FFFFF) + 32mb data rom (100000-4FFFFF)

Super Momotarou Happy Train
24mb total: 8mb program rom (000000-0FFFFF) + 16mb data rom (100000-2FFFFF)

program rom mapped to $C0:0000-$CF:FFFF/$80:0000-$8F:FFFF always
data rom in 8mb chunks can be mapped to hirom areas using the bank mapping regs ($4831/2/3)
default mapping: first 24mb of data rom mapped to $D0:0000-$FF:FFFF

SPC7110 Decompression Ram Map
$50:0000 - $50:FFFF data decompressed from data rom by spc7110
when reading from bank $50, the offset address is ignored ($00:XXXX), instead bytes are
always read sequentially from the start of the bank ($50:0000) after each
new decompression. register $4800 is linked to the same read index as reading from bank $50

SPC7110 Sram Map
$00:6000 - $00:7FFF sram 8k

SPC7110 Mirroring
$xx:4800 - $xx:7FFF register and sram banks mirrored at $00 - $3F, $80 - $BF


defval: = default power-on/reset register value

SPC7110 Registers
$4800  DECOMPRESSED DATA CONTINUOUS READ PORT: returns a decompressed value from bank $50 and decrements 16 bit counter value at $4809/A by 1
$4801  COMPRESSED DATA TABLE POINTER: ($0000FF) low offset, defval:00
$4802  COMPRESSED DATA TABLE POINTER: ($00FF00) high offset, defval:00
$4803  COMPRESSED DATA TABLE POINTER: ($FF0000) bank, defval:00
$4804  COMPRESSED DATA TABLE INDEX: index of 32 bit compressed data pointer (big-endian), defval:00
$4805  DECOMPRESSED DATA OFFSET: ($00FF) low byte of offset in bank $50, defval:00
$4806  DECOMPRESSED DATA OFFSET: ($FF00) high byte of offset in bank $50, defval:00
$4807  DMA CHANNEL FOR DECOMPRESSION, set to match snes dma channel used for compressed data, defval:00
$4808  C r/w option, unknown, defval:00
$4809  COMPRESSION LENGTH COUNTER: ($00FF) low byte, defval:00
            write: set start counter value low byte
            read: get counter value low byte
            auto-increment: after each sequential read from bank $50
$480A  COMPRESSION LENGTH COUNTER: ($FF00) high byte, defval:00
            write: set start counter value high byte
            read: get counter value high byte
            auto-increment: after each sequential read from bank $50
$480B  DECOMPRESSION COMMAND MODE: see decompression command modes, defval:00
$480C  DECOMPRESSION FINISHED STATUS: high bit set = done, high bit clear = processing, cleared after successful read,
            high bit is cleared after writing to $4806, $4809/A is set to compressed data length, defval:00
$4810  DATA ROM CONTINUOUS READ PORT: returns a byte from data rom at data rom pointer location, defval:00
$4811  DATA ROM POINTER: ($0000FF) r/w low offset, defval:00
$4812  DATA ROM POINTER: ($00FF00) r/w high offset, defval:00
$4813  DATA ROM POINTER: ($FF0000) r/w bank offset, defval:00
            bank offset is zero based from start of data rom: banks $00-$3f data rom -> $10-$4f full rom
$4814  DATA ROM POINTER ADJUST: ($00FF) low byte, defval:00
$4815  DATA ROM POINTER ADJUST: ($FF00) high byte, defval:00
$4816  DATA ROM POINTER INCREMENT: ($00FF) low byte, defval:00
$4817  DATA ROM POINTER INCREMENT: ($FF00) high byte, defval:00
$4818  DATA ROM COMMAND MODE: bit field control of data rom pointer (see data rom command mode byte), defval:00
            write: set command mode,
            read: performs action instead of returning value, unknown purpose,
            command mode is loaded to $4818 but only set after writing to both $4814 and $4815 in any order
$481A  DATA ROM READ AFTER ADJUST PORT: returns a byte from data rom at data rom pointer location + adjust value ($4814/5), defval:00
$4820  16 BIT MULTIPLICAND: ($00FF) low byte, defval:00
        32 BIT DIVIDEND: ($000000FF) low byte of low word, defval:00
$4821  16 BIT MULTIPLICAND: ($FF00) high byte, defval:00
        32 BIT DIVIDEND: ($0000FF00) high byte of low word, defval:00
$4822  32 BIT DIVIDEND: ($00FF0000) low byte of high word, defval:00
$4823  32 BIT DIVIDEND: ($FF000000) high byte of high word, defval:00
$4824  16 BIT MULTIPLIER: ($00FF) low byte, defval:00
$4825  16 BIT MULTIPLIER: ($FF00) high byte, defval:00
$4826  16 BIT DIVISOR: ($00FF), defval:00
$4827  16 BIT DIVISOR: ($FF00), defval:00
$4828  32 BIT PRODUCT: ($000000FF) low byte of low word, defval:00
        32 BIT QUOTIENT:($000000FF) low byte of low word, defval:00
$4829  32 BIT PRODUCT: ($0000FF00) high byte of low word, defval:00
        32 BIT QUOTIENT:($0000FF00) high byte of low word, defval:00
$482A  32 BIT PRODUCT: ($00FF0000) low byte of high word, defval:00
        32 BIT QUOTIENT:($00FF0000) low byte of high word, defval:00
$482B  32 BIT PRODUCT: ($FF000000) high byte of high word, defval:00
        32 BIT QUOTIENT:($FF000000) high byte of high word, defval:00
$482C  16 BIT REMAINDER: ($00FF) low byte, defval:00
$482D  16 BIT REMAINDER: ($FF00) high byte, defval:00
$482E  MUL/DIV SIGN: bit 0: on = signed calculation, off = unsigned calculation, defval:00
$482F  MUL/DIV FINISHED STATUS: bit 7: on = processing, off = finished,
            high bit is set after a write to multiplier or divisor regs $4825/$4827, defval:00
$4830  SRAM CHIP ENABLE/DISABLE: bit 7: on = enable, off = disable, defval:00
$4831  ROM BANK MAPPING A $D0:0000-$DF:FFFF, see bank mapping modes, defval:00
$4832  ROM BANK MAPPING B $E0:0000-$EF:FFFF, see bank mapping modes, defval:01
$4833  ROM BANK MAPPING C $F0:0000-$FF:FFFF, see bank mapping modes, defval:02
$4834  HARDWARE DECOMPRESSION ENABLE: bit 0: unknown, bit 1: on = enable, off = disable, defval:00
$4840  RTC CHIP ENABLE/DISABLE: bit 0: on = enable, off = disable, defval:00
$4841  RTC INDEX/DATA PORT:
            first write after rtc enable: rtc command mode byte (see rtc command modes)
            subsequent writes: index of rtc register to read/write (00-0f)
            read: returns value of indexed rtc register
            auto-increment of register index occurs after each subsequent read/write
$4842  RTC READY STATUS: bit 7: on = ready, off = still processing, tested before reading rtc data
            high bit cleared after successful read


Decompression Command Modes:
00 - manual decompression, $4800 is used to read directly and sequentially from the data rom
02 - hardware decompression, data gets decompressed mapped to $50:0000-$50:FFFF, $4800 can be used to read sequentially from the compressed data pointer address

Note: decompression mode is activated after writing to $4806 and finishes after reading the high bit of $480C


Data Rom Command Mode Byte:
X6543210
||||||||
|||||| \__ : 00 - use 1 as the offset increment value, add immediately after reading $4810
||||||    : 01 - use $4816 as offset increment, add immediately after reading $4810
||||||    : 10 - use $4814 as offset increment, see below for when to add
||||||    : 11 - unused
||||||____ : 0 - unsigned calculation for $4816
|||||        1 - signed calculation for $4816
|||||_____ : 0 - unsigned calculation for $4814
||||        1 - signed calculation for $4814
||||______ : 0 - offset increment gets added to $4811/2/3           
|||          1 - offset increment gets added to $4814/5
| \_______ : 00 - disable offset addition
|          : 01 - 8 bit offset addition using $4814, immediately after writing to $4814/5
|          : 10 - 16 bit offset addition using $4814/5, immediately after writing to $4814/5
|          : 11 - 16 bit offset addition using $4814/5, only after reading $481A
|_________ : unused

Note: the data rom command mode is activated only after registers $4814 and $4815 have been written to, regardless of the order they were written to


Bank Mapping Modes Values for $4831/2/3:
00 - use data rom 000000-0FFFFF for mapping
01 - use data rom 100000-1FFFFF for mapping
02 - use data rom 200000-2FFFFF for mapping
03 - use data rom 300000-3FFFFF for mapping

Note: the data rom areas are mirrored according to rom size, i.e. the value 02 for a 24mb rom means use data rom 000000-0FFFFF


RTC Command Modes:
03 - normal sequential read/write mode
0c - sequential read/write mode 2
other commands unknown as of yet


RTC Registers (8 bit values):  [default values]
00 - seconds 1's digit                00
01 - seconds 10's digit                00
02 - minutes 1's digit                00
03 - minutes 10's digit                00
04 - hours 1's digit                  00
05 - hours 10's digit                  00
06 - day of month 1's digit            01
07 - day of month 10's digit          00
08 - month 1's digit                  01
09 - month 10's digit                  00
0a - year 1's digit                    00
0b - year 10's digit                  00
0c - day of week                      00
0d - control register                  01
0e - control register                  0F
0f - control register                  06


RTC Control Register Bits:
Register 0d
XXXXXX10
      ||_ : 0 - normal timer operation
      |    1 - pause rtc registers updating, time still increments normally
      |__ : 0 - disable rtc interrupts
            1 - enable rtc interrupts

Register 0e
XXXX3210
    \\\|_ : unknown

Register 0f
XXXXX210
    |||_ : 0 - normal
    ||    1 - stops timer and resets seconds to 00 (date gets set to 01/01/00 00:00:00 ??)
    ||__ : 0 - normal timer operation
    |      1 - stop timer
    |___ : 0 - 12 hour time, bit 2 of "hours 10's digit" register contains am/pm bit (am=0,pm=1)
            1 - 24 hour time

Logged
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #85 on: Mar 22nd a 07:30:05pm
Reply with quote Modify message Remove message

Darkforce, use the [ code] and [ /code] tags, remove the spaces though.

Example without code tag.

RTC Control Register Bits:
Register 0d
XXXXXX10
      ||_ : 0 - normal timer operation
      |    1 - pause rtc registers updating, time still increments normally
      |__ : 0 - disable rtc interrupts
            1 - enable rtc interrupts


Code:

Same example, inside the code tag.

RTC Control Register Bits:
Register 0d
XXXXXX10
      ||_ : 0 - normal timer operation
      |    1 - pause rtc registers updating, time still increments normally
      |__ : 0 - disable rtc interrupts
            1 - enable rtc interrupts


Logged
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #86 on: Mar 22nd a 08:05:20pm
Reply with quote Modify message Remove message

I have essentially concluded what the copy protection does.

It lets you dump the 1 MB program rom, and the first MB of the data rom.  any attempt to dump anything more than the first MB, results in the first MB of data being repeated over and over. (used the existing dump of the game to compare that 1st MB of data, against what was in the rom.
Logged
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #87 on: Mar 22nd a 08:36:19pm
Reply with quote Modify message Remove message

I succeeded in both reading and writing the save ram on my far east of eden zero cartridge.  now, I just have to find the right timing to do so, after enabling the sram read/write register, to avoid corrupting its contents on reading, and also on writing.
Logged
Dark Force
Administrator
*****
Karma: 38
[applaud] [smite]

Posts: 21




   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #88 on: Mar 22nd a 08:42:20pm
Reply with quote

You're welcome.

No, that's not exactly what the copy protection does, there's much more. Really it's supposed to prevent you from reading any of the data rom at all, so perhaps this is a second line of defense that you encountered.

Read the rom randomly. I think it has a linear address read detection mechanism that makes it think it's being copied.
DF
Last Edit: Mar 22nd a 08:58:16pm by Dark Force Logged
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #89 on: Mar 22nd a 09:03:58pm
Reply with quote Modify message Remove message

While it may be more tedious at the moment, I can now change the Real time clock on the cartridge without losing my game saves.

I simply backup the saves.  Go to console, go in, and reset the RTC, then go back to copier, and restore the saveram.

The next thing I want to do now, is implement a method of directly setting the Real Time Clock into the copier now.

Update:  I found out that the game does not totally erase the saveram when you go and set the birthday and real time clock.

The game only overwrites 7 bytes in total.

Saveram relative offsets.

0x20 - Last save game pointer (1-3 is valid)
0x21 - Save slot 1 (1 if used, otherwise 0)
0x22 - Save slot 2 (2 if used, otherwise 0)
0x23 - Save slot 3 (3 if used, otherwise 0)

0x1D1 - Birth year (0-99)
0x1D2 - Birth month (1-12)
0x1D3 - Birth day(1-31)

The 0x20 - 0x23 bytes are overwritten with 0's

I made the program rewrite the bytes 0x20-0x23 with 0x01010203, to restore the saves, once the RTC and birthday has been set.
Last Edit: Mar 23rd a 04:23:22pm by CaitSith2 Logged
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #90 on: Mar 29th a 12:56:35am
Reply with quote Modify message Remove message

Neviksti, have you got a PCB design yet? (flaky wires being a pain in the butt again).


I rebuilt the power supply, this time, into a small project box, with a new power regulator, and heatsink, power switch, and radioshack's adaptaplug technology (can buy other plugs, depending on what jack I use in other projects).  The cord coming from the power supply is about 6 feet long.  The only thing I forgot to hook in, was some kind of power indicator light, although I could do that on my snes cart copier.

----------------------------------------------------------------------

I also fixed a really stupid bug in the PC side of the program.  The bug involves the program crashing (this program performed an illegal operation), when no parameters whatsoever were supplied.

The fix, was I checked to see if argc was equal to one, and if it was, exit the program completely, and cleanly.
Last Edit: Mar 29th a 01:38:05am by CaitSith2 Logged
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #91 on: Mar 29th a 05:18:58pm
Reply with quote Modify message Remove message

I succeeded in dumping the First MB of the Program ROM, and the First 3 MBs of the Data Rom of Far East of Eden Zero.


Now, I will work on trying to dump the last MB of the Data ROM.  once I succeed in doing that, 7110 chip carts will be removed from the undumpable (unless you can desolder roms and use a rom reader) list.  I have also been fooling around with the graphic decompression parts of the chip as well.

Edit:  It seems to have happened only once.  I think the chip must have received the right timing at just that exact moment it happened.  I have not been able to repeat that first 4 MB dump consistently.
Last Edit: Mar 29th a 05:49:06pm by CaitSith2 Logged
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #92 on: Apr 1st a 02:39:12am
Reply with quote Modify message Remove message

A note when building the flash cart reader/programmer, concerning the power supply.

1. Double check that the polarity is correct on everything in the power supply.

2. Before hooking the power supply to the programmer, double check the output voltage of the supply, and make absolutely sure that it 5 volts.  The atmel can handle 6.6 volts tops, and the octal latch can handle 7 volts tops.  I accidently fried both of those when I found that one broken wire in my power supply caused the output to be 12 volts.

3.  If redesigning the power supply layout, make certain that the output voltage is still 5 volts.  If the output voltage matches the power supply's input voltage (mine was 12 volts input), then the ground wire is most likely not connected to the power regulator chip's middle ground pin. (I tried to lay out power supply a little better, so that it would not overheat, by allowing more airflow to the heatsink, and failed to make certain output voltage was still 5 volts.

Im putting these warnings into place, so that anyone else that decides to build this project doesn't get hit with the same errors that killed the most important chips that this project requires.
Logged
amd
Full Member
***
Karma: 12
[applaud] [smite]

Gender: Male
Posts: 176



Fan of Snes... Seriously... :)
128064000    
View Profile WWW E-Mail Instant Message
Re:Flash cart question (neviksti)
Reply #93 on: Apr 1st a 08:44:09pm
Reply with quote

You fried your dumper?
Maybe the solution to prevent frying would be developing some defense mechanisms... like if voltage goes too big, something smaller and cheaper gets broken... (couldn't remind name of these pieces.. )
Logged

Sex is not an answer! Sex is a question! " Yes!" is the answer...
JB
Administrator
*****
Karma: 88
[applaud] [smite]

Gender: Male
Posts: 2020



ZSNES God
   
View Profile WWW E-Mail Instant Message
Re:Flash cart question (neviksti)
Reply #94 on: Apr 1st a 10:11:08pm
Reply with quote


Quote from: amd on Apr 1st a 08:44:09pm   

You fried your dumper?
Maybe the solution to prevent frying would be developing some defense mechanisms... like if voltage goes too big, something smaller and cheaper gets broken... (couldn't remind name of these pieces.. )
I believe they're called fuses.
Logged

Whatever your problem is now Seifer, I didn't do it.
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #95 on: Apr 1st a 10:37:12pm
Reply with quote Modify message Remove message

The problem with fuses is that the ones available at radioshack are able to handle up to 250 volts or the rated current, whichever comes first.

basically, the way the cart dumper fried itself, I might want to find something that can blow, that is cheap, when voltage exceeds 6V, and cut power right off to everything else.

anyways, I can always get new chips, and that is exactly what I am doing, this time ordering a 40 pin Zero Insertion Force socket while I am at it. (make it easier to use my atmel programmer feature, for future projects)

Update:  I found the kind of fuse I was looking for.

0.75A, 6V rated, resettable fuse, same place where I am ordering replacement chips for my dumper.  This time, I am putting a 99 cent component in as protection for my circuit.
Last Edit: Apr 1st a 10:50:51pm by CaitSith2 Logged
Keeeper!
Full Member
***
Karma: 3
[applaud] [smite]

Gender: Male
Posts: 219



A Trivial one.
51507291    
View Profile WWW E-Mail Instant Message
Re:Flash cart question (neviksti)
Reply #96 on: Apr 1st a 11:08:46pm
Reply with quote


Quote from: CaitSith2 on Apr 1st a 10:37:12pm   

Update:  I found the kind of fuse I was looking for.

0.75A, 6V rated, resettable fuse, same place where I am ordering replacement chips for my dumper.  This time, I am putting a 99 cent component in as protection for my circuit.


Sorry about interrupting,CaitSith2. I've offered here some time ago the schematics for SWC... They can help you in any way? And you can count on me as one willing to get one of this wonder-thing you and Neviksti are building...

May the force be with you.
Logged

If you want inspiring music try Cocteau Twins
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #97 on: Apr 2nd a 12:30:47am
Reply with quote Modify message Remove message

The design neviksti made for the current flash cart reader / writer works very good for reading cartridges, and modifying save ram on the cartridges.

Schematics for it online at ((Broken link), Still need to redraw this, as I lost the source schematic I used while building this long ago, and I didn't make a backup of the scan.)

Logged
Distorted Reality
Full Member
***
Karma: -5
[applaud] [smite]

Gender: Male
Posts: 174



Mess with the Best, Die like the rest.......
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #98 on: Apr 2nd a 05:27:47am
Reply with quote


Quote:
Posted by: amd Posted on: Ce430Mon, 1 Apr 2002 22:44:09 -0500pmMonday
You fried your dumper?
Maybe the solution to prevent frying would be developing some defense mechanisms... like if voltage goes too big, something smaller and cheaper gets broken... (couldn't remind name of these pieces..  ) 


Logged
CaitSith2
Jr. Member
**
Karma: 7
[applaud] [smite]

Gender: Male
Posts: 69



You don't need a reason to help people
   
View Profile WWW Instant Message
Re:Flash cart question (neviksti)
Reply #99 on: Apr 3rd a 05:26:06pm
Reply with quote Modify message Remove message

I got my next shipment of parts in, to replace the chips I had blown.

This time, I included a 40 pin ZIF socket, for easier removal/insertion of the atmel chip.  also, some fuses to add in some protection against blowing the chips with 12 volts.
Logged
Pages: 1 2 3 4 Reply Notify of replies Send the topic Print 
Lock/Unlock Topic
Jump to:


Powered by MySQL Powered by PHP ZSNES Board | Powered by YaBB SE
2001-2002, YaBB SE Dev Team. All Rights Reserved.
Valid HTML 4.01! Valid CSS!