
JMA Compression
Moderator: ZSNES Mods
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Okay, who here has been blabbing on the other compression forums?


May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Romhacking God
- Posts: 922
- Joined: Wed Jul 28, 2004 11:27 pm
- Contact:
I wouldn't really say it's a problem. It just forces you to do more management using memory instead of registers.Nach wrote:When writing a complex function, yes the register limit is a problem.Bent wrote:x86 is a bit tougher than MIPS because of limited amounts of registers right?
Being that I have programmed for many microcontrollers, x86 has a WEALTH of registers. In fact, MIPS chips have too many general purpose registers for me because I'm so used to working with such confined resources. So it depends on how you look at it. I don't believe any assembly language is really 'tougher' than any other. They all have various quirks and differences, but that's about it.
x86 registers are split into 8,16, and 32 bit sizes. You can access any of the three and not affect the data in the rest of the register.The 16 bit registers are part of the 32 bit ones. Meaning you can access a 32 bit reg half way if you want.Bent wrote: MIPS compatable processors had something like 32 general purpose registers of which most of them were almost always usable. Does the x86 have some 32bit registers and some 16bit?
For example if you perform an 8-bit operation the other 24-bits are untouched.
I don't know the full instruction set of MIPS and x86, but I think x86 has a larger set.Bent wrote: Also, how much of a difference does the fact that it is a CISC CPU instead of a RISC CPU make? Is the instruction set much larger?
To be honest though, I only use a dozen opcodes or so on a regular bases anyway.
Well RISC CPU's work differently in the sense that ideally most every opcode is executed in one CPU cycle. The are more efficient than CISC CPU's. The may have a more limited instruction set, but they are far better at executing the ones they have. The size of the instruction set as opposed to CISC CPU's varies. The R3000 MIPS chip has a pretty small set, but some of the more advanced 64-bit MIPS chips add a good deal of baggage to deal with the bigger size registers and/or coprocessors/FPU units.
From a programming point of view, the difference is minor. Most of the everyday instructions you use are still available in both architectures. Occasionaly you'll need to do something in a different way with your RISC chip, but it's for the better. Our modern day P4 and AMD XP chips have essentially mutated into a RISC like chip.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
SNEeSe in CVS now supports JMA 

