Search found 6 matches

by pitcrawler
Mon Aug 02, 2021 7:53 pm
Forum: SGDK
Topic: Thousand tiles based maps - "How to" using SGDK?
Replies: 8
Views: 11101

Re: Thousand tiles based maps - "How to" using SGDK?

I did this for a project of mine similar to how you described, although it took a long time and a few tricks to get it working at a decent speed. I might be able to put a code sample together some time.
by pitcrawler
Tue Jul 06, 2021 4:24 pm
Forum: Video Display Processor
Topic: Register 2 VRAM Location Question
Replies: 2
Views: 3443

Re: Register 2 VRAM Location Question

The Plane A nametable location is a 16 bit value. Register 02 is an 8 bit register and bit 5 of this register is the top bit of the nametable location, meaning it will turn into bit 15. So in other words it has to be shifted left by 10 bits. Shifting anything left by 10 bits divides it by $400. You ...
by pitcrawler
Tue Jun 26, 2018 10:07 pm
Forum: Video Display Processor
Topic: How h interrupt register works?
Replies: 7
Views: 11355

Re: How h interrupt register works?

Yeah, with the first couple screen of lines you can't do a thing. In my case I just got lucky because I didn't need to.
by pitcrawler
Tue Jun 19, 2018 7:55 pm
Forum: Video Display Processor
Topic: How h interrupt register works?
Replies: 7
Views: 11355

Re: How h interrupt register works?

I spent a long time trying to get this to work myself. I did manage to eventually get my raster effects working, changing the counter during the hblank. I'm not entirely sure why it works though, it was all trial and error. You kind of have to start changing it 2 steps before you want to see the cha...
by pitcrawler
Fri Sep 08, 2017 1:24 pm
Forum: SGDK
Topic: How use PLAN_WINDOW for sgdk
Replies: 9
Views: 7719

Re: How use PLAN_WINDOW for sgdk

That explains it, thanks.
I didn't know that memory sections were set up to overlap by default.
by pitcrawler
Fri Sep 08, 2017 1:03 pm
Forum: SGDK
Topic: How use PLAN_WINDOW for sgdk
Replies: 9
Views: 7719

Re: How use PLAN_WINDOW for sgdk

I found out something interesting with the window plane in SGDK when I was trying to get it to work. I was trying to use the window plane to make a HUD at the bottom of my game screen. I spent an age trying to get it to work, looking through all the examples and tutorials I could find. Tried one thi...