[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CC65 problems
"Rich J." <aiiadict@hotmail.com> wrote in message
370265cd.0309010912.7316f2af@posting.google.com">news:370265cd.0309010912.7316f2af@posting.google.com...
> Hi,
>
> I typed in hello.c and text.s as mentioned in the INTRO.html file that
> is in the DOC folder from the CC65 installation (win32)
>
> I have a batch file setup:
>
> c:\cc65\bin\cl65 -t apple2 -O hello.c text.s
>
> I run the batch file and I get the following new files in the
> directory:
> text.o 252
> hello2.o 445
> hello (no extension) 2,374
>
>
>
> I transfer these files to a DSK image for use on an emulator (using
> FISHWINGS). I use the Applewin emulator. I boot DOS 3.3 and try to
> BRUN the files. none of the files will BRUN. I BRUN them and they
> lock up the machine.
I don't know anything about cc65 but...
FishWings support for DOS 3.3 is READ ONLY. When opening a DOS 3.3 DSK image
the "Import" menu item should be grayed and you should not be able to import
files.
> I BLOAD them at $2000 using
> BLOAD FILE,A$2000
>
> I enter the monitor and list $2000-
> call-151
>
> 2000l
> 55 7A EOR $7a,X
> 6e 61 09 ROR $0961
> 00 BRK
> 00 BRK
>
> This isn't the beginning of an executable program! That is with the
> hello.O file. The hello file with no extension that gets generated by
> compiling starts out with 00 08 (BRK, PHP). Once again, not the
> beginning of a machine language program as far as I've seen so far.
In DOS 3.3 the first two bytes of a binary file is the start address. 00 08
would indicate that the file should be run at $800. The next three bytes
indicate the file length.
DOS 3.3 does not load these bytes into memory.
Charlie