Compilation error "Vectors.asm(1): Value out of range"

Post Reply
User avatar
dale_coop
Posts: 590
Joined: Fri Feb 16, 2018 7:05 am

Compilation error "Vectors.asm(1): Value out of range"

Post by dale_coop » Fri Aug 10, 2018 9:54 am

After some modification to the HUD elements, a lot of users got that error when compile :

Image
It's a memory issue...

Here a temporary fix (provided by Joe during the live streaming video at 2:00:00):

1) First, open the "GameEngineData\MainASM.sm" script, and find the "HandleFade" related lines and comment them putting ";" at the begining of each line.
The result should be something like that :

Code: Select all

	;;JSR HandleFadeLevels 
	;;JSR HandleFades
Save the script file and close.

2) Then open the "GameEngineData\Routines\System\IncludeSystemFunctions.asm" script, and again comment the "HandleFade" related lines...
The result should be something like that :

Code: Select all

	;;.include "Routines\System\HandleFades.asm"
Save the script file and close.

Now, you shouldn't be having this compilation error anymore.
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
User avatar
functionalform
Posts: 41
Joined: Tue Mar 06, 2018 10:54 pm

Re: Compilation error "Vectors.asm(1): Value out of range"

Post by functionalform » Fri Aug 10, 2018 2:51 pm

did you do asm prior to beta?

i'm amazed at how quickly you've been able to dig around in everything, and selflessly provide help.
User avatar
dale_coop
Posts: 590
Joined: Fri Feb 16, 2018 7:05 am

Re: Compilation error "Vectors.asm(1): Value out of range"

Post by dale_coop » Fri Aug 10, 2018 4:15 pm

Never did ASM before NESMaker... I learn everything via Joe’s tutorial videos! And I learn more every day with NESMaker.
Thanks a lot, Joe <3
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
User avatar
jorotroid
Posts: 10
Joined: Wed Aug 08, 2018 7:48 pm
Location: California
Contact:

Re: Compilation error "Vectors.asm(1): Value out of range"

Post by jorotroid » Sat Aug 18, 2018 2:12 am

Even with commenting out the fades, I still went over sometimes in my journey to add my own code. But I found that commenting out the scrolling include has not yield any repercussions so far and frees up sizable chunk.

Code: Select all

;.include "Routines\System\HandleScroll2.asm"
Post Reply