Jump to content
ClausB

My First Kernel

Recommended Posts

I've been lurking around these 2600 forums for nearly 2 years, learning what I can about VCS programming. I've been an Atari 8-bit programmer since 1980, but never tried the 2600, mainly because the TIA documentation wasn't available to me back then. But in these excellent forums you can find almost anything you need!

 

I've been working on my first kernel all this year, and I hope it will become the basis for a game I'm designing. It's been developed and tested only on the PC, using Stella 2.6.1 and some other tools, but not DASM. Stella, with its nice debugger, makes it so easy.

 

It's almost ready for posting, though it's still far from a complete game.

Share this post


Link to post
Share on other sites

Post away! Don't forget to include some screenshots of your work in progress. Although I'm not a 2600 guy I like to see what other people are doing on the machine.

Share this post


Link to post
Share on other sites

Here it is.

 

post-18605-125701447972_thumb.png

 

I had hoped to have it by July for the 40th anniversary of Apollo 11, but now it will have to be for Apollo 12.

 

The joystick trigger is the only active control right now.

APOLLO12.BIN

  • Like 1

Share this post


Link to post
Share on other sites

Thanks!

 

Sorry about the reset. I got spoiled by Stella's easy restart.

 

Anyone tried it on a real 2600?

Share this post


Link to post
Share on other sites

Anyone tried it on a real 2600?

Yep, and unfortunately one of the bugs that emulators don't show appears. There is a small gap between the player objects. Chances are this is due to writing to the HM registers too early in the scanline. The Stella Programmer's Guide has more information. It's an easy mistake to make, and others have done so before, so think of it as a programming rite of passage. Otherwise the work so far is looking great!

Share this post


Link to post
Share on other sites

Yep, and unfortunately one of the bugs that emulators don't show appears. There is a small gap between the player objects.

Actually, the gap does appear in Stella 3.0.

Share this post


Link to post
Share on other sites

There is a small gap between the player objects. Chances are this is due to writing to the HM registers too early in the scanline. The Stella Programmer's Guide has more information.

Thanks for trying it. You're right, I set the HMPx regs too soon after the HMOVE. I see now that warning in the Guide. Here's a fix:

 

APOLLO12.BIN

 

Guess I should upgrade Stella, or maybe even get a 2600!

Share this post


Link to post
Share on other sites

Love this! Any change of it getting turned into a full-featured game? The sprite looks good, really good. And the ballistics seem just about right.

 

 

I had hoped to have it by July for the 40th anniversary of Apollo 11, but now it will have to be for Apollo 12.

 

Get this game back on track and we can go to the moon ourselves. No need to worry about NASA or anniversaries. Perhaps make the source available and someone else'd pick it up. I would, but I ain't no VCS programmer..

Edited by Keatah

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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...