Jump to content



2

Can you check how much ram is in use or required?


5 replies to this topic

#1 Pioneer4x4 OFFLINE  

Pioneer4x4

    Stargunner

  • 1,724 posts
  • Atari + R.O.B. = Completed
  • Location:PA

Posted Wed Nov 16, 2011 8:53 PM

I believe my program uses very little ram, how can I check? Do you check at compile, or execution?

#2 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

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

Posted Wed Nov 16, 2011 10:04 PM

Do you use Visual batari Basic? If so, the information is at the bottom when you compile:

http://www.randomter...informationpane

#3 Pioneer4x4 OFFLINE  

Pioneer4x4

    Stargunner

  • 1,724 posts
  • Atari + R.O.B. = Completed
  • Location:PA

Posted Thu Nov 17, 2011 5:15 AM

View PostRandom Terrain, on Wed Nov 16, 2011 10:04 PM, said:

Do you use Visual batari Basic? If so, the information is at the bottom when you compile:

http://www.randomter...informationpane
Yes, I do use Visual batari Basic.
All it gives me is ROM info,
2600 Basic compilation completed.
DASM V2.20.07, Macro Assembler ©1988-2003
bytes of ROM space left
1683 bytes of ROM space left

#4 RevEng OFFLINE  

RevEng

    River Patroller

  • 2,011 posts
  • bit shoveler
  • Location:Canada

Posted Thu Nov 17, 2011 7:05 AM

short story: bB won't tell you how much ram you're using. You have to do it manually.

Mostly this is because bB gives names to memory locations you can use (a, b, c, ..., var0, var1, ...) in advance, rather than having you do it on the fly.

An add-on could be built that would analyze your source code, but it would be pretty complicated for just tracking ram usage.

#5 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

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

Posted Thu Nov 17, 2011 9:08 AM

View PostPioneer4x4, on Thu Nov 17, 2011 5:15 AM, said:

View PostRandom Terrain, on Wed Nov 16, 2011 10:04 PM, said:

Do you use Visual batari Basic? If so, the information is at the bottom when you compile:

http://www.randomter...informationpane
Yes, I do use Visual batari Basic.
All it gives me is ROM info,
2600 Basic compilation completed.
DASM V2.20.07, Macro Assembler ©1988-2003
bytes of ROM space left
1683 bytes of ROM space left

Oh yeah, you said RAM not ROM.

#6 Pioneer4x4 OFFLINE  

Pioneer4x4

    Stargunner

  • 1,724 posts
  • Atari + R.O.B. = Completed
  • Location:PA

Posted Thu Nov 17, 2011 9:21 AM

OK, Thanks both of you. Since my ROB program is very linear, and I don't use any variables I know I have plenty, I was mainly curious.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users