32x "security code" reverse engineered

Ask anything your want about the 32X Mushroom programming.

Moderator: BigEvilCorporation

ob1
Very interested
Posts: 427
Joined: Wed Dec 06, 2006 9:01 am
Location: Aix-en-Provence, France

Post by ob1 » Mon Feb 12, 2007 9:35 pm

Oh my god !!!!
It's foggy, but how fast !!!
I'm still very modest : I don't have any clue about texturing. I'd go for flat shading first, then Gouraud, then .... Well, let's start with the very beggining !!!

TmEE co.(TM)
Very interested
Posts: 2409
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Tue Feb 13, 2007 6:30 am

ob1 wrote:I won't swap my barrel of Charles Doty's ASM with 2 barrels of SNASM !!!
;)

Anyway, SNASM doesn't run @ work (where 95% of my GEnesis job is done ;) )
Maybe you should get XP compatible SNASM ?
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

ob1
Very interested
Posts: 427
Joined: Wed Dec 06, 2006 9:01 am
Location: Aix-en-Provence, France

Post by ob1 » Tue Feb 13, 2007 7:51 am

I have Win 2000.
Where can I get one ? And SNASMSH by the way.

Ketsuban
Interested
Posts: 25
Joined: Wed Jan 17, 2007 11:37 am
Location: United Kingdom of Great Boredom

Post by Ketsuban » Tue Feb 13, 2007 8:47 am

SNASM68K for XP can be found at drx's site. SNASMSH2 can be found at Bart Trzynadlowski's site.

For purely 68k work, however, I recommend AS.

TmEE co.(TM)
Very interested
Posts: 2409
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Tue Feb 13, 2007 1:24 pm

ob1 wrote:I have Win 2000.
Where can I get one ? And SNASMSH by the way.
XP and 2K are practically same, XP just has little better 9x/DOS support and is not as jerky as 2K (In my experience 2K is not much better than ME).

I got SNASMSH2 from a 32x dev thing I downloaded somewhere... Can't remember. 2K/XP SNASM68K is available at Devster's site
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

cdoty
Very interested
Posts: 117
Joined: Wed Nov 29, 2006 2:54 pm
Location: Houston, TX
Contact:

Post by cdoty » Tue Jul 03, 2007 2:30 am

ob1 wrote:Anyway, SNASM doesn't run @ work (where 95% of my GEnesis job is done ;) )
There's a version on Devster's site that runs fine on WinXP (and probably Win2k).

Another option is GNU 'as'. The only changes are comments and hex numbers.

TmEE co.(TM)
Very interested
Posts: 2409
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Tue Jul 03, 2007 11:35 am

BTW, the XP version runs flawlessly on my Win98SE machine.
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

ob1
Very interested
Posts: 427
Joined: Wed Dec 06, 2006 9:01 am
Location: Aix-en-Provence, France

Re: 32x "security code" reverse engineered

Post by ob1 » Tue Feb 23, 2021 1:43 pm

Sorry to relive a topic - again !,
but there is one line of code that I find surprising.
Just between SDER and TV Mode Check, we have

Code: Select all

    move.l	#$8802A2,$70    ; 21 FC 00 88 02 A2 00 70
If my 68k isn't too rusty, I translate this by
"write the value 0x8802a2 ... in ROM ?!"

First of all, how is it possible to write in ROM ?
Secondly, 0x70 is the offset for the Level 4 Interrupt (H INT), and 0x2a2 is the offset of the level 4 interrupt once the memory map was changed by setting ADEN. But what would be the point of copying this address ?

srg320
Newbie
Posts: 3
Joined: Sat Feb 06, 2021 9:40 pm
Location: Ukraine

Re: 32x "security code" reverse engineered

Post by srg320 » Tue Feb 23, 2021 3:03 pm

From 32X Overview, the same as in Sega CD.
Снимок.jpg
Снимок.jpg (190.73 KiB) Viewed 133 times

ob1
Very interested
Posts: 427
Joined: Wed Dec 06, 2006 9:01 am
Location: Aix-en-Provence, France

Re: 32x "security code" reverse engineered

Post by ob1 » Tue Feb 23, 2021 3:51 pm

Hello @srg320, and thank you very much for you quick answer.
Are you telling me that the custom internal ROM ($00~$FF) is actually ... RAM ?

srg320
Newbie
Posts: 3
Joined: Sat Feb 06, 2021 9:40 pm
Location: Ukraine

Re: 32x "security code" reverse engineered

Post by srg320 » Tue Feb 23, 2021 4:06 pm

No, just area 0x70-0x73. Maybe it's a separate register.
The same register is in Sega СD and some games change it as needed.

ob1
Very interested
Posts: 427
Joined: Wed Dec 06, 2006 9:01 am
Location: Aix-en-Provence, France

Re: 32x "security code" reverse engineered

Post by ob1 » Tue Feb 23, 2021 4:56 pm

OK I got it.
Quite new for me, but that explains a lot.
Thank you very much ^^

Post Reply