Welcome, Guest. Please login or register.

Author Topic: Ramlib Error #80000003 ?!?!  (Read 9136 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Sphinx_RaTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2002
  • Posts: 58
    • Show only replies by Sphinx_Ra
    • http://www.attention-software.com
Ramlib Error #80000003 ?!?!
« on: July 30, 2003, 05:14:33 PM »
hello Everybody,

Plz Heeeeeelp :-x

I have Amplifier, and sinds i have
Melody1200Pro, the program does not
work, it says:
Software Error ramlib #80000003
Anybody had this to?? the problem is that
Amplifier is the only program that use
Hardware Coding (DSP) :-x :-x :-x
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Ramlib Error #80000003 ?!?!
« Reply #1 on: July 31, 2003, 03:56:32 AM »
I have no idea about the melody but IIRC the #80000003 guru implies a bus alignment exception. I think...
int p; // A
 

Offline Sphinx_RaTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2002
  • Posts: 58
    • Show only replies by Sphinx_Ra
    • http://www.attention-software.com
Re: Ramlib Error #80000003 ?!?!
« Reply #2 on: July 31, 2003, 04:08:30 PM »
Oke... but what is IIRC ??
And what must i think of
"bus aligment exception" ?
Some Mediator cards or somethimg???
Thanks
 

Offline Cymric

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1031
    • Show only replies by Cymric
Re: Ramlib Error #80000003 ?!?!
« Reply #3 on: July 31, 2003, 05:02:09 PM »
IIRC = 'If I Recall Correctly'

The dreaded 80000003-Guru is one of the most common on the Amiga: on the 68010- it signifies a word or longword access to an uneven address; on the 68020+ (which is capable of recognising the situation and performing two memory accesses in order to get the information they need) it is put up when the stack is pointing at an odd address. That should never happen, so either your RAM is faulty, or your program is screwing up bigtime. The stack being messed up is truly worthy of a CPU exception, the other reason is not. It's just to circumvent a design desicion.

Mind, I remember trying to crack a game which featured a bootloader which had its code shifted by one byte to odd addresses. By installing a custom exception handler to pull in the other byte, then returning from that exception, the program could execute that instruction. Of course, execution speed is very low with the CPU excepting at every mnemonic. I was so impressed I gave up on cracking the program.
Some people say that cats are sneaky, evil and cruel. True, and they have many other fine qualities as well.
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Ramlib Error #80000003 ?!?!
« Reply #4 on: July 31, 2003, 05:10:14 PM »
Quote

Cymric wrote:
Mind, I remember trying to crack a game which featured a bootloader which had its code shifted by one byte to odd addresses. By installing a custom exception handler to pull in the other byte, then returning from that exception, the program could execute that instruction. Of course, execution speed is very low with the CPU excepting at every mnemonic. I was so impressed I gave up on cracking the program.


Hmmm, what reason was there to shift the code off by one byte? I don't understand how that would have "copy protected" it... :-?

Offline xeron

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 2533
    • Show only replies by xeron
    • http://www.petergordon.org.uk
Re: Ramlib Error #80000003 ?!?!
« Reply #5 on: July 31, 2003, 05:31:47 PM »
Quote

Hmmm, what reason was there to shift the code off by one byte? I don't understand how that would have "copy protected" it... :-?


Its so that crackers can't step over the code in action replay. An even cleverer trick is to put the code offsetted by one byte, then encrypt it. Your exception handler then not only compensates for the offset, but decrypts the code WHILE its being executed. In action replay, all you see in RAM is junk!

If the exception handler also re-encrypts the last executed instruction, there is NEVER a complete decrypted copy of the code in RAM.

Of course, on 68020+ it will just crash horribly.

Another trick is to put the stack at an odd address and not use it so that the action replay can't be activated. (press the button on the action replay, NMI occurs, which causes a stack access, which causes a processor exception, so your machine gurus instead of going into action replay).
Playstation Network ID: xeron6
 

Offline browny

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 483
    • Show only replies by browny
Re: Ramlib Error #80000003 ?!?!
« Reply #6 on: July 31, 2003, 05:38:24 PM »
@ CYMric,
Quote

Cymric wrote:
IIRC = 'If I Recall Correctly'

The dreaded 80000003-Guru is one of the most common on the Amiga: on the 68010- it signifies a word or longword access to an uneven address; on the 68020+ (which is capable of recognising the situation and performing two memory accesses in order to get the information they need) it is put up when the stack is pointing at an odd address. That should never happen, so either your RAM is faulty, or your program is screwing up bigtime. The stack being messed up is truly worthy of a CPU exception, the other reason is not. It's just to circumvent a design desicion.

