Re: Source codes (3)

From: Rob Eaglestone <robert.eaglestone_at_gmail.com>
Date: Thu, 1 Jan 2015 07:37:59 -0600
Message-ID: <CABNTyr_09698UfK7wvdakYJQg3iGQJVuuj9zLa8bsay-nXGaZw@mail.gmail.com>
Happy new year to you and yours, Ruud, and to everyone on cbm-hackers.

On Thursday, January 1, 2015, <Ruud@baltissen.org> wrote:

> Hallo allemaal,
>
>
> First a Happy New Year to everyone!
>
>
> I managed to write a program that is able to turn convert my first
> one-file source code into ones for 64tass, CA64 and XA. Many thanks
> to Soci because his source codes were very helpfull.
>
> Unfortunately things go wrong the moment I use conditional branches.
> For one or another reason I do something wrong. So my question is
> again if somebody could the equivalents of my code, please.
>
>
> ; Choose the version
> Version = 4;
>
>
> A simple branche:
>
> .if Version=4                           ; 1540
> ;                                     1540
> ;
> ;       This source code generates the ROM for the 1540 in the address
> .el
> ;                                     1541
> ;
> ;       This source code generates the ROM for the 1541 in the address
> .ei
>
>
>
> A branch with more than one value:
>
> .if Version=5 | Version=6 | Version=7
>         nop
>         nop
>         nop
> .el
>         jsr     WaitLoop0               ;
>  [EA4E]
> .ei
>
>
> A nested one:
>
> .if Version=7                           ; JiffyDOS 6.01
> .tz 'JIFFYDOS 5.0 1541'
> .el
> .if Version=4                           ; 1540
> .tz 'CBM DOS V2.6 V170'
> .el
> .tz 'CBM DOS V2.6 1541'
> .ei
> .ei
>
>
> Thank you very much in advance!
>
>
> --
>
> Kind regards / Met vriendelijke groet, Ruud Baltissen
> www.Baltissen.org
>
>
>
>
>
>
>        Message was sent through the cbm-hackers mailing list
>


       Message was sent through the cbm-hackers mailing list
Received on 2015-01-01 14:00:03

Archive generated by hypermail 2.2.0.