Jump to content
IGNORED

Score is always shown as 65535


Recommended Posts

You do have an stack overflow for GOTOing out of a gosub.

post-24767-0-14688900-1529800273.gif

line 131: if jumpingthingy=150 then goto thebeginning

I would move that to the main game loop. I added STACK_CHECK to your project and compiled it. The score does start at 0 and does increase when the screen move up.

I am using IntyBASIC v1.2.9 and using ‎Tuesday, ‎July ‎14, ‎2015, ‏‎2:19:38 PM version of AS1600, haven't yet used the updated version of AS1600 that was recently patched.

Link to comment
Share on other sites

More information about your environment would be useful. In fact, I would ask that anyone making a bug report or ask for help include this information, as the details often matter quite a lot.

  • What flags did you give to IntyBASIC's compiler?
  • What flags did you give to AS1600?
  • What flags did you give to jzIntv?
  • What version of IntyBASIC are you using? (Note: There were two releases of 1.2.9 and they're different, but I couldn't tell you how to tell them apart.)
  • What version of AS1600 are you using?
  • What version of jzIntv are you using?

 

For IntyBASIC and recent versions of AS1600 and jzIntv, you can get the version as follows:

.

$ intybasic

IntyBASIC compiler v1.2.9 Nov/07/2017
(c) 2014-2016 Oscar Toledo G. http://nanochess.org/

[... lots more stuff snipped ...]


$ as1600 -v
AS1600 built from SVN Revision 1644

$ jzintv

jzIntv v1.0
SVN Revision 1644

[... lots more stuff snipped ...]

.

If I had to venture a guess, you're compiling your game with the --cc3 flag. There is a known bug in IntyBASIC where it fails to include the RAM section in the output. You can work around this by adding this to your CFG file:

 

.

[memattr]
$8000 - $9FFF = RAM 16
Link to comment
Share on other sites

Or, leave the --jlp switch on, and run jzintv with --jlp, or upgrade to a newer jzintv + AS1600 that turns it on automagically based on the output of IntyBASIC.

 

I've been taking great pains to make these features all play nicely together.

  • Like 1
Link to comment
Share on other sites

Or, leave the --jlp switch on, and run jzintv with --jlp, or upgrade to a newer jzintv + AS1600 that turns it on automagically based on the output of IntyBASIC.

 

I've been taking great pains to make these features all play nicely together.

 

Or use the IntyBASIC SDK, which will make sure to use proper flags between both.

 

I should really update the SDK with the latest version of the tools...

 

-dZ.

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