Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,439,213
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-19-24 10:42 PM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests | 2 bots

Main - ROM Hacking - Whats the best MMC5 ROM to understand vertical split scroll? New thread | New reply


infidelity
Posted on 07-14-11 10:15 PM Link | Quote | ID: 144968


Fuzz Ball
Level: 66

Posts: 187/968
EXP: 2366806
Next: 95045

Since: 05-24-07

Last post: 952 days
Last view: 808 days
I always thought Castlevania 3 used it at the title screen, but the movie reel sides are sprites. I tried doing manual writes to $5200-$5202, and got odd results from $5200 alone which enables it, sets what side, what tile, and how many scanlines to show

kuja killer
Posted on 07-15-11 12:09 AM Link | Quote | ID: 144969


Level: 55

Posts: 255/628
EXP: 1243227
Next: 70962

Since: 03-20-07
From: Lake Havasu City, Arizona

Last post: 275 days
Last view: 19 hours
Well you'll need to look for this rom called Uchuu Keibitai SDF

Cause according to disch's mmc5 mapper, quote:

"- Uchuu Keibitai SDF is the only known game to use split screen mode (during the intro, where it shows ship stats)"

infidelity
Posted on 07-15-11 02:34 PM (rev. 2 of 07-15-11 10:13 PM) Link | Quote | ID: 144981


Fuzz Ball
Level: 66

Posts: 188/968
EXP: 2366806
Next: 95045

Since: 05-24-07

Last post: 952 days
Last view: 808 days
EDIT-I was able to manualy edit 5200-02 during the ships stats. The vertical section was dedicated to the 2C00 nametable which is cool. But those 3 addresses dont give the same results when inserted in another MMC5 rom. Vertical even loaded separate CHR!

infidelity
Posted on 07-17-11 10:33 PM Link | Quote | ID: 145154


Fuzz Ball
Level: 66

Posts: 189/968
EXP: 2366806
Next: 95045

Since: 05-24-07

Last post: 952 days
Last view: 808 days
I'm assuming there's more to do, other addresses to use, than just $5200-02, to get the proper results within different roms with MMC5.

kuja killer
Posted on 07-17-11 11:48 PM (rev. 2 of 07-17-11 11:48 PM) Link | Quote | ID: 145157


Level: 55

Posts: 256/628
EXP: 1243227
Next: 70962

Since: 03-20-07
From: Lake Havasu City, Arizona

Last post: 275 days
Last view: 19 hours
i honestly dont really know myself, it's something i've never tried or experienced myself ever before.

Just have never had a need for this vertical split thing yet. So i dont know how to work with them. Well, i had tried it out once before actually, but it wasn't how i hoped for. Like i tried playing with it really quick on my game one day, and i could get some part of the screen to scroll up/down.

But the weird thing is, it only scrolls 8 pixels at a time i guess. So it looks really choppy. I do not like that at all. I dont think its even possible to make it smooth, like 1 pixel at a time. Really sucks.

And i hoped that it was like, you could make the left 1/3rd of the screne scroll, the right side scroll, and the middle be completely stationary. but ahh well...heh. would of been cool though

Matrixz
Posted on 07-18-11 11:35 AM Link | Quote | ID: 145270


Ninji
Level: 35

Posts: 181/225
EXP: 266235
Next: 13701

Since: 04-07-07
From: Norway

Last post: 3099 days
Last view: 1777 days
I may be mentioning something you guys know well already, but anyway.

I noticed that Disch's MMC5 document mentions this: "Split screen mode is only allowed in Ex0 or Ex1. When in Ex2 and Ex3, it is always disabled". So you would need $5104 to be set to 0 or 1 apparently. If its set to the wrong mode it could be an explanation of why it acts differently.

infidelity
Posted on 07-18-11 03:48 PM Link | Quote | ID: 145274


Fuzz Ball
Level: 66

Posts: 190/968
EXP: 2366806
Next: 95045

Since: 05-24-07

Last post: 952 days
Last view: 808 days
Matrixz-I'll try that out and see if i get different results. :-) Kuja-Yeah that every other 8 pixels i hate as well. I was thinking the exact same concept with vertical scroll on both sides, with the centered stationary, i have another concept in mind...

infidelity
Posted on 07-21-11 10:19 PM Link | Quote | ID: 145362


Fuzz Ball
Level: 66

Posts: 191/968
EXP: 2366806
Next: 95045

Since: 05-24-07

Last post: 952 days
Last view: 808 days
Still cant get this to work properly. The vertical scroll is able to load that 2C00 nametable somehow. I cant replicate that in my game. I eve set 5104 to 00 for Ex0. Im able to a 3rd virtual nametable, but its just one tile for 256 of them. Ugh.

never-obsolete
Posted on 07-22-11 06:41 AM (rev. 4 of 07-22-11 06:47 AM) Link | Quote | ID: 145380


Rat
Level: 24

Posts: 76/96
EXP: 74457
Next: 3668

Since: 02-22-07
From: Phoenix, AZ

Last post: 2589 days
Last view: 2589 days
Did you set $5105 to map the nametables where you want them? I've never used the split feature either, so I'm not to sure how to set it up. Other than that, you might have to trace all the mapper writes to see how its done.





infidelity
Posted on 07-22-11 01:13 PM Link | Quote | ID: 145383


Fuzz Ball
Level: 66

Posts: 192/968
EXP: 2366806
Next: 95045

Since: 05-24-07

Last post: 952 days
Last view: 808 days
Yes ive messed around with $5105, and was able to adjust where each nametable is stored, that has already been written to the nametable. 00-NT1. 01-NT2. 02-BLANK. 03-This is what i believe to be the 3rd nametable, cause it shows one tile 256 times.

never-obsolete
Posted on 07-22-11 10:34 PM (rev. 3 of 07-22-11 10:41 PM) Link | Quote | ID: 145410


Rat
Level: 24

Posts: 77/96
EXP: 74457
Next: 3668

Since: 02-22-07
From: Phoenix, AZ

Last post: 2589 days
Last view: 2589 days
I poked around with this a little bit. I managed to set it up similar to Uchuu Keibitai SDF.

Nametables were mapped like this:

[NTA] [NTB]
[FILL] [EXRAM]

So first I filled the exram nametable with 2x2 metatiles like so:

#$00 #$01
#$02 #$03


ldx #0 ;
stx t0 ;
_lp1_newline: ldy #16
_lp1_fill: lda t0 ;
sta $5C00, X ;
sta $5D00, X ;
sta $5E00, X ;
sta $5F00, X ;
inx ;
ora #1 ;
sta $5C00, X ;
sta $5D00, X ;
sta $5E00, X ;
sta $5F00, X ;
inx ;
dey ;
bne _lp1_fill ;
lda t0 ;
eor #2 ;
sta t0 ;
cpx #0 ;
bne _lp1_newline ;



This has to be done during rendering otherwise it won't get written. NTA and NTB were filled with tile #$01.

This is how I initialized the split:


lda #$D8
sta MMC5_VS_MODE ; $5200
lda #2
sta MMC5_VS_BANK ; $5202
lda #0
sta splitScrollV


splitScrollV gets written to MMC5_VS_VSCROLL ($5201) every NMI. I'm not sure how you set it so that the emulator uses the MMC5 in "SL" mode. I was getting really jerky scrolling described in "CL" mode.

edit: Just to be clear, ExRam only needs to be written to during rendering for modes 0 and 1.



Main - ROM Hacking - Whats the best MMC5 ROM to understand vertical split scroll? New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.023 seconds. (341KB of memory used)
MySQL - queries: 77, rows: 108/108, time: 0.017 seconds.