Search found 333 matches

by JoeGtake2
Mon Nov 27, 2017 9:35 pm
Forum: Homebrew Projects
Topic: Have a homebrew? Want to showcase it?
Replies: 4
Views: 4266

Have a homebrew? Want to showcase it?

Hey all - we started a YouTube show in an attempt to highlight the awesome stuff you guys are doing. Here is the first episode, looking at Batlab's Super Russian Roulette. https://m.youtube.com/watch?v=BhC1k5VxDR8 If you'd like us to check out what you're working on, hit me up at Joe@TheNew8bitHeroe...
by JoeGtake2
Fri Nov 03, 2017 11:57 am
Forum: Newbie Help Center
Topic: Doing some optimizing...going cross eyed...
Replies: 4
Views: 1996

Re: Doing some optimizing...going cross eyed...

It's funny, I feel this odd sense of deja vu like I've had this exactly problem before, and there is some weird lingering code right here that i found that is never referenced in my entire program. I wonder if I dropped this for the other method. I'll give this a try. Speed is not a problem with thi...
by JoeGtake2
Fri Nov 03, 2017 10:27 am
Forum: Newbie Help Center
Topic: Doing some optimizing...going cross eyed...
Replies: 4
Views: 1996

Re: Doing some optimizing...going cross eyed...

I have a few instances of this - it is very very very old code, so it's been a while since I dug in, and there are a few quirks I'm not sure the reasoning behind. That being one. Now as I go back through and optimize with greater understanding, I'm attempting to fix all those sorts of things (in any...
by JoeGtake2
Fri Nov 03, 2017 10:07 am
Forum: Newbie Help Center
Topic: Doing some optimizing...going cross eyed...
Replies: 4
Views: 1996

Doing some optimizing...going cross eyed...

Alright - so I'm attempting to do some optimization. Using ASM6, and using CHR ram. Essentially, I have different *types* of tiles that can be loaded (background, screen object, paths), and the loading of each treated slightly differently...and indexes to each are buried in their own tables. It gets...
by JoeGtake2
Sat Aug 05, 2017 7:25 pm
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

Annnnnd first step = a failure. You are correct. On hardware, I had the glitch that tells me timing was, indeed, off. Drat. Curses. Foiled. IMG_2910.JPG I'd imagine this would be a fairly obnoxious series of trial and erroring to get exactly right (changing values, flashing, testing...rinse, repeat)...
by JoeGtake2
Sat Aug 05, 2017 6:17 pm
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

Yeah, my order of operations for tomorrow is: 1) flash this to cart, test it on my top loader. If it works... 2) Iterate the actual game in its current form and spend likely the whole day moving some memory around, cleaning up my NMI to make it a bit more economical, tracking down places that would ...
by JoeGtake2
Sat Aug 05, 2017 1:48 pm
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

Ha. That's funny. I didn't realize NOP was actually an instruction. I just thought it was an abbreviation for a family of potential operations that acted as null. This is where having studied computer science probably would've paid off! haha And...whoa! After counting cycles (and understanding how t...
by JoeGtake2
Sat Aug 05, 2017 12:21 pm
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

Thanks for posting that - I think, due to the fact that other things will be going on (and I'm perfectly ok with a single black line...even two wouldn't be so horrible, since it bottoms out with a black line for separation as it is) separating the menu from the action, the looser i could be with the...
by JoeGtake2
Sat Aug 05, 2017 11:48 am
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

Cool. For single cycle increments, just load dummy values into the accumulator or something? Never really done cycle counting like this, not sure what opcodes = how many cycles, etc. Best practice? Is there a source with this so I could evaluate how many cycles each part of this is taking? I'd imagi...
by JoeGtake2
Sat Aug 05, 2017 11:06 am
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

Yeah, I figured I'm was cramming too much in there. I had a feeling that was one of the problems... So then the solution would (or could) be something like... ;;;;;; HBLANK WAIT 1 LDX #$08 ;; i know this value will have to be played with to get it right WaitScanLine: DEX BNE WaitScanLine ;;;;;;TURN ...
by JoeGtake2
Sat Aug 05, 2017 9:49 am
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

Ok - now I'm not *that far* away from implementing this. I'm circling the drain and generally am able to substitute values for the bottom half to get different palettes from the menu bar. I'm having trouble (presumably) with getting the hblank timing right, and still having slight issues getting the...
by JoeGtake2
Sat Aug 05, 2017 5:13 am
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

So...I've gone back to a much earlier (read: simple) version of the code. After a lot of trial and error, I found that putting in some flags to make sure that the nametable AND zero sprite are drawn prior to checking for the hit got me past the *freezing* in that version. It's possible that a sprite...
by JoeGtake2
Fri Aug 04, 2017 3:24 pm
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

Yeah, I looked at that for a lot of reference. Everything seems fine, except for the sprite 0 hit. If I take the sprite zero hit out, i can change the palettes no problem. But as soon as i do the sprite 0 hit stuff, I crash and get all sorts of funky things happening with scroll. Hm.
by JoeGtake2
Fri Aug 04, 2017 3:05 pm
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

Sorry - that was a misplaced note to myself. Yes, rendering is on for the eval. Essentially, I load the palettes (all) then turn back on rendering, do the checks for sprite 0 hit, turn rendering back off, and then load the *other* palette* once the hit fires. I have tried zeroing out $2005 afterward...
by JoeGtake2
Fri Aug 04, 2017 12:24 pm
Forum: Newbie Help Center
Topic: Hblank - Palette swap mid frame, etc....
Replies: 47
Views: 18703

Re: Hblank - Palette swap mid frame, etc....

I'm making a bit of progress...right now, in just trying to successfully read a hit without glitching or locking up. I can visibly see where I'm getting a split (right now, ugly horizontal line that flickers...i'm sure that's a timing issue) but unfortunately, the bigger problem is that: a) I get a ...