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


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

Re: Trouble linking with ca65?

Subject Re: Trouble linking with ca65?
Newsgroups comp.sys.apple2.programmer
References (2 earlier) <65093508-6e35-4d74-9e78-76578b6541e7@googlegroups.com> <c7d8c0a1-0026-4bfd-a980-e7a6ed7d4dac@googlegroups.com> <85ebfd2a-160c-4e22-9429-89115a43f9cc@googlegroups.com> <FaidnSlYeODIcW7BnZ2dnUU7-a_NnZ2d@earthlink.com> <d468c2ae-48fb-4594-b9f2-904e3c9e1b6f@googlegroups.com>
From Hugh Hood <hughhood@earthlink.net>
Date 2019-06-08 13:53 -0500
Message-ID <bJSdnTPPIZzemWHBnZ2dnUU7-dnNnZ2d@earthlink.com> (permalink)

Show all headers | View raw


Michael,

Thank you. Your comment about DO/FIN made me realize the answer to my 
request for easy block comments in Merlin32 was always right in front of me.

***********
CmntST      MAC          ; comment block start
             DO     #0
             <<<

CmntEND     MAC          ; comment block end
             FIN
             <<<
***********

             CmntST

Code        LDA    #1

End
             CmntEND

***********

As we know, most modern editors can be customized to 'dim/gray' 
everything between the 'CmntST' and 'CmntEND', so the editor part should 
be fine. I also suppose the macro names could be 'C*/' and 'C/*' to make 
them more 'C' like.

Somewhat related to Andy's comment in regard to line numbers in the C 
pre-processor option, the Merlin32 assembly listing won't assign line 
numbers to the commented out part. I don't know if that is all that 
important, however. It _could_ be.




Hugh Hood


On 6/3/2019 9:53 AM, Michael Pohoreski wrote:
>> For example, I would really like a 'block comment' pseudo opcode (or
>> other delimiter) that mimics the effect of the '/* */' in 'C'.
> 
> I'll second this!  A block comment would be a REALLY nice QoL (Quality of Life) feature.
> 
> Part of the problem is that DO/ELSE/FIN is *still* parsing the conditional part even when it shouldn't be. :-/
> This makes it impossible to leave comments, comment out broken code, etc.
> 
>          ORG $300
> 
>      DO 0
>          RNG     ; Throws an error. Why isn't this ignored?
>      ELSE
>          RTS
>      FIN
> 

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


Thread

Trouble linking with ca65? Christophe Meneboeuf <christophe.meneboeuf@gmail.com> - 2019-05-25 07:59 -0700
  Re: Trouble linking with ca65? Oliver Schmidt <ol.sc@web.de> - 2019-05-25 16:15 +0000
    Re: Trouble linking with ca65? Christophe Meneboeuf <christophe.meneboeuf@gmail.com> - 2019-05-25 09:28 -0700
      Re: Trouble linking with ca65? Antoine Vignau <antoine.vignau@laposte.net> - 2019-05-25 11:04 -0700
        Re: Trouble linking with ca65? Christophe Meneboeuf <christophe.meneboeuf@gmail.com> - 2019-05-25 12:02 -0700
          Re: Trouble linking with ca65? Antoine Vignau <antoine.vignau@laposte.net> - 2019-05-25 12:13 -0700
            Re: Trouble linking with ca65? Christophe Meneboeuf <christophe.meneboeuf@gmail.com> - 2019-05-25 12:32 -0700
              Re: Trouble linking with ca65? Steve Nickolas <usotsuki@buric.co> - 2019-05-26 03:08 -0400
                Re: Trouble linking with ca65? Michael J. Mahon <mjmahon@aol.com> - 2019-05-26 15:20 -0500
          Re: Trouble linking with ca65? schampailler@skynet.be - 2019-06-04 03:36 -0700
            Re: Trouble linking with ca65? Christophe Meneboeuf <christophe.meneboeuf@gmail.com> - 2019-06-05 11:42 -0700
      Re: Trouble linking with ca65? Christophe Meneboeuf <christophe.meneboeuf@gmail.com> - 2019-05-25 16:10 -0700
        Re: Trouble linking with ca65? Andy McFadden <thefadden@gmail.com> - 2019-05-26 08:00 -0700
        Re: Trouble linking with ca65? ol.sc@web.de (Oliver Schmidt) - 2019-05-26 20:15 +0000
  Trouble linking with ca65? Michael Pohoreski <michael.pohoreski@gmail.com> - 2019-05-29 12:20 -0700
    Trouble linking with ca65? Antoine Vignau <antoine.vignau@laposte.net> - 2019-05-29 14:55 -0700
      Trouble linking with ca65? Michael Pohoreski <michael.pohoreski@gmail.com> - 2019-05-30 09:09 -0700
        Trouble linking with ca65? Antoine Vignau <antoine.vignau@laposte.net> - 2019-05-30 10:01 -0700
          Trouble linking with ca65? lroathe@gmail.com - 2019-05-30 10:32 -0700
            Re: Trouble linking with ca65? Andy McFadden <thefadden@gmail.com> - 2019-05-31 10:34 -0700
              Re: Trouble linking with ca65? Michael Pohoreski <michael.pohoreski@gmail.com> - 2019-05-31 12:07 -0700
                Re: Trouble linking with ca65? Antoine Vignau <antoine.vignau@laposte.net> - 2019-05-31 12:18 -0700
            Re: Trouble linking with ca65? Steven Hirsch <snhirsch@gmail.com> - 2019-06-02 09:23 -0400
              Re: Trouble linking with ca65? Andy McFadden <thefadden@gmail.com> - 2019-06-02 07:44 -0700
                Re: Trouble linking with ca65? Steven Hirsch <snhirsch@gmail.com> - 2019-06-02 18:49 -0400
                Re: Trouble linking with ca65? Andy McFadden <thefadden@gmail.com> - 2019-06-03 08:19 -0700
                Re: Trouble linking with ca65? olivier.zardini@cooperteam.eu - 2019-06-03 09:29 -0700
          Re: Trouble linking with ca65? Hugh Hood <hughhood@earthlink.net> - 2019-06-02 10:33 -0500
            Re: Trouble linking with ca65? Michael J. Mahon <mjmahon@aol.com> - 2019-06-02 16:17 -0500
            Re: Trouble linking with ca65? Jeff Blakeney <CUTjeffrey_blakeney@yahoo.ca> - 2019-06-03 00:58 -0400
            Re: Trouble linking with ca65? Michael Pohoreski <michael.pohoreski@gmail.com> - 2019-06-03 07:53 -0700
              Re: Trouble linking with ca65? Andy McFadden <thefadden@gmail.com> - 2019-06-03 08:10 -0700
              Re: Trouble linking with ca65? Hugh Hood <hughhood@earthlink.net> - 2019-06-08 13:53 -0500
                Re: Trouble linking with ca65? Michael Pohoreski <michael.pohoreski@gmail.com> - 2019-06-10 06:38 -0700
        Re: Trouble linking with ca65? mmphosis <mmphosis@macgui.com> - 2019-06-01 19:41 +0000

csiph-web