Search found 710 matches
- Sun Jan 02, 2022 10:02 am
- Forum: Super 32X
- Topic: 32X VDP going crazy with my attempts to draw
- Replies: 36
- Views: 120423
Re: 32X VDP going crazy with my attempts to draw
Take a look at my research posts about drawing sprites. There are routines that draws 32x32 sprites in various ways. It may give you some ideas. But realistically chances are you’ll have to settle for a low framerate or draw just the important objects. The 32x doesn’t give you enough pixel throughpu...
- Fri Jun 25, 2021 7:58 pm
- Forum: Super 32X
- Topic: A Simple sprite Tutorial?
- Replies: 5
- Views: 14328
- Fri Jun 25, 2021 7:57 pm
- Forum: Super 32X
- Topic: Experimenting with 32x sprite drawing and scaling techniques
- Replies: 1
- Views: 12386
Experimenting with 32x sprite drawing and scaling techniques
Intro I'm releasing this before feature creep makes me go crazy. Following my Afterburner/Space Harrier 32x investigations, (http://gendev.spritesmind.net/forum/viewtopic.php?f=4&t=3234) I wanted to use the knowledge I gained to start writing my own routines using different techniques and to setup ...
- Sat May 29, 2021 6:16 pm
- Forum: Super 32X
- Topic: Exploring Space Harrier and Afterburner 32x
- Replies: 7
- Views: 19803
Re: Exploring Space Harrier and Afterburner 32x
So it looks like Space Harrier and Afterburner are each taking opposite trade-offs. Space Harrier is high-quality scaling, low object count and Afterburner is low-quality scaling, high object count.
- Sat May 29, 2021 6:13 pm
- Forum: Super 32X
- Topic: Exploring Space Harrier and Afterburner 32x
- Replies: 7
- Views: 19803
Re: Exploring Space Harrier and Afterburner 32x
Yeah, I think I know what Afterburner is doing for odd addresses: it completely avoids writing to them. Looking at individual frames of the intro swirling balls animation, there never seems to be a one pixel space. Every time there is space between spheres, it's always a multiple two pixels. And fol...
- Sat May 29, 2021 5:07 pm
- Forum: Super 32X
- Topic: Exploring Space Harrier and Afterburner 32x
- Replies: 7
- Views: 19803
Re: Exploring Space Harrier and Afterburner 32x
Looking at Afterburner's ram again. Even in it's frozen state I've found two pairs of smoke sprites. They're basically identical except one side's empty space is different. I don't think my hypothesis of the game storing two sets of sprites with one set stored offset by one column is panning out. ht...
- Sat May 29, 2021 1:48 pm
- Forum: Super 32X
- Topic: Exploring Space Harrier and Afterburner 32x
- Replies: 7
- Views: 19803
Re: Exploring Space Harrier and Afterburner 32x
Figured out how to properly view Shadow Squadron's VRAM dump. False color (pixels are actually 8bit palette indexes but here interpreted as RGB8) image of Shadow Squadron video ram dump. Orange border is actually black in-game, showing how the game is rendered smaller than 320x224. The top part is f...
- Sat May 29, 2021 3:14 am
- Forum: Super 32X
- Topic: Exploring Space Harrier and Afterburner 32x
- Replies: 7
- Views: 19803
Re: Exploring Space Harrier and Afterburner 32x
I've managed to prove that Space Harrier uses the Fill function to clear the top part of the screen and to fill the bottom of the ground. I've also looked at Shadow Squadron and it uses the Fill function to draw polygon rows, and drawing single pixels for odd addresses, just as expected. The weird t...
- Fri May 28, 2021 8:58 pm
- Forum: Super 32X
- Topic: Exploring Space Harrier and Afterburner 32x
- Replies: 7
- Views: 19803
Re: Exploring Space Harrier and Afterburner 32x
Here's a video of one frame of Space Harrier being drawn, pixel by pixel. You'll notice that it starts from the horizon and the jump when it finishes drawing the bottom of the grid. These are the parts where I think maybe the game is using the FILL function or DMA somehow. https://www.dropbox.com/s/...
- Fri May 28, 2021 8:36 pm
- Forum: Super 32X
- Topic: Exploring Space Harrier and Afterburner 32x
- Replies: 7
- Views: 19803
Exploring Space Harrier and Afterburner 32x
After failing to be able to get any kind of decent performance out of my attempts at a super-scalar type engine, I decided to investigate what Space Harrier and Afterburner do to get their very reasonable 30fps performance. This is where I'll put my findings. I originally wanted to focus on Afterbur...
- Fri May 21, 2021 4:47 pm
- Forum: Super 32X
- Topic: Concurrency penalty
- Replies: 3
- Views: 10104
Re: Concurrency penalty
WIth my 32x experiments, these are definitely related to my interests! It's great!
- Fri May 21, 2021 1:12 pm
- Forum: Super 32X
- Topic: VDP FILL Function
- Replies: 3
- Views: 9528
Re: VDP FILL Function
In my current 32x experiments, I'm using FILL (multiple times) to clear the background before drawing sprites. Are there any known issues to this?
Alternatively, do you know of faster methods of clearing the framebuffer?
Alternatively, do you know of faster methods of clearing the framebuffer?
- Mon May 03, 2021 12:18 am
- Forum: Super 32X
- Topic: Coordinating 32x screen flip and MD vblank?
- Replies: 1
- Views: 9061
Re: Coordinating 32x screen flip and MD vblank?
pouring through the docs again: "Frame buffer can be switched only in VBlank. During display, even when writing to the FS bit, the buffer does not switch until VBlank occurs; " It says DRAM can be accessed after confirming the FS bit (from the Frame Buffer Control Register, which indicates which fra...
- Sun May 02, 2021 8:31 pm
- Forum: Super 32X
- Topic: Coordinating 32x screen flip and MD vblank?
- Replies: 1
- Views: 9061
Coordinating 32x screen flip and MD vblank?
Hi there, I've got a basic 32x app loop running like while (1) { // input // draw Hw32xScreenFlip(1); // 1 is for wait } where Hw32xScreenFlip void Hw32xScreenFlip(int wait) { // Flip the framebuffer selection bit MARS_VDP_FBCTL = currentFB ^ 1; if (wait) { while ((MARS_VDP_FBCTL & MARS_VDP_FS) == c...
- Sun Aug 23, 2020 8:00 pm
- Forum: SGDK
- Topic: Current state of the art of sound/music tools?
- Replies: 4
- Views: 9544
Re: Current state of the art of sound/music tools?
Wow! Thanks! I'm glad I had a part in encouraging you to start!