Search found 18 matches

by gnarlyWarlock
Fri Jul 24, 2015 11:13 pm
Forum: SNESdev
Topic: Direct page issues...
Replies: 39
Views: 8018

Re: Direct page issues...

Oh, okay. Well, uh, I've never used REPT or REDEF myself... I pretty much just write all my code out literally. OH WAIT. I think this is your problem: ldX deA stX Lol yep I've noticed that right after I submit my original code and fixed it - I thought it had something to do with differences between...
by gnarlyWarlock
Fri Jul 24, 2015 2:15 pm
Forum: SNESdev
Topic: Direct page issues...
Replies: 39
Views: 8018

Re: Direct page issues...

Are you using ca65? ca65 has some kind of messed-up direct page behaviour that I can never remember exactly what it is, since I use WLA. As far as I can tell your code should be working. Yeah, I am using WLA; I'm aware of ca65's issues from browsing the forum's earlier posts. Really sucks when I do...
by gnarlyWarlock
Fri Jul 24, 2015 1:36 pm
Forum: SNESdev
Topic: Direct page issues...
Replies: 39
Views: 8018

Direct page issues...

Hello. I'm trying to update my HDMA table in WRAM ($7FA100), however..... modGradient: .EQU COUNT 1 php phb phd ;push flags, bank and dp register, since we're tinkering with them lda #$7F pha plb ;got the new WRAM data bank (where the HDMA table is) rep #$20 lda #$A100 ;direct page of the WRAM locat...