Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,490,832
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-27-24 03:15 AM
Guest: Register | Login

0 users currently in ROM Hacking | 4 guests

Main - ROM Hacking - need help hacking att table on scrolling screen New thread | New reply


mnhacker
Posted on 06-04-12 07:31 AM Link | Quote | ID: 151225

Newcomer
Level: 5

Posts: 1/3
EXP: 342
Next: 187

Since: 06-04-12

Last post: 4343 days
Last view: 4344 days
I've been messing around with changing the colors of the team helmets on the orginal tecmo bowl which scroll during the intro. the way the game is set up - all helmets use the first 3 colors on the palette while the logos have a command such as 2BEB024411 which goes to 2BEB in ram and replaces 0000 with 4411 on the att table.

I have limited ASM knowledge - I've tried changing to 2BEB0A5555000055 to extend the att table. This seems to work except - for example if 2BEB02 covers tiles 1234 - when I extend to 2BEB0A - 1 and 2 no are no longer covered its 345678. I can't seem to get the whole helmet covered in the new color..

snarfblam
Posted on 06-05-12 02:29 AM Link | Quote | ID: 151235


Tektite
Level: 18

Posts: 16/54
EXP: 26414
Next: 3483

Since: 03-10-12

Last post: 3871 days
Last view: 2821 days
Maybe some pictures would help. 2BEB0A5555000055 looks incorrect. You specify a length of ten data bytes, but there are only five. Also, are you familiar with how attribute bytes work, i.e. what tiles are affected by what bits of which bytes? (Just checking.)

mnhacker
Posted on 06-05-12 04:14 AM Link | Quote | ID: 151237

Newcomer
Level: 5

Posts: 3/3
EXP: 342
Next: 187

Since: 06-04-12

Last post: 4343 days
Last view: 4344 days
Thanks for the response. I am familar with att tables.
The 5 bytes was a typo; the string I use in ROM is 10 bytes.
After messing around some more, I think this is happening because the very first helmet doesn't have a 'change command' just uses 00. The helmet in the picture is the 2nd helmet; also some teams have 23EB while others are 2BEB, something to do with scrolling?



snarfblam
Posted on 06-05-12 03:35 PM Link | Quote | ID: 151240


Tektite
Level: 18

Posts: 17/54
EXP: 26414
Next: 3483

Since: 03-10-12

Last post: 3871 days
Last view: 2821 days
Yes, that has to do with scrolling. It looks like in order to make things simple, they fit each helmet + roster into a single whole screen. Had they not done that, those addresses would have been all over the place.

There is RAM for 2 nametables. In Temco Bowl, which uses horizontal mirroring, the nametables appear at $2000 and $2800, and are arranged vertically. As the screen scrolls downward, you scroll from the screen at $2000 into the screen at $2800, and then it wraps around back to the top of the screen at $2000.

Attributes appear at those addresses + $03C0, so one at $23C0 and the other $2BC0. And the helmet attributes appear $2B bytes in either attribute table, so for one screen they'll be at $23EB, and for the next $2BEB.

Main - ROM Hacking - need help hacking att table on scrolling screen New thread | New reply

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

Page rendered in 0.026 seconds. (339KB of memory used)
MySQL - queries: 52, rows: 75/76, time: 0.014 seconds.