Jump to content

Photo

XB Game Developers Package


483 replies to this topic

#476 LASooner OFFLINE  

LASooner

    Moonsweeper

  • 373 posts

Posted Thu Jan 31, 2019 3:21 PM

Just a quick glance at the 2 compiled versions, The older compile (on the left) had 1 extra line at the end of the code

 

Tqae7MF.png

 

line 2835 is not present in the HONDARRABI compile. I do not grok Assembly code, so you'd know better than me if that makes a difference.



#477 senior_falcon OFFLINE  

senior_falcon

    Stargunner

  • Topic Starter
  • 1,380 posts
  • Location:Lansing, NY, USA

Posted Thu Jan 31, 2019 4:06 PM

That makes no difference. The asterisk tell the compiler that line is a comment. If you wanted to put the runtime routines into low memory, the compiler on the left would un-comment the line. The new compiler will add AORG >2008 after ENDCC for the same result.



#478 senior_falcon OFFLINE  

senior_falcon

    Stargunner

  • Topic Starter
  • 1,380 posts
  • Location:Lansing, NY, USA

Posted Thu Jan 31, 2019 8:06 PM

Found the problem. CALL LINK("IRND",A,B,C,D) was not in the list of subprograms. That didn't cause a problem before, but with the new ability to CALL your own subprograms, it assumes that IRND is your own subprogram and treats it differently. 

with Grechetto:

L1640

       DATA IRND,NC29,NV46
with Hondarrabi:
L1640
       DATA CALL,IRND,NC29,NV46
 

The fix is dead simple and I should be able to post it tonight.



#479 LASooner OFFLINE  

LASooner

    Moonsweeper

  • 373 posts

Posted Thu Jan 31, 2019 8:08 PM

Good to know



#480 senior_falcon OFFLINE  

senior_falcon

    Stargunner

  • Topic Starter
  • 1,380 posts
  • Location:Lansing, NY, USA

Posted Thu Jan 31, 2019 9:13 PM

Here you go. This fixes the bug that LASooner found.

 

I thought you might be having memory problems, but the compiler reports over 1K memory available. You only have 2 string variables, so at most they would take up 512 bytes. So that's not an issue for you.

 

I hope there are no more bugs to find, but if there are, I hope you guys can find them!

Attached Files



#481 LASooner OFFLINE  

LASooner

    Moonsweeper

  • 373 posts

Posted Thu Jan 31, 2019 9:26 PM

I'll give it a shot when I get home



#482 senior_falcon OFFLINE  

senior_falcon

    Stargunner

  • Topic Starter
  • 1,380 posts
  • Location:Lansing, NY, USA

Posted Thu Jan 31, 2019 9:52 PM

Just wanted to say, the files you sent were perfect. Exactly what was needed to diagnose what was happening.



#483 LASooner OFFLINE  

LASooner

    Moonsweeper

  • 373 posts

Posted Thu Jan 31, 2019 11:43 PM

old version and new version in the same cart

 

I feel like the player is a little more responsive, but maybe it's the placebo effect. 

 

It takes the player roughly 8 seconds to go from left to right across the top of the screen in the old version and 7 seconds in the new version.

Attached Files


Edited by LASooner, Thu Jan 31, 2019 11:54 PM.


#484 Opry99er ONLINE  

Opry99er

    Quadrunner

  • 10,607 posts
  • Location:Hustisford, WI

Posted Fri Feb 1, 2019 12:53 AM

Excellent!!!!




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users