Sonic and Sega Retro Message Board: Sonic Retro on GitHub - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 3 Pages +
  • 1
  • 2
  • 3
    Locked
    Locked Forum

Sonic Retro on GitHub Who? What? When? Where? Why?

#1 User is offline MainMemory 

Posted 08 February 2014 - 09:23 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3700
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
Over the years, the community repository has been running Subversion (SVN), and then Mercurial (Hg), both of which have had many issues over time. So last December SeanieB gave up trying to get Hg to work, and decided to move everything off Retro to GitHub.

The community disassemblies and programs have been moved to the Sonic Retro organization on GitHub. The organization's current owners are: SeanieB (seanieb64 on GitHub), FraGag (also runs the IRC channel), andlabs and MainMemory.

  • If you want to download the latest copies of the disassemblies: The Disassemblies page on the wiki has links that will create a zip of the latest version of the disassemblies.
  • If you're a Tech Member and want to contribute: You can post your GitHub account name in this topic, or PM one of the owners on the forum or IRC. You will be added to the "Techies" team, which has push access to all repositories.
  • If you are not a Tech Member and want to contribute: Fork the repository and submit a pull request. Someone will review your changes, and if they're good, they can be merged in.
  • If you want to make your own fork of one of the repositories: Go ahead, you should probably credit the original contributors though.
  • If you want to be notified whenever commits are made and/or discuss the projects: Come to the IRC channel #repo on irc.badnik.zone.
  • If you want to add a new project: Contact one of the organization owners.
  • How do I Git? https://www.atlassia...m/git/tutorials

This post has been edited by MainMemory: 24 June 2016 - 02:31 PM

#2 User is offline KingofHarts 

Posted 09 February 2014 - 09:00 AM

  • WHY CANT I EDIT THE WIKIIII????
  • Posts: 1537
  • Joined: 07-August 10
  • Gender:Male
  • Project:Sonic 1 Complete (SHC 2016 Entry)
  • Wiki edits:1
Ah... that third bullet point. Good to know. I'll have a way to submit what I've been working on with the S3K disassembly then. Good stuff.

#3 User is offline Techokami 

Posted 09 February 2014 - 10:23 AM

  • For use only on NTSC Genesis systems
  • Posts: 1221
  • Joined: 19-November 05
  • Gender:Male
  • Location:HoleNet!
  • Project:Sonic Edge
  • Wiki edits:63
My GitHub user name is Techokami.

#4 User is offline MainMemory 

Posted 09 February 2014 - 11:00 AM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3700
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339

View PostTechokami, on 09 February 2014 - 10:23 AM, said:

My GitHub user name is Techokami.

Added.

#5 User is offline Tiddles 

Posted 10 February 2014 - 06:54 PM

  • Diamond Dust
  • Posts: 466
  • Joined: 25-December 09
  • Gender:Male
  • Location:Leicester, England
  • Project:Get in an accident and wake up in 1973
  • Wiki edits:31
Hello, I am "tiddlets" and I would like to humbly request fabulous secret powers.

(That said, I may well do the pull request thing anyway when the time comes, because extra pairs of eyes never hurt!)

#6 User is offline FraGag 

Posted 10 February 2014 - 07:33 PM

  • Posts: 659
  • Joined: 09-January 08
  • Gender:Male
  • Location:Québec, Canada
  • Project:an assembler
  • Wiki edits:6

View PostTiddles, on 10 February 2014 - 06:54 PM, said:

Hello, I am "tiddlets" and I would like to humbly request fabulous secret powers.

(That said, I may well do the pull request thing anyway when the time comes, because extra pairs of eyes never hurt!)

I've given you push access.

#7 User is offline Mikel 

Posted 10 February 2014 - 11:10 PM

  • Jack-O is her name-o!
  • Posts: 493
  • Joined: 21-December 03
  • Gender:Male
  • Location:Oklahoma
  • Project:MUGEN Stuff
  • Wiki edits:2,699
Just joined GitHub on my end, and my user name should be Mikel93.

#8 User is offline MainMemory 

Posted 04 May 2014 - 10:15 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3700
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
I have just renamed all the repositories to remove the "_git" from their names, and have renamed "sadxpc_tools" to "sa_tools".

#9 User is offline MainMemory 

Posted 16 May 2014 - 10:26 AM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3700
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
I merged everything from the SAModel repository into the sa_tools repository, and deleted the old SAModel repository in an effort to make cross-project references less dumb.

