[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help! How to get cc65 Apple 2 prg. to work!?



On Nov 16, 1:31 pm, aiiad...@gmail.com wrote:
> On Nov 16, 10:02 am, Harry Potter <maspethro...@aol.com> wrote:
>
> > I am working on a cc65 library for Commodore computers and want to
> > port it to the Apple 2.  The problem is that when I import it to a
> > disk image and boot an emulator with it, it exits to BASIC, even when
> > I call it "HELLO."  I use BRUN to run it and get an ERROR #13
> > message.  I tried importing it using both FishWings and CiderPress.
> > Can anybody help me?
>
> you need a better DOS3.3 that will give you error messages
> instead of numbers....
>
> Here are the DOS 3.3 (/Diversi-DOS/David-DOS/Pronto-DOS/etc) error
> codes
> as published in THE DOS MANUAL (Apple P/N 030-0115-B):
>
>     1     LANGUAGE NOT AVAILABLE
>     2     RANGE ERROR
>     3     RANGE ERROR
>     4     WRITE PROTECTED
>     5     END OF DATA
>     6     FILE NOT FOUND
>     7     VOLUME MISMATCH
>     8     I/O ERROR
>     9     DISK FULL
>    10     FILE LOCKED
>    11     SYNTAX ERROR
>    12     NO BUFFERS AVAILABLE
>    13     FILE TYPE MISMATCH
>    14     PROGRAM TOO LARGE
>    15     NOT DIRECT COMMAND
>
> type CATALOG and tell us what the directory looks like.  You are
> trying to BRUN a program that is not a Binary type.

For some reason, it's a BASIC file.  I'm sure I need a binary file.
How do I import it as such?