Jump to content
IGNORED

Atari 2600 GUI


Dragnerok X

Recommended Posts

There's a thread explaning the "extra" characters available here. Generally speaking, you should be able to just plug in the score_graphics.asm file I posted for Deimos Lander. It will reduce your available space by a few bytes, but otherwise it shouldn't have any real effect on your code. You can either look at the Deimos Lander code for an example of how to eliminate numbers (specifically, look at the Level Display) or you can wait until I get a chance to patch your code.

 

BTW, if you're looking for more programs, might I suggest finishing the calculator? :)

 

Almost done, I have one last question, though. It seems with this...

 

dim blank = score+1

 

....I am only able to "mask" every other sprite by adding 1. How would I mask the others? Half numbers?

Link to comment
Share on other sites

Almost done, I have one last question, though. It seems with this...

 

dim blank = score+1

 

....I am only able to "mask" every other sprite by adding 1. How would I mask the others? Half numbers?

BCD encodes each number as 4 bits. Thus you bitwise OR with $AA to mask BOTH numbers, $A0 to mask the left, and $0A to mask the right. :)

Link to comment
Share on other sites

How much room have you got left? I'd like to see one or two more programs, like a drawing program. This is turning out to be kind of a Kindercomp for adults for Atari 2600. I would play Kindercomp for hours on the Commodore 64 back when I was a kid. Great job!

 

I'm glad to see you like it :) . I'm not sure how much space I have actually, probably enough though to at least squeeze in a playfield-based paint program. After that with my 4k rom-space I might be able to fit in 1 more program, but we'll get there when we get there. So I guess It's unanimous that not only we're good on the GUI, but a paint program is in order. Any suggestions?

 

BTW: here is a quick bug fix where you had to originally play pong once in order for the two middle numbers to dissappear. Now they are automatically gone.

 

Atari_OS_9206_v2.bin

Edited by Dragnerok X
Link to comment
Share on other sites

After that with my 4k rom-space I might be able to fit in 1 more program, but we'll get there when we get there. So I guess It's unanimous that not only we're good on the GUI, but a paint program is in order. Any suggestions?

How about some sounds for the Pong game? You don't need much, just the sound of the ball bouncing off the paddle, bouncing off the wall, and a "You Scored!" sound. Beyond that, I think you really need a calculator. ;)

 

BTW: here is a quick bug fix where you had to originally play pong once in order for the two middle numbers to dissappear. Now they are automatically gone.

Very nice!

Link to comment
Share on other sites

Sounds great! What's with the rolling eyes?

 

I'm not sure actually, it's just for the fun of it. Then again I'm not sure how rolling ones eyes could be fun.

 

:roll: = fun?!?

 

Whatever. Right now I'm on the hard part. Trying to figure out how to make a noise after each score.

My first guess is to use whatever tells it to pause because of a score and make a sound because of which. How did you do that anyway? For the score sound I'm going for something like freeway's "ding" sound. Any thoughts....

Edited by Dragnerok X
Link to comment
Share on other sites

Right now I'm on the hard part. Trying to figure out how to make a noise after each score.

My first guess is to use whatever tells it to pause because of a score and make a sound because of which. How did you do that anyway? For the score sound I'm going for something like freeway's "ding" sound. Any thoughts....

Shore shootin'! :P

 

All you need to do is loop on "drawscreen" while the noise plays. The screen elements will stay where they're at, thus giving an apparent "pause". You can either setup a buzzer before you loop, or you can modify the frequencies generated inside the loop for something more complex. Both are very workable solutions. (You can see this sort of thing inside the Deimos Lander code. Look at the Win/Lose screens.)

 

IIRC, Pong used a simple buzzer (like the quarter-end buzzer in basketball games) to signal a score. :)

Link to comment
Share on other sites

So.....What do you think!!! Is it good? Bad? Is there anything I should change? Any bugs? What! :)

It's horrid. That's the worst program for the 2600 I have ever seen! :x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Kidding! It's just fine. :)

 

Personally, I think Pong would be a lot better with a buzzer, but a "bloop" is acceptable. Other than that, it's working like a charm. :cool:

Link to comment
Share on other sites

It's horrid. That's the worst program for the 2600 I have ever seen!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Kidding! It's just fine.

 

Personally, I think Pong would be a lot better with a buzzer, but a "bloop" is acceptable. Other than that, it's working like a charm.

 

Just wondering. Well I guess this brings me to the question WTH-SWDN. No I'm not insulting the svedish people I'm wondering What The Heck - Should We Do Next. Now that that's done, what is there left to do? I've got 636 bytes left so......any ideas?

