Jump to content



0

Strange Error


4 replies to this topic

#1 Primordial Ooze OFFLINE  

Primordial Ooze

    Dragonstomper

  • 504 posts
  • Quacker Blaster Lead Programmer
  • Location:United States of America

Posted Sat Oct 18, 2008 3:57 PM

The following error is prouced:

Quote

---------- Capture Output ----------
> "C:\Atari2600\bB\2600bas.bat"
2600 Basic compilation complete.
bytes of ROM space left
--> loop2 f200
--> beginscore f20a

> Terminated with exit code 0.

When the kernal option no_blank_lines is uncommented. Here is the code.

   rem PD
   rem a Space Shooter
   rem Updated: October 11, 2008
   rem Website: http://xxxx.freepgs.com

   rem includes
   
   rem include the 6 lives multikernal
   include 6lives.asm
   
   rem setup all the game variables
   
   rem varaible to hold if a missle has been fired
   dim missileFired = a
   
   rem set the rom size
   set romsize 4k
   
   rem set the tv format to NTSC
   set tv ntsc
   
   rem turn on smartbranching
   set smartbranching on

   rem kernel options
   
   rem enable no blank lines
   rem set kernel_options no_blank_lines

   rest of code removed

Thanks,

Open Source Pong

Edited by Open Source Pong, Sat Oct 18, 2008 4:23 PM.


#2 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,911 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Sat Oct 18, 2008 4:09 PM

I just tried it uncommented and it works for me. Do you have all of the updated files:

http://www.atariage....s...t&p=1517363

#3 Primordial Ooze OFFLINE  

Primordial Ooze

    Dragonstomper

  • 504 posts
  • Quacker Blaster Lead Programmer
  • Location:United States of America

Posted Sat Oct 18, 2008 4:22 PM

Hmmm... Applied the updates and it seems to have fixed it. Thanks.

#4 Impaler_26 OFFLINE  

Impaler_26

    Cookie Meister

  • 2,148 posts
  • Braindead
  • Location:Hueco Mundo

Posted Sat Oct 18, 2008 5:51 PM

Btw., you don't have to set the rom size to 4k. If you don't specify a rom size bB automatically sets it to 4k. IIRC it's the same with the tv format, if you don't specify one it's automactially set to NTSC.

#5 Primordial Ooze OFFLINE  

Primordial Ooze

    Dragonstomper

  • 504 posts
  • Quacker Blaster Lead Programmer
  • Location:United States of America

Posted Sat Oct 18, 2008 6:32 PM

Ok, thanks, but i find the source to be more readable for anyone who wants to look at my code with those statements. Otherwise if the didn't know bB automatically does that they may become confused when it creates a 4k NTSC rom with no observable options to change it.

Edited by Open Source Pong, Sat Oct 18, 2008 6:34 PM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users