Jump to content
IGNORED

7800 Basic programming tutorials?


Inky

Recommended Posts

Atarius Maximus put out out a couple moderate level tutorials: Creating 7800basic compatible graphics images with Gimp and Creating 7800basic compatible maps with the Tiled app.

 

Unfortunately there's no very beginning tutorial right now. There's the manual and the "samples" directory, and a good place to start is compiling the samples. Then take a look at the simple.bas sample, and play around.

  • Like 4
Link to comment
Share on other sites

 

An adapted version of those can be found here:

 

randomterrain.com/atari-2600-memories.html#7800basic

  • Like 5
Link to comment
Share on other sites

I created some simple beginner sample programs and code snippets for bB about 10 years ago or so that (just looked) have all combined have been downloaded over 25,000 times. Yikes. It might be time to work on something similar for 7800basic. No promises on timeframe, but that's something I wouldn't mind doing in the future.

  • Like 6
Link to comment
Share on other sites

  • 3 weeks later...

This isn't so much a tutorial as much as a tip. If you want to break apart your *.bas file into separate files to make it easier to manage (in my case, I'm doing this to make it easier to keep straight what code is in what bank. Kinda regret not bankswitching from the beginning right now. :D) you can do multiple files then combine them prior to feeding them to 7800basic.

 

The command in dos for Windows users would be:

 

copy /p source1.bas + source2.bas + source3.bas + source4.bas target.bas

 

the /p simply prevents it from asking for manual confirmation of overwriting the file. Leave it out if you want to. The actual filenames can be anything. Just use a + between each of the sources that you want to combine into the final file in the list. After that, run the resulting target.bas through 7800basic as usual. Just remember that the order you add the sources matters. They'll be added to the target one after the other.

 

I use to have a command like that rigged up in a batch file in my 2600 programming days so I'd just have to type "make".

  • Like 1
Link to comment
Share on other sites

  • 4 months later...

I was tinkering with palettes again and noticed this works for fixing up palettes when your graphics application messes them up (usually when reducing the palette size). In particular this works for paint shop pro 8, but it might work similar in photoshop.

 

1. open your image in the graphics application.

2. attempt to change the palette resolution to the desired level.

3. If the colors get mucked up, use the edit palette function to get the desired colors where you want them in the palette.

4. Save the -palette-. (Not the image.)

5. Undo the changes you made to the palette. if you have to re-open the image and do the initial changes again, do so.

6. load your saved palette into the new image. In paintshop pro it will (should) keep the image the same while swapping the palette references.

 

If anyone using photoshop wants to try and see if this works with that, let us know. I don't have photoshop myself to verify. :)

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