New Life Games LLC
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News:

Welcome to the NewLifeGames.com message forum! 

 


NLG Site Navigation Menu


Archives of old posts can be found at...... Newlifegames.net/nlg/

Author Topic: [SOLVED] What compiler do you use/recommend?  (Read 2901 times)

0 Members and 1 Guest are viewing this topic.

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
[SOLVED] What compiler do you use/recommend?
« on: December 10, 2020, 02:59:26 PM »
I've recently discovered there are differences between IDE's and how much they may limit your programming.


I've found that the Arduino IDE v1.8.13 compiles my program 280 bytes larger than the vMicro Plug-in for Microchip Studio 7.  Doesn't sound like much, but Studio 7 has increased the capacity for the number of IF statements I have in the Status Display page section of code.  Both using the AVRISP programmer.


If you've run across this kind of issue with the Arduino IDE, please let me know.  And what compiler that you decided to switch to.


Thanks.


Arduino IDE v1.8.13 results:
Code: [Select]
Sketch uses 118078 bytes (46%) of program storage space. Maximum is 253952 bytes.Global variables use 1670 bytes (20%) of dynamic memory, leaving 6522 bytes for local variables. Maximum is 8192 bytes.Microchip Studio 7 results:
Code: [Select]
Program TryNumber4 size: 117,798 bytes (used 46% of a 253,952 byte maximum) (38.30 secs)Minimum Memory Usage: 1670 bytes (20% of a 8192 byte maximum)
« Last Edit: December 12, 2020, 01:24:32 PM by peasoup49 »

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: What compiler do you use/recommend?
« Reply #1 on: December 12, 2020, 01:24:12 PM »
Just as an FYI for those who might program one of these.  My problem ended up not being the compiler issue I thought it was going to be.  It appears that when you write HUGE webpages requiring lots of code and JavaScript, the compiler doesn't like it.  Plan on your HTML to be smaller than 4kb in size, otherwise your program will hang and you'll beat your head on the keyboard wondering what you've coded wrong.  I was attempting to put a 15kb page into the code.  :talktothehand:


BTW, this information is no where to be found on the Internet or in any documentation.  I discovered this when my problem worsened when I added more JavaScript.  When I went to a bare bones HTML for the page, everything worked.  I didn't change any code for the data processing of the program.

Offline Stayouttadabunker

  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 6146
  • Reputation Power: 441
  • Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!
  • Gender: Male
  • NLG
Re: [SOLVED] What compiler do you use/recommend?
« Reply #2 on: December 12, 2020, 01:43:24 PM »
I know nothing about writing code but it does look like there's a short statement that says 8192 bytes max?
Would that be more than double kb in size?
Remember, the more you tell us - the better we can help you!

Consider becoming a regular contributing member, which helps pay costs to keep this site up and running so you can keep your machine up and running :)

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: [SOLVED] What compiler do you use/recommend?
« Reply #3 on: December 12, 2020, 02:13:57 PM »
I know nothing about writing code but it does look like there's a short statement that says 8192 bytes max?
Would that be more than double kb in size?


Please let me know where you found that.  I searched for "HTML limit", "max page size", etc. and ended up with results about some type of 'enlargement'.  :24:

Offline Stayouttadabunker

  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 6146
  • Reputation Power: 441
  • Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!
  • Gender: Male
  • NLG
Re: [SOLVED] What compiler do you use/recommend?
« Reply #4 on: December 12, 2020, 02:25:32 PM »
 :rotfl:   I slid the bar over to the right?!


Click on photo below to enlarge if needed ...>>>
Remember, the more you tell us - the better we can help you!

Consider becoming a regular contributing member, which helps pay costs to keep this site up and running so you can keep your machine up and running :)

Offline peasoup49

  • New NLG Member 3 to 100 Posts
  • **
  • Posts: 73
  • Reputation Power: 6
  • peasoup49 New User has no influence.
  • Gender: Male
  • Bad connection? Just use more solder.
Re: [SOLVED] What compiler do you use/recommend?
« Reply #5 on: December 12, 2020, 02:59:45 PM »
That's how much dynamic memory I have on the card.  I've got 253k for program memory.  You had me thinking there for a minute. LOL

Offline Stayouttadabunker

  • Sr NLG Member
  • NLG Member 501 to 10,000 Posts
  • *
  • Posts: 6146
  • Reputation Power: 441
  • Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!Stayouttadabunker Is an-NLG GOD!
  • Gender: Male
  • NLG
Re: [SOLVED] What compiler do you use/recommend?
« Reply #6 on: December 12, 2020, 03:09:43 PM »
That's how much dynamic memory I have on the card.  I've got 253k for program memory.  You had me thinking there for a minute. LOL
oh! I told you...I know nothing about programming....there's too many languages!!!!  :Tongue_Out:
Remember, the more you tell us - the better we can help you!

Consider becoming a regular contributing member, which helps pay costs to keep this site up and running so you can keep your machine up and running :)

 

Cell Phone and Pad Mode

imode wap wap2

NLG Archives

Archives @ newlifegames.net Wayback Machine

Contact Us

NLG Shop 928 754-4147 Email Us 1788 Highway 95 30 BHC City AZ 86442
If you find this site helpful, please consider becoming a Contributing NLG Member with a monthly subscription to help cover the cost of pizza, coffee, aspirin, hosting, and bandwidth.
Contributing Members: get unlimited personal messages, can save topics and replies as drafts,
can post to the Classified ads, get unlimited access to the downloads, and also get this minty badge:



**Subscription Link** (Click Here) **Subscription Link**



           
If you would rather remain anonymous Thank You or just want to help support the site, please use this "make a donation" button:




From your entire NLG staff, thank you for supporting NLG.


New Life Games LLC 1788 HIGHWAY 95 UNIT 30 BULLHEAD CITY AZ 86442




Newlifegames.com     Newlifegames.net     Newlifegames.org

Newlifegame.com     Newlifegame.net     Newlifegame.org    Newlifegames.us

   New Life Games     NewLifeGames  NLG

 We Bring new Life to old Games    1-888-NLG-SLOTS

Are all Copyright and Trademarks of New Life Games LLC 1992 - 2022


FAIR USE NOTICE:



This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner.
We make such material available in an effort to advance awareness and understanding of the issues involved.
We believe this constitutes a fair use of any such copyrighted material as provided for in section 107 of the US Copyright Law.
In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those
who have expressed a prior interest in receiving the included information for research and educational purposes.

For more information please visit: http://www.law.cornell.edu/uscode/17/107.shtml
If you wish to use copyrighted material from this site for purposes of your own that go beyond fair use,
you must obtain permission directly from the copyright owner.




The NewLifeGames.com website is optimized for use with Firefox and a minimum screen resolution of 1600 x 900 pixels.

SimplePortal 2.3.5 © 2008-2012, SimplePortal