Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
1 user currently in Rom Hacking: |
Acmlm's Board - I2 Archive - Rom Hacking - Some Q's about the Super FX chip | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Snarius Newcomer Level: 3 Posts: 1/4 EXP: 81 For next: 47 Since: 07-21-05 Since last post: 99 days Last activity: 60 days |
| ||
Hello, I've started a tutorial on using the superFX chip over at wikibooks->SNES Programming. Feel free to chip in. It could use a tutorial on creating graphics.(try to be cross-platform, please) As one might expect, I have a great many questions about the SFX, namely: 1. Are there any SuperFX assemblers out? Especially free, open-source ones! 2.How about going through this pixel-plotting routine step-by-step? I'm confused by all the ='s. And where can I find more snippets? btw this snippet is from thread 6821. ibt r8,#$00 merge r0=$0000 CY=0 to r14 add r5 r14=$e000 S=1 with r3 B=1 move r1,r3 B=0 with r6 B=1 move r12,r6 r12=$0005 B=0 with r8 B=1 add r9 r8=$0666 S=0 B=0 merge r0=$0006 getc ROM=12:E000 COLR=$ff to r14 add r5 r14=$e006 S=1 loop r12=$0004 r15=$de9b S=0 plot r1=$009c 3. Does the SuperFX execute it's code from it's(?) RAM or the ROM? Can the SuperFX and the 65c816 both address the ROM simultaneously? Does the SFX begin executing with the COP instruction, untill it hits a stop instruction? 4. Who on earth did the ZSNES people have to torture to get their infos? 5. This forum needs a search feature. Thanks for your times. |
|||
Luigi-San Melon Bug Level: 42 Posts: 474/736 EXP: 485962 For next: 35400 Since: 03-20-04 From: Mushroom Kingdom Since last post: 17 hours Last activity: 10 hours |
| ||
This forum actually does have a search feature, but only admins can see it. I think (IIRC) that Fu has an FX assembler. |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 6004/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
SFX might have its own RAM, not sure. I imagine it just runs from ROM. Also I think COP is just used if you built a system with a second CPU built in. Most expansion chips I know of get their commands from ROM writes. | |||
Snarius Newcomer Level: 3 Posts: 2/4 EXP: 81 For next: 47 Since: 07-21-05 Since last post: 99 days Last activity: 60 days |
| ||
Originally posted by HyperHacker I remember reading that the SuperFX begins execution after a certain instruction from the 65816. Maybe it was a write to the SFC Program Counter.
but do you know if both processors can have simultaneous access?
be nice if I could find him |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 6035/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
PM him, he'll reply eventually. And it'd be hard to use an expansion chip if it couldn't access ROM. |
|||
d4s Panser Level: 29 Posts: 261/325 EXP: 142151 For next: 5734 Since: 03-23-04 Since last post: 13 days Last activity: 1 day |
| ||
Originally posted by Snarius it can execute code from ram or rom. superfx and 65816 cant access the rom at the same time. the cop instruction is something wdc implemented into the 65816, but the snes doesnt actually use it to talk to coprocessors. the snes has to start the super fx by writing to its registers. Originally posted by Snarius they have the official manual. the later revisions fully cover the super fx, sa1 and dsp chip. sorry, i'm too lazy to write anything too detailed about the chip. youd be better off getting the official manual and putting it online. dont look at me, though. (edited by d4s on 07-24-05 12:30 PM) |
|||
FuSoYa Defender of Relm Level: 26 Posts: 218/255 EXP: 99529 For next: 2746 Since: 03-15-04 From: Moon Since last post: 7 days Last activity: 7 hours |
| ||
Originally posted by Luigi-San No, I just compiled a tracer... which is available on my web page, if needed. |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 6039/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Wait, how does 65816 work then? Does it have its own RAM, or do you have to put all its code in the game's RAM? | |||
Snarius Newcomer Level: 3 Posts: 3/4 EXP: 81 For next: 47 Since: 07-21-05 Since last post: 99 days Last activity: 60 days |
| ||
Fu, thanks for making that available. However, I'm having a hard time getting it working properly.(It doesn't display files. Running Linux, Wine.) Why don't you release the source?Originally posted by HyperHacker As I understand it, the ROM data is part of the overall SNES memory map(16MB, I believe). The program counter can be set to anywhere on it. I think the SuperFX has it's own RAM in the cartridge. (edited by Snarius on 07-24-05 08:10 PM) |
|||
FuSoYa Defender of Relm Level: 26 Posts: 220/255 EXP: 99529 For next: 2746 Since: 03-15-04 From: Moon Since last post: 7 days Last activity: 7 hours |
| ||
You can probably skip the open ROM dialog if you specify the file name and path of the ROM on the command line. |
|||
d4s Panser Level: 29 Posts: 262/325 EXP: 142151 For next: 5734 Since: 03-23-04 Since last post: 13 days Last activity: 1 day |
| ||
Originally posted by SnariusOriginally posted by HyperHacker the super fx has its own ram in the cartridge, yes. there are 2 flags for both super fx rom and ram that are set automatically while the 65816 accesses one of these areas. if the super fx wants to access one of these and the corresponding flag is set, the sfx is placed in a wait state until the flag is cleared. so you are able to let both execute code from rom at the same time without having to worry about bus conflicts, but this would slow down the super fx extremely, of course. (edited by d4s on 07-25-05 01:41 AM) |
|||
creaothceann Red Paragoomba Level: 11 Posts: 28/50 EXP: 5903 For next: 82 Since: 01-27-05 Since last post: 21 hours Last activity: 21 hours |
| ||
Originally posted by Snarius You know about this info? |
|||
Snarius Newcomer Level: 3 Posts: 4/4 EXP: 81 For next: 47 Since: 07-21-05 Since last post: 99 days Last activity: 60 days |
| ||
Originally posted by creaothceannOriginally posted by Snarius Thanks, That'll be very useful. I was referring, though, to a general tile-editing tutorial for this wikibook |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 6056/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Er, I didn't mean 65816, I meant SA-1. It's like a second 65816 in the cartridge, not used with SFX. Does it have separate memory, or does it have to execute from somewhere that the main CPU isn't? | |||
d4s Panser Level: 29 Posts: 263/325 EXP: 142151 For next: 5734 Since: 03-23-04 Since last post: 13 days Last activity: 1 day |
| ||
ahahahaha well... actually, thats not funny. its pretty sad... that sentence alone contains so many errors and misinformation that i stopped reading there. basically, everything this sentence states is horribly wrong. dude, if you want to compile some useful info, youd be better off getting the official documents and if you cant get them, at least read the super fx patents nintendo filed. they are very detailled and freely available. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Rom Hacking - Some Q's about the Super FX chip | | | |