Jump to content
atari2600land

7800 Question

Recommended Posts

Gambler172 wants to know if I can make a 2600 game that will only work in a 7800 using batari Basic. Is there a 7800/2600 detector in batari Basic yet?

Share this post


Link to post
Share on other sites

Gambler172 wants to know if I can make a 2600 game that will only work in a 7800 using batari Basic. Is there a 7800/2600 detector in batari Basic yet?

Yes, there's a 2600/7800 detector in bB 1.0. Check in the manual.html file under "Atari 7800." But is the question about making a 2600 game in bB that will run only on a 7800, or about making a 7800 game in bB?

 

Michael

Share this post


Link to post
Share on other sites

But is the question about making a 2600 game in bB that will run only on a 7800, or about making a 7800 game in bB?

The question is making a 2600 game in bB that will run only on a 7800.

Share this post


Link to post
Share on other sites

But is the question about making a 2600 game in bB that will run only on a 7800, or about making a 7800 game in bB?

The question is making a 2600 game in bB that will run only on a 7800.

 

The easiest way would be to stick it on a 7800 cart board. (Like those Save Mary and Shooting Arcade repros)

 

Mitch

Share this post


Link to post
Share on other sites

But is the question about making a 2600 game in bB that will run only on a 7800, or about making a 7800 game in bB?

The question is making a 2600 game in bB that will run only on a 7800.

 

The easiest way would be to stick it on a 7800 cart board. (Like those Save Mary and Shooting Arcade repros)

 

Mitch

When a bB program first starts up, the temp1 variable will be set to 0 if the program is running on a 2600, or set to 1 if the program is running on a 7800. So if you check and save the value of temp1 at the very beginning of a bB program, you could put in an if statement that will keep the program from running unless it's running on a 7800, even if the cart is a 2600 cart. For example, you could display just a blank screen, or you could display a message of some kind.

 

  rem * Add this at the very beginning of a bB program
  rem * if you want it to run only on an Atari 7800.

  rem *****************************************

  if temp1 then atari_7800_detected
atari_2600_loop
  drawscreen
  goto atari_2600_loop
atari_7800_detected

  rem *****************************************

  rem * Your bB program starts here.

 

Michael

Share this post


Link to post
Share on other sites

Why limit by console type? :?

I'll let gambler172 field that one. I have no idea. But being the nice guy I am, I said I'd do it for him.

Share this post


Link to post
Share on other sites

Why limit by console type? :?

Hi Nukey

Because i want a game,which runs only on a 7800 system.Because i like my 7800.

But i will post a version for the 2600 too,if anyone wants it.

greetings Walter

Edited by gambler172

Share this post


Link to post
Share on other sites

now I'm confused, Ithought the 7800 can both 2600 and 7800 games.

to me you sound like you want to make a 7800 game and nota 2600 game.

Hi

yes,the 7800 can do both,but i want,that this game works only on a 7800 system.......and not on a 2600.It should be a game in 2600 style,but only for the 7800.

Maybe you know,there is a special 7800 version of "Save Mary",which is the 2600 version,but working only on a 7800.Do you now understand? :?

greetings gambler172

Share this post


Link to post
Share on other sites

Hey- Can Bataribasic be used to code for the 7800? And is the coding for the 7800 completely different from the 2600? I have a rudimentary knowledge of using Bb to write 2600 games. Would I be able to jump to 7800 or no?

Share this post


Link to post
Share on other sites
23 minutes ago, freshbrood said:

Hey- Can Bataribasic be used to code for the 7800? And is the coding for the 7800 completely different from the 2600? I have a rudimentary knowledge of using Bb to write 2600 games. Would I be able to jump to 7800 or no?

While you can't use bB to do 7800-specific games, 7800basic is a fork of the batari Basic project by @RevEng, and it can be and has been used to write games for the 7800.  If you have Atari Dev Studio, then you already have it. Head on over to the 7800 Programming forum for specific questions about it.

 

As far as how similar or different it is, the base language is mostly the same, but a lot of the details are quite different due to the different target console.  Graphics in particular are often a difficult learning curve going from bB to 7800basic.

  • Like 1

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.

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