Edited by Dragnerok X
Link to comment
Share on other sites

If you expanded it to 8K, you would have a lot more room left. How about a paint program?

 

Two problems for 1. my cartridge I'm making is designed to be 4k ( I ordered a 4k chip, it's not like I am doing this because I'm cheap, but because....... ) 2. My source code is MOLDED around batari basic version .35 and if I update, it would be a buggy disaster (trust me, I tried, several times) so, technically, I can't bankswitch. So try to think within the ~600 byte limit.

 

BTW: I might be able to make a paint program, but with all the small details involved with making it, it would be pretty hard to do/squeeze in.

Link to comment
Share on other sites

Bad news. :evil: :sad: :evil: It doesn't look like we'll be able to add anymore programs. I've been tinkering for hours and this is the closest I could get...

 

Atari_OS_9406.bin

 

...and even that was horendously buggy. I guess EVERYTHING has it's limits.

 

Oh well. In lighter news I guess this might give us more room to improve what we have. Screensavers, alternative background colors, and other miscellaneous ideas are now on my "possible" list so throw em' at me. :D

 

Cheers!

 

--Dragnerok X

Link to comment
Share on other sites

I think you should add "english" and velocity/angles to pong, makes it much more fun.

 

Keep trying to update to 99c and you'll have a lot more fun. With that it would be cake to add a 'scrolling marquee' or 'flying stars' screensaver, a start menu, or anything else you wanna add.

Link to comment
Share on other sites

I think you should add "english" and velocity/angles to pong, makes it much more fun.

 

Keep trying to update to 99c and you'll have a lot more fun. With that it would be cake to add a 'scrolling marquee' or 'flying stars' screensaver, a start menu, or anything else you wanna add.

 

what do you mean by "english"?

Link to comment
Share on other sites

what do you mean by "english"?

Linky: English

 

The proper way to put "English" on the ball in Pong is to change the angle of reflection according to the point at which the ball hits the paddle. As a result, the ball does not follow the normal "angle in == angle out" law of physics. Instead, it returns without any vertical motion when hit by the center of the paddle, and greatly increases its vertical motion the farther from the center of the paddle it hits.

 

Obviously, this is a lot more complex to code than a simple reversal. It requires not only that you setup regions on the paddle, but it also requires that you program AI capable of using this feature. I've coded it before, but it's something that can be done in a single sitting. (As I did with the Pong game for AtariOS.) Part of the difficulty in making this change is in playtesting the code until it "feels right".

Link to comment
Share on other sites

Just wanted to through around a few of my own ideas to see what you think.

 

1. using the color b/w switch as a sound/mute switch.

 

2. use the color b/w switch to toggle the score on the desktop and use it to select a background color with the joystick.

 

3. add a screensaver with a bouncing atari logo.

 

4. create a software-controlled control panel in place of the about screen.

 

5. Digitize mausboy's Avatar and use it as a screensaver! (Just kidding! :rolling:)

Link to comment
Share on other sites

1. using the color b/w switch as a sound/mute switch.

God invented television Mute buttons for a reason. No need to be redundant.

 

2. use the color b/w switch to toggle the score on the desktop and use it to select a background color with the joystick.

*shrug* Personally, I don't think the desktop color is that big of a feature. Especially since it will be gone after the next reboot. If you supported the AtariVox (or built in non-volatile memory) it would be a more useful feature.

 

3. add a screensaver with a bouncing atari logo.

Could be nice.

 

4. create a software-controlled control panel in place of the about screen.

See #2.

 

5. Digitize mausboy's Avatar and use it as a screensaver!

Now you're talking! :lol:

Link to comment
Share on other sites

God invented television Mute buttons for a reason. No need to be redundant.

 

good point.... :ponder: :D

 

*shrug* Personally, I don't think the desktop color is that big of a feature. Especially since it will be gone after the next reboot. If you supported the AtariVox (or built in non-volatile memory) it would be a more useful feature.

 

Well what is the color/bw switch going to do then?

 

5. Digitize mausboy's Avatar and use it as a screensaver!

Now you're talking! :lol:

 

 

Who knows! Though I don't like to steal things from people maybe it could be done! :ponder:...:roll:...;) That or do the same thing with the atari logo. Heck, who said the atari couldn't do 3d!!!

Edited by Dragnerok X
Link to comment
Share on other sites

Well what is the color/bw switch going to do then?

I don't see why it has to do anything, but if you want to be 7800 compliant, you could use it as a pause for Pong. Make sure you toggle the pause only when then switch is toggled to black and white. Toggling back to color should NOT unpause the game.

Link to comment
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...