Re: [stella] Compiling Problems #2

Subject: Re: [stella] Compiling Problems #2
From: "Andrew Davie" <adavie@xxxxxxxxxxxxx>
Date: Fri, 23 Feb 2001 13:17:00 +1100
> Ok here's the actual code, I can't figure out why DASM is bitching at me.
> processor 6502
> include vcs.h

^^ try inserting a space or two before each of these two (that is, don't
start them in the 1st column).  This was mentioned in an earlier reply, and
it is crucial!

> org $F000

^^ same here, insert some space(s) and just BEFORE that line include the
    SEG code

Without the above, you might be able to assemble, but you won't actually
generate any code (BIN).

I've checked these suggestions by changing my code so these statements are
like yours (or missing, like SEG) - and my program won't assemble,
either.... so I'm pretty sure these are your problems.

Your mnemonics (LDX, LDY, etc) do not need to be uppercase;  lowercase is
fine and (for me) more readable (eg: ldx, ldy, etc).

Hope this helps.

 _  _  _| _ _        _| _    * _                               _  ,
(_|| )(_|( (/_\/\/  (_|(_|\/(_(/_                           ,~' L_|\
                                                         ,-'        \
see my Museum of Soviet Calculators at                  (            \              \    __     /
                                                          L,~'  "\__/
                                                              @--> v

Archives (includes files) at
Unsub & more at

Current Thread