Mind, I remember trying to crack a game which featured a bootloader which had its code shifted by one byte to odd addresses. By installing a custom exception handler to pull in the other byte, then returning from that exception, the program could execute that instruction. Of course, execution speed is very low with the CPU excepting at every mnemonic. I was so impressed I gave up on cracking the program.


I luv it when you talk dirty !  :-D  :-P
as we say in brum \\"yow allright mate\\"
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Ramlib Error #80000003 ?!?!
« Reply #7 on: July 31, 2003, 06:37:19 PM »
Quote

xeron wrote:
Quote

Hmmm, what reason was there to shift the code off by one byte? I don't understand how that would have "copy protected" it... :-?


Its so that crackers can't step over the code in action replay. An even cleverer trick is to put the code offsetted by one byte, then encrypt it. Your exception handler then not only compensates for the offset, but decrypts the code WHILE its being executed. In action replay, all you see in RAM is junk!

If the exception handler also re-encrypts the last executed instruction, there is NEVER a complete decrypted copy of the code in RAM.

Of course, on 68020+ it will just crash horribly.


Yeah I realised after I posted that It was probably to stop system monitors watching what's going on.

Quote
Another trick is to put the stack at an odd address and not use it so that the action replay can't be activated. (press the button on the action replay, NMI occurs, which causes a stack access, which causes a processor exception, so your machine gurus instead of going into action replay)


Hahahaha, yeah I figured that little trick out myself, somewhat accidentally ;-)

Offline Sphinx_RaTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2002
  • Posts: 58
    • Show only replies by Sphinx_Ra
    • http://www.attention-software.com
Re: Ramlib Error #80000003 ?!?!
« Reply #8 on: July 31, 2003, 07:28:47 PM »
Wow...:-o learning every day :-)
Oke, so my RAM is faulty or the
Amplifier is screwing up hmmmmm...
Damn......

 

Offline zipper

Re: Ramlib Error #80000003 ?!?!
« Reply #9 on: August 01, 2003, 09:45:00 AM »
There is slight possibility your ramlib stack is too small; you could try Ramlibpatch in MCP or StackAid or install StackAttack. But in the latest OS the small stack problem should be fixed.
 

Offline Cymric

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1031
    • Show only replies by Cymric
Re: Ramlib Error #80000003 ?!?!
« Reply #10 on: August 01, 2003, 11:03:54 AM »
@browny:

Actually, I wasn't attempting to crack the program, now that I think about it. I was trying to insert some code so the power-led (and thus the low-pass filter) would be turned off.
Some people say that cats are sneaky, evil and cruel. True, and they have many other fine qualities as well.
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Ramlib Error #80000003 ?!?!
« Reply #11 on: August 01, 2003, 11:16:44 AM »
Quote

Cymric wrote:
@browny:

Actually, I wasn't attempting to crack the program, now that I think about it. I was trying to insert some code so the power-led (and thus the low-pass filter) would be turned off.


Ahhh, the old "Trying to deactivate the filter" defence... It usually doesn't work when they see the "Trainer code" you've written ;-)

"Searching for Decrementing Opcodes? I don't know what you mean!"

Offline Sphinx_RaTopic starter

  • Jr. Member
  • **
  • Join Date: Sep 2002
  • Posts: 58
    • Show only replies by Sphinx_Ra
    • http://www.attention-software.com
Re: Ramlib Error #80000003 ?!?!
« Reply #12 on: August 01, 2003, 01:18:54 PM »
@Zipper

I already tryd RamLibPatch in my
Starup-Sequence and StackAid and StackAttack :-(
I thought that indeed in OS 3.9 it
would never happen, but....
Oke, i'm now gonna take out the melody
and throw it away :-)
But thanks anyway for your thoughts :-)
 

Offline xfactor

  • Newbie
  • *
  • Join Date: Jan 2003
  • Posts: 19
    • Show only replies by xfactor
Re: Ramlib Error #80000003 ?!?!
« Reply #13 on: August 01, 2003, 02:04:20 PM »
Before you throw anything out, are you running Cybergraphx, and if so, what version?

If you happen to be running v4, you should know that there's a bug in any of the revisions later than "pre8" which cause big ramlib stack problems.

You can get the cfgx updates at http://www.vgr.com

Cheers,
Stuart
 

Offline Cymric

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1031
    • Show only replies by Cymric
Re: Ramlib Error #80000003 ?!?!
« Reply #14 on: August 01, 2003, 03:46:00 PM »
@bloodline:

Heck, I wish I *was* good enough to write trainer code myself... That would have made quite a lot of games I bought with my hard-earned cash very worthwhile. Surely you remember a few games which were nice in concept, but utterly unplayable?
Some people say that cats are sneaky, evil and cruel. True, and they have many other fine qualities as well.