Re: [cc65] First steps

Date view Thread view Subject view

From: Spiro Trikaliotis (Trik-news_at_gmx.de)
Date: 2000-12-29 10:28:35


Hello Troy,

I assume you use the WIN version of VICE.

> At long last I have time to work on some C code for
> the C64 using cc65. I have some simple questions.
> I have cc65 running well. I have written some basic
> test code in C, used cc65 to produce the asm source,
> and then used ca65 to produce the binary executable.

Well, I only use cl65, but that doesn't make a difference (I hope).

> I am using vice for a C64 emulator. I have star
> commander for making disk images.

You don't need the Star Commander, because:

> What is the easiest way to get my new binary files
> into vice and run the executable. I have been working
> on this for a couple of hours today and it is giving
> me difficulty. I can't seem to get a proper disk
> image and my files loaded to the emulator to run them.

You don't need a disk image. Just go to the Menu "Settings"/"Device
settings", now select the register "Drive 8", choose "Directory" and Browse
to the directory your compiled file is stored. (Note: Don't type in the
directory, really use the "Browse" button, because the type-in does not
work, at least on my machine).

Now, if you load the directory from drive 8, you see all the files in that
directory. (Note: You must turn-off "True drive emulation" in the "options"
menu for that to work!). Now, you can directly load your compiled file and
run it.

If you have generated a symbol file, just enter the VICE monitor and type
the ll-command to load the symbols before executing the RUN, and you can
debug your stuff.

HTH,
   Spiro.


----------------------------------------------------------------------
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