Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #3741

Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)?

From Benoit0123 <bgilon@free.fr>
Newsgroups comp.sys.apple2.programmer
Subject Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)?
Date 2017-07-31 11:41 +0000
Organization Mac GUI
Message-ID <benoit0123-1501501537@macgui.com> (permalink)

Show all headers | View raw


While designing a tiny utility for extending DOS 3.3 in some directions
lately, I found what I am currently considering a strange behavior from
Merlin..
Here is a very simple source file that illustrates this:
 1  TR ON
 2  ORG $4000
 3
 4  LDA #LONG
 5
 6 FNDVAR2 NOP
 7  DS \
 8 LONG EQU *-FNDVAR2
 9  END
Illegal forward ref in line: 8.
But the LONG is still correctly computed (accoring to listing) as value $FE.
However, whenever I change line 2 so that the distance between *(from line
8) and FNDVAR2 becomes greater than 256 bytes (i.e. 2 ORG $3FFE), the error
is not raised anymore.
My current thinking (but w/o any concrete fact) is that it might be
connected to how the page zero adressing is handled within Merlin 8.
I noted the same behavior in v2.48 (DOS3.3) and v2.58 (ProDOS) of Merlin 8.

Any feedback would be welcome in this thread..
Thank you for reading,
BenoƮt

-- 
Growing old is mandatory..
growing up is optional..
But the other way round is as true.

Back to comp.sys.apple2.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)? Benoit0123 <bgilon@free.fr> - 2017-07-31 11:41 +0000
  Re: Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)? Marco Verpelli <mverpelli@libero.it> - 2017-07-31 05:24 -0700
    Re: Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)? Benoit0123 <bgilon@free.fr> - 2017-07-31 16:43 +0000
      Re: Something weird with Merlin 8 (2.48 for DOS 3.3/2.58 for ProDOS)? Marco Verpelli <mverpelli@libero.it> - 2017-07-31 10:41 -0700

csiph-web