Jump to content
IGNORED

Compiling errors on certain known to work programs


bs4

Recommended Posts

Greetings! I've been lurking here for many years and finally created an account,

downloaded Batari and the IDE and got my first software working last night!

 

Wow! This is so f&ck|ng cool!!!

 

Anyhow... I have a quick question.

 

All the example code I've been using compiles great.

C:\BATARI>2600bas.bat samples\3_MoveASprite.bas
batari Basic v1.01 ©2005-2007
2600 Basic compilation complete.
DASM V2.20.07, Macro Assembler ©1988-2003
bytes of ROM space left
2659 bytes of ROM space left
Complete.

 

The small bits of code I've been writing myself to learn work also.

(Very simple stuff, I am just learning and not doing anything complex.)

 

But many of the larger or more complicate things don't.

(For example, Princess Rescue)

C:\BATARI>2600bas.bat PR_V2b.bas
batari Basic v1.01 ©2005-2007
(846): Error: Unknown keyword: C▬

Compilation failed.

 

There are others as well. (Programs that are known to work, have the source released, yet fail compile.)

I download the source and try to compile and get the same type of error.

Usually unknown keyword and then some garbage, as if it's an ASCII thing.

(You know how CR/LF on Linux is just CR but on DOS there are added linefeeds?)

 

Anyone? Thanks!

Edited by bs4
Link to comment
Share on other sites

. . . downloaded Batari and the IDE and got my first software working last night!

Where did you download them from? If you don't have the latest version of bB, you will have problems with newer code.

 

randomterrain.com/atari-2600-memories-batari-basic-commands.html#gettingstarted

Link to comment
Share on other sites

Well that's the thing... I'm running Windows 7 x64 and initially it wouldn't work.

(No 16-bit) I got the Mingw compile which was supposed to be up to date.

I don't remember where I got it from but it was supposed to be the way to run it on 64 bit.

 

Is there a place to get a 64-bit compatible version that's also the newest version?

 

Thanks!

 

P.S. My executable says version 1.01 -

batari Basic v1.01 ©2005-2007
game

Edited by bs4
Link to comment
Share on other sites

C:\BATARI>2600bas.bat PR_V2b.bas
batari Basic v1.01dreveng36 ©2005-2014
2600 Basic compilation complete.
138 bytes of ROM space left in bank 1
33 bytes of ROM space left in bank 2
175 bytes of ROM space left in bank 3
30 bytes of ROM space left in bank 4
39 bytes of ROM space left in bank 5
32 bytes of ROM space left in bank 6
85 bytes of ROM space left in bank 7
124 bytes of ROM space left in bank 8

Complete.

 

AWESOME!!! I followed that link and installed the latest version and all went well!

Everything I try is now compiling! Thanks!

 

P.S. - What is the best doc on programming in Batari?

The CurtisP doc is awesome but it just sorta... Stops.

(http://atariage.com/forums/topic/111938-programming-tutorial/)

It ends with "NEXT : READING THE JOYSTICK" but then there doesn't seem to be any more.

There are updates in the source/demos but there isn't any more of the walkthru/explainations.

I would love something like a full version of this doc. Thanks!

Edited by bs4
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...