Jump to content
IGNORED

hectoByte - a 128 byte intro released at Outline 2012


Tjoppen

Recommended Posts

I forgot to post this a while back. It's a 128 byte intro (demo) for the Atari 2600. It placed 2nd in the 128 byte competition at Outline 2012.

 

It doesn't work correctly in Stella, so you need to use MESS (with the 4k ROM) or a real machine (via say Harmony).

 

http://www.youtube.com/watch?v=s91ujoAgdkc

 

Links:

http://www.pouet.net...php?which=60483 - pouet page

http://www.acc.umu.s...s/hectoByte.zip - release, including source code

  • Like 4
Link to comment
Share on other sites

Your video just gave me a special form of epilepsy that makes my pants fill up with tooter pudding every time the phone rings. And I don't know how, but thanks to your video, one of my fillings is picking up a local radio station whenever I yawn. You wouldn't think it would be a problem, but the volume is loud, so I violently snap wide awake with every yawn and I can't get to sleep. :D

Link to comment
Share on other sites

I forgot to post this a while back. It's a 128 byte intro (demo) for the Atari 2600. It placed 2nd in the 128 byte competition at Outline 2012.

 

It doesn't work correctly in Stella, so you need to use MESS (with the 4k ROM) or a real machine (via say Harmony).

 

All 3 ROMs are working for me in Stella here. BTW, in the future if you find a ROM that doesn't work in Stella, I'd appreciate some feedback/bug reports on it before you release it.

Link to comment
Share on other sites

More detail. It works correctly if I start it through the GUI. Color seems fine.

If I click on it in explorer and rely on .bin file assoction with stella to start it; it runs in b/w.

 

To me, that says that the settings file is different between launching it from Explorer vs. from the GUI. It seems that the 'color-loss' effect is turned on for the former, and off for the latter. Of course why that's happening is another issue ...

Link to comment
Share on other sites

Well yes that is exactly the "problem".. I like to keep stella's settings in a different directory other than %userdata% - and rely on the basedir.txt file to specify that directory. Everything works fine and it enables me to keep multiple configs at the ready.

 

If i start stella by relying on the association to *.bin, stella goes ahead and creates a new stella.ini %userdata%.. And that means a different config.

Link to comment
Share on other sites

According to the README file in the archive posted by Tjoppen , the problem in Stella is speed.

If you run the rom in Stella and press the ALT-L key combination, it display "343 scanlines @ 50.00fps" while it should be about 45.5fps with that scanline count.

Also note that the demo never enables VSYNC nor VBLANK, and the screen actually rolls on a real TV. The rom doesn't have its own framerate / scanline count, because it never sends to the TV the signals to start a new frame. The actual framerate depends on the max number of scanlines the particular TV set you are using can display before retracing the electron beam.

Stella seems to allow a max of 343 scanlines before starting a new frame, but it doesn't set the right framerate in this case (while it does correctly in other roms with off-specs scanline counts as long as they enable VBLANK/VSYNC).

Edited by alex_79
Link to comment
Share on other sites

Yep, alex_79 nailed it. I should add that the colour does work correctly on my TV set even though I'm not doing VSYNC.

 

If you manage to get it to play at the correct speed the audio may be a bit off. I suspect this because bit-banging PCM data without doing VSYNC doesn't work very well in Stella. Both xSqueeker (http://www.pouet.net/prod.php?which=58051) and Sound Coder (http://www.pouet.net/prod.php?which=59283) demonstrate this problem. But maybe this doesn't happen if using the normal sounds "as intended"..

Link to comment
Share on other sites

Yep, alex_79 nailed it. I should add that the colour does work correctly on my TV set even though I'm not doing VSYNC.

 

If you manage to get it to play at the correct speed the audio may be a bit off. I suspect this because bit-banging PCM data without doing VSYNC doesn't work very well in Stella. Both xSqueeker (http://www.pouet.net...php?which=58051) and Sound Coder (http://www.pouet.net...php?which=59283) demonstrate this problem. But maybe this doesn't happen if using the normal sounds "as intended"..

 

There are several issues here. I've fixed the incorrect framerate calculation; as specified above, it wasn't being done for out-of-spec scanline counts without VSYNC. The colour issue happens for two reasons. First, the maximum scanline count in Stella is 342 (ie, its virtual 'TV' can only handle that much). However, due to off-by-one error in a comparison, the scanline count was being set to 343. And since colour-loss is enabled by default for PAL ROMs, that odd # of scanlines was making the colours grayscale. So that is now fixed too; the scanline count is 342 in the maximum case.

 

Finally, if there is an issue with 'bit-banging PCM data', it could be because the current sound code isn't precisely cycle-accurate. A fix for this is coming in the next major release (3.8 ).

Link to comment
Share on other sites

I've tested both ROMs mentioned above (xSqueeker and Sound Coder), and they sound much better now after the fixes added to Stella. I don't have a working PAL system yet, so I can't absolutely confirm that it sounds the way it's supposed to ...

 

EDIT: Even Quadrun sounds better now, with no skipping in the 'quadrun, quadrun, quadrun' speech :)

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

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