I also have a question about the Sonic 1 disassembly: would it be worthwhile to make a branch designed to work with the AS assembler?

#10 User is offline Clownacy 

Posted 16 May 2014 - 10:52 AM

  • Layin' the Wax and Spinnin' the Sounds
  • Posts: 616
  • Joined: 06-July 13
  • Gender:Male
  • Location:Englandland
I'd agree. I've converted my copy of the disassembly, and it has been greatly beneficial to make up for the slower build time: I can build Z80 without pre-assembling it, I can use Flamewing's debugger (which he says in incompatible with ASM68K due to a bug in the assembler). There's also the possibility of including the Z80 DAC disassembly, and dynamically building it and compressing it as Sonic 2's disassembly does its sound driver. You might even be able to create bit-perfect builds with the supposedly better macro support, again, as the Sonic 2 one does with its '0(a0)'s, though, here, you'd have to fix that ext d1,d0 in the Final Boss' code, also. If help in porting the disassembly is needed, I can give some pointers.

EDIT: In fact... what would it mean in terms of cross-platform support, would it have any benefit over using ASM68K with things such as WINE?
This post has been edited by Clownacy: 16 May 2014 - 02:36 PM

#11 User is offline flamewing 

Posted 18 May 2014 - 09:58 AM

  • Emerald Hunter
  • Posts: 1084
  • Joined: 11-October 10
  • Gender:Male
  • Location:Brasil
  • Project:Sonic Classic Heroes; Sonic 2 Special Stage Editor; Sonic 3&K Heroes (on hold)
  • Wiki edits:12
Using AS instead of ASM68K has definite benefits in terms of portability – for example, I am on Linux, and using a fully native build system for my hack. The same build system would work in OSX with appropriate binaries, which can easily be compiled as well. It could even be used in Windows with Msys + GnuWin32, but it is overkill.

#12 User is offline MainMemory 

Posted 18 May 2014 - 06:24 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3700
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
I just started work on the AS branch. I copied the build scripts from the S&K disasm, and at present only the Windows build.bat is set up properly.
I converted all the local labels to composed temporary symbols (beginning with . as opposed to $$) because AS is dumb with named temporary symbols.
Currently there are a lot of jsr/jmp instructions that don't specify an operand size, which causes the assembler to try word addressing on the first pass, and long addressing on the second pass, which causes PC-relative forward references to stop working because it's using the old value for the label from pass 1, which becomes out of range for the new PC value from the current pass. I've fixed enough of them that it doesn't cause any errors, but it may cause errors in a hack.
Additionally, for some reason p2bin is only producing a 32KB output file.
It's mostly fixed, but still not producing a bit-perfect file.

This post has been edited by MainMemory: 20 May 2014 - 03:50 PM

#13 User is offline MainMemory 

Posted 20 May 2014 - 03:52 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3700
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
Bumping because the AS branch is building a perfect rev00 ROM now. I haven't tested if the rev01 build is perfect because I don't have a rev01 ROM, but it does build.

The only thing left to be done is Linux and OSX build scripts.

#14 User is offline Clownacy 

Posted 20 May 2014 - 04:56 PM

  • Layin' the Wax and Spinnin' the Sounds
  • Posts: 616
  • Joined: 06-July 13
  • Gender:Male
  • Location:Englandland
The S&K and S2 build script layouts sure are different, I actually got lost just trying to build. Way too used to S2's, because my build scripts were based on S2's, with S&K's s3p2bin.exe.

I used the S2 disasm's checkbitperfect.bat (call me vain), and I wasn't getting bit-perfect results. Until...

loc_19EA8:
		...
		exg	d0,d1


loc_19EA8:
		...
		exg	d1,d0


Now it's bit perfect! 'Bout time.

Now, REV01... Oh dear... I'm not getting the best of results, a whole lotta differences according to chkbitperfect.bat. This isn't the case with the ASM68K disasm, where the only differences detected are those of that exg.

#15 User is offline MainMemory 

Posted 20 May 2014 - 06:10 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3700
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
...I guess I shouldn't have used the s1built.bin that comes with the disassembly as my example of a bit-perfect ROM. ASM68K misassembles exg d1,d0 as exg d0,d1 and I changed the disassembly to match it.

  • 3 Pages +
  • 1
  • 2
  • 3
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users