Jump to content

The Southsider

  • entries
    81
  • comments
    767
  • views
    138,545

Star Castle Kernel


cd-w

2,198 views

The recent threads on Star Castle for the Atari 2600 have been rather annoying, so I decided to see how difficult it would be to write my own version.

 

It turns out not to be too difficult - I was able to write a basic kernel with rotating shields in a single weekend. I just went for a simple implementation using extra RAM (FA bank-switching) instead of pre-calculating all the ring data. The advantage of this approach is that the rings can be made to spin at different speeds.

 

blogentry-6563-0-41826400-1324236134.png

 

It isn't quite as advanced as the kernel that Supercat posted, but it avoids some flicker by using only a single sprite to draw the rings. I also used the size calculations that Thomas posted previously. Note that it looks best on a real TV, or using the phosphor (ALT-p) mode in Stella.

 

I'm not sure if I'll take this further or not. I have posted the binary and source in case anyone else is interested.

 

Let me know what you think?

 

Chris

 

starkernel.bin

starkernel.zip

  • Like 2

8 Comments


Recommended Comments

Thanks - the ring rotation is done entirely in the overscan area, so there are (at least) 37 scanlines remaining.

Link to comment

I can deal with the rings flickering but the ship in the middle really needs to not flicker. Very impressive so far!

 

Can't you shrink the playfield down and use that as a canvas for the rings?

Link to comment

The flicker is almost invisible on a real TV (or by pressing Alt-P in Stella).

 

Unfortunately the size of the playfield is fixed, so it can't be used here. Stellar Fortress by Trogdor shows what is possible using the playfield.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...