May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
NSRT Merge Support?
Does NSRT support automatic similarity merging as seen in GoodMerge? I am trying to convince !!!CENSORED!!! to switch to NSRT, but they seem to like 7z compressed GoodMerge sets because they are so small. However, NSRT has JMA support which is better than 7z and NSRT is just simply better for SNES ROM collections for many reasons, maily due to the failings of GoodSNES from which GoodMerge derives. So I wanted to know if NSRT supports something like GoodMerge but with JMA, and if so, on a complete SNES ROM collection, what is the total size difference between 7z-GoodMerge and JMA-NSRT-Merge?
I realize that emulators don't necessarily support multi-ROM archives yet, but for other reasons, people still like merged ROM sets because of organizational and space saving reasons. Also, if people can be convinced to keep their sets in NSRT audited JMA compressed form, the entire world will be better, regardless of merged or non-merged. Hence the reason that I am trying to get people to ditch GoodSNES and GoodMerge.
Also, what is going on with the NSRT web site. I haven't been able to access it for days now.
I realize that emulators don't necessarily support multi-ROM archives yet, but for other reasons, people still like merged ROM sets because of organizational and space saving reasons. Also, if people can be convinced to keep their sets in NSRT audited JMA compressed form, the entire world will be better, regardless of merged or non-merged. Hence the reason that I am trying to get people to ditch GoodSNES and GoodMerge.
Also, what is going on with the NSRT web site. I haven't been able to access it for days now.
Last edited by Jagasian on Wed Feb 16, 2005 4:29 am, edited 1 time in total.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
I'm working on a feature to allow NSRT to merge ROMs, not sure if it'll be ready for the next release or not.
Once that's done, I probably would make ZSNES support multiple files in a zip/JMA.
My host switched servers, so my site currently has some technical difficulties.
Once that's done, I probably would make ZSNES support multiple files in a zip/JMA.
My host switched servers, so my site currently has some technical difficulties.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
Re: NSRT Merge Support?
Hey, look! Nach beat me to it so this post makes no sense now!
Edited.
Edited.
Last edited by anewuser on Tue Feb 15, 2005 3:28 am, edited 1 time in total.
[url=http://www.fsf.org/resources/formats/playogg]PlayOgg[/url]
Merged-sets in NSRT and emulator support for them will definitely cause NSRT to become the standard SNES ROM auditing tool and JMA the standard SNES compression format simply because NSRT ROM sets will take up less space, less bandwidth, will be more organized, the ROMs themselves will be of higher quality thanks to better auditing, and last but not least they will have emulator support. NSRT ROM sets will be better in every way than GoodSNES or GoodMerged ROM sets.Nach wrote:I'm working on a feature to allow NSRT to merge ROMs, not sure if it'll be ready for the next release or not.
Once that's done, I probably would make ZSNES support multiple files in a zip/JMA.
My host switched servers, so my site currently has some technical difficulties.
I like the idea of a tool that concentrates on quality SNES support, as opposed the GoodTools which concentrate on quantity at the expense of quality. These things are always a chicken and egg kind of thing... unless a Jack of all trades comes along, like you Nach

BTW, I can access the NSRT web site now.
Ok, I censored it. I thought it was ok, as long as I didn't link the site. Can such sites not even be mentioned by name? In 100 years, people will look back on such sites with kindness because who will give a damn about copyrights then? They will care if certain games were lost forever because of copyrights.
...So, are you out of your ideal dream world yet?Jagasian wrote:Ok, I censored it. I thought it was ok, as long as I didn't link the site. Can such sites not even be mentioned by name? In 100 years, people will look back on such sites with kindness because who will give a damn about copyrights then? They will care if certain games were lost forever because of copyrights.
-
- Locksmith of Hyrule
- Posts: 3634
- Joined: Sun Aug 08, 2004 7:49 am
- Location: 255.255.255.255
- Contact:
Bzzt. Wrong. There will always be the chance that Nintendo or whoever made the game can re-release it on a newer system, and revive the copyrights. Just look at the Gameboy Advance, that was pretty much Remake-City, and the DS is sorta like that now.Jagasian wrote:In 100 years, people will look back on such sites with kindness because who will give a damn about copyrights then? They will care if certain games were lost forever because of copyrights.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
NSRT here.
In other words, hundreds of years from now, a very few people will be allowed to do things because they are somehow related to somebody who did them a very long time ago. If copyrights existed a thousand years ago, Shakespear would be owned by his decendents, etc...adventure_of_link wrote:Bzzt. Wrong. There will always be the chance that Nintendo or whoever made the game can re-release it on a newer system, and revive the copyrights. Just look at the Gameboy Advance, that was pretty much Remake-City, and the DS is sorta like that now.Jagasian wrote:In 100 years, people will look back on such sites with kindness because who will give a damn about copyrights then? They will care if certain games were lost forever because of copyrights.
...seems really lame.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Status Update. A standalone compressor has just gone into beta.
If you're on the NSRT Test Team, you can get a WIP from my site.
If you're on the NSRT Test Team, you can get a WIP from my site.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
It's command line but Nach mentioned that he could easily whip together a right click context menu entry to compress and decompress stuff, if he could find his papers on how to do it. I'm sure he'll have it done by the time a standalone jma compressor gets released to the public.
Edit: I think he only mentioned windows context menus...
Edit: I think he only mentioned windows context menus...
Peace Forever!
I don't think its particularly complicated to create a context menu entry. All that is necessary is for his program to support the variables that Windows uses when doing things like that. Such as "%1" representing the filename of the file you right-clicked.Malcster wrote:It's command line but Nach mentioned that he could easily whip together a right click context menu entry to compress and decompress stuff, if he could find his papers on how to do it.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Go back a few pages, you'll see I already displayed how to add right click support.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding