Re: [cc65] lcc port to the c64

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2000-11-30 13:36:50


> I'm of course the last one to tell other people how to spent their time. I
> know, that fiddling with a compiler is fun for itself (I'm working on cc65 for
> fun myself:-). However, it is my opinion that it would be much better for the
> community if people would work together more closely and use/improve what is
> there instead of recreating existing things over and over. There are not many
> 6502 developers left, and splitting resources means that a lot less will get
> accomplished.

yeah, fully agree.... i used to do the same thing some years ago (rewriting a
whole lot of tools that already existed) but i stopped that for the same reason:
waste of (valuable) resources (mostly time here).

btw... i recently started using ca65 somewhat more intensive, and i noticed
that the missing 'repeat' type of thing really _IS_ a horrible thing ;/

instead of writing

.for count=0,count-100,count=count+1
  .byte $00
.next

in tasm6502 (the one from taboo), in ca65 its

.macro filler count,to,step

.proc
  .byte $00
.endproc

  .if ((count+step)>=to)
        .exitmacro
  .endif

    filler (count+step),to,step

.endmacro

filler 0,100,1

notice this is a VERY simple example of the usuage of that feature and
imagine how horrible that looks like with a more complicated code thing,
maybe using nexted loops etc ;/

it's true, all that crap can be substituted by recursive macros, but its
still an ugly solution

whatever, besides that..... ca65/ld65 ROX ;=)

regards

gpz

ps: while i am porting some code written in tasm, i am writing down all 
    the traps that came across my way.... i could supply that document
    if you want to include that with your docs (a whole lot of ppl are
    used to tasm so it might make sence)

-- 
----------------------------------------------------------------------
                                 /^\
                                 \ /
          ASCII RIBBON CAMPAIGN   X   AGAINST HTML JUNK MAIL
                                 / \
----------------------------------------------------------------------
          ___ ___ .___________________ .___________ _______.
  c=64   /   |   \|   \__    ___/     \ \_   _____/ \      \ groepaz
   cgb  /    '    \   | |    | /  \ /  \ |    __)_  /   |   \
    psx \    .    /   | |    |/    '    \|        \/    |    \
     dc  \___|_  /|___| |____|\____|__  /_______  /\____|__  /
               \/     '               \/        \/         \/
       http://www.hitmen-console.org    Hitmen WWW Headquarters
       http://fly.to/hitmen-groepaz     my personal playground
----------------------------------------------------------------------
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:37 CET