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

0 users currently in ROM Hacking | 1 guest

Main - ROM Hacking - SMB1 scrolling Modification - Help needed New thread | New reply


Hamtaro126
Posted on 09-08-08 01:25 AM Link | Quote | ID: 90092


Cheep-cheep
Level: 33

Posts: 89/194
EXP: 212793
Next: 16386

Since: 05-02-07
From: Shelton, WA

Last post: 2470 days
Last view: 2313 days
This is why I need help:

RenderAreaGraphics:
lda CurrentColumnPos ;store LSB of where we're at
and #$01
sta $05
ldy VRAM_Buffer2_Offset ;store vram buffer offset
sty $00
lda CurrentNTAddr_Low ;get current name table address we're supposed to render
sta VRAM_Buffer2+1,y
lda CurrentNTAddr_High
sta VRAM_Buffer2,y
lda #$9a ;store length byte of 26 here with d7 set
sta VRAM_Buffer2+2,y ;to increment by 32 (in columns)

lda #$00 ;init attribute row
sta $04

The stuff in bold makes stuff render in 32x32. But I need it to do either 16x32 or 16x16 in order for my MMC5 hack to be completed. And it requires Scrolling to be horizontal instead of the original vertical

Can anyone figure this out?

____________________
Mah boi, romhacking is what all true warriors strive for!

I wonder what's for dinner?

Bregalad
Posted on 09-25-08 06:19 PM Link | Quote | ID: 91081

Newcomer
Level: 6

Posts: 4/5
EXP: 843
Next: 64

Since: 09-24-08

Last post: 5685 days
Last view: 5683 days
Change the mirroring/scrolling mode is very easy with the MMC5 you just have to write to a register $5114 if I remember well but I could be wrong).

You'll have to make significant changes to make the scrolling engine update 16x16 blocks instead of 32x32 and make it scroll vertically as well I guess.

Main - ROM Hacking - SMB1 scrolling Modification - Help needed New thread | New reply

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

Page rendered in 0.018 seconds. (339KB of memory used)
MySQL - queries: 42, rows: 63/64, time: 0.015 seconds.