Search found 13 matches

by Gekko
Thu Jul 30, 2009 10:10 pm
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

Oh, joy! I can't read it at all. I even tried BSNES's source code but I still got nothing out of it. Oh well! Anyway, here is another question: How does offset-per-tile mode work (particularly mode 6, although I presume that mode 2 is the same)? I know that you specify locations with layer 3 registe...
by Gekko
Fri Jul 24, 2009 5:14 pm
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

Ah, thank you! Also, I would have but I don't know much C/C++ and since I can't find anything in x86 I'd have to use a disassembler which would take even longer since it would not only be unlikely for it to be disorganized, due to the way compilers work but it would also have a lot of junk bytes (if...
by Gekko
Thu Jul 23, 2009 7:16 pm
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

I know how to calculate what you think I'm trying to calculate. What I'm actually trying to calculate is the length of H-blank and V-blank (in cycles). I am not trying to calculate the length of each scanline, pixel or whatever. I know that H-blank and V-blank are not overscan, so my previous number...
by Gekko
Wed Jul 22, 2009 9:45 pm
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

The NES's V-blank is 6810 Ricoh 5A22 master cycles. I still need to know if that's consistent with the SNES's V-blank and what it would be for H-blank. (Also, this means that overscan is not part of H/V-blank.) And now, for another question: Would using an indirect long mode that uses $2180 as its d...
by Gekko
Tue Jul 14, 2009 1:51 am
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

I thought that the pixels outside of the visible scanline counted as H-blank and the scanlines outside of the actual viewing range were counted as V-blank. Again, correct me if I'm wrong. (I forgot about DRAM refresh. I'm assuming that it would would cut 40 cycles out of H-blank and V-blank, though....
by Gekko
Mon Jul 13, 2009 12:58 am
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

For #2..., I have the following estimations/exact numbers in terms of master clock cycles. (I figured them out from the numbers here.)
Scanline: 1024
H-blank: 340
V-blank: 586 (31958 on 256x239 and 52418 on 256x224)
Correct me if I'm wrong, of course.
by Gekko
Fri Jul 10, 2009 8:07 pm
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

I already posted two unrelated questions, so why not more? 3) This is a Cx4 question. (or set) What is the purpose (or what do you store to, and in what format) of the registers that are labeled MSBs/MSB of the above in this documentation? For example, how does this work: (command $00, subcommand $0...
by Gekko
Sun Jul 05, 2009 12:07 pm
Forum: SNESdev
Topic: What is the largest sane SNES ROM size?
Replies: 20
Views: 28292

If you don't want to change the mapping, I recall LoROM being limited to 16Mb/2MB and HiROM being limited to 32MB/4MB. Also, how did you get 64Mb/8MB? Are you including or excluding changing the mapping? In addition, are you including or excluding the mirrors in banks 80 through FF as additional spa...
by Gekko
Thu Jul 02, 2009 7:47 pm
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

I'd highly suspect a 16-bit access won't work, as the port is probably an 8-bit link between the chips. Actually, I've seen it before, even in a commercial games. Anyway, thank you for taking so much time to answer my questions! If anyone could answer my other question, I would be thankful as well.
by Gekko
Thu Jul 02, 2009 6:26 pm
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

1) Well, don't worry about it. I looked over the places I previously found information and that helped me understand even further. 2) What do you mean? Do you mean sound effects or different music? Also, should I add a LDA #$BBAA CMP $2140 BEQ $02 ;Skip the PLP and RTL or RTS PLP RTL ;or RTS between...
by Gekko
Wed Jul 01, 2009 7:29 pm
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

O.K., a few things. 1) While this is definitely easier to understand than the other routines I've seen, I am going more for an actual understanding of the ports. It doesn't matter much but it might be nice. (After all, having a routine isn't like knowing what the routine does.) 2) Why did you never ...
by Gekko
Wed Jul 01, 2009 4:42 pm
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

If I understand your post properly, you think I'm talking about the SPC700 data as opposed to the format that the SNES stores it in. (Correct me if I'm wrong.) In the SNES Development manual, I got the following information before hand: 1) The first word is the length of the block 2) The second word...
by Gekko
Wed Jul 01, 2009 3:21 pm
Forum: SNESdev
Topic: APU I/O ports, TV cycles, Cx4 and other miscellaneous things
Replies: 29
Views: 12186

APU I/O ports, TV cycles, Cx4 and other miscellaneous things

1) Every document I've come across that deals with the APU I/O ports go over the SNES side briefly, not giving me enough information on what format I should upload the data in, and normally, how I should upload it. (I do have the latter information now but I'm unsure if I'm thinking of it properly) ...