X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fintro.sgml;h=09b304d16f74c181afaaf9fde624bf56d4026681;hb=b02cc40bc066d3db3caa3f96823ebac4589ecb8e;hp=90905af0a6b4893ae900c4781db1c8c91f2f7182;hpb=dcf2bf4976692afa32318b603f12873cdba4e3d1;p=cc65 diff --git a/doc/intro.sgml b/doc/intro.sgml index 90905af0a..09b304d16 100644 --- a/doc/intro.sgml +++ b/doc/intro.sgml @@ -25,13 +25,19 @@ one assembly modules. This file does ). -You are assumed to have downloaded and extracted the executables and the -target-specific files. For example: for Windows users targeting C64, you need - -to decompress it. +I do assume that you have downloaded and installed the compiler and +target-specific files. Windows users should use the friendly .exe installer +(named cc65-2.13.0-1.exe for version 2.13.0 of the package - adjust the +version number if necessary). It does not only install the target files, but +will also set up necessary environment variables for you. + +If you're going for the .ZIP archives, please note that there is one file for +the host platform (Windows, DOS or OS/2), one file for each target platform +(C64 or whatever) and a separate file containing the docs (which include the +file you're currently reading). So for most uses, you will need at least 3 +files and unpack all three into one directory. In case of the .ZIP archives, +you will also need to set the environment variables . Before we start

You will find a copy of the sample modules, used in the next section, in the -"cc65/samples/tutorial" directory. Please make sure that the compiler -and linker can find the include and library files, by setting the environment -variables cc65/samples/tutorial" directory. If you encounter problems with +missing include files and/or libraries, please check the environment variables +The sample modules

@@ -102,7 +110,8 @@ is the C64. - cc65 -O -I ../../include -t c64 hello.c + cc65 -O -t c64 hello.c The . The linker

The linker combines several object and library files into one output file. - - ld65 -t c64 -o hello c64.o hello.o text.o c64.lib + ld65 -t c64 -o hello hello.o text.o c64.lib The argument after - cl65 -O -I ../../include -L ../../lib hello.c text.s + cl65 -O hello.c text.s -(The . Apple -AppleWin 1.10.4

-Available at : +AppleWin

+Available at : -Emulates Apple II+/IIe computers, with sound, video, joysticks, serial port, -and disk images. Includes monitor. Only for Windows. The package comes with -ROM and DOS 3.3 disk (called "master.dsk") images; however, you will need -). +Emulates Apple ][/enhanced Apple //e computers, with +sound, video, joysticks, serial port, and disk images. Includes monitor. Only +for Windows. The package comes with a DOS 3.3 disk (called "master.dsk") image; +however, you will need ). Compile the tutorial with cl65 -O -t apple2 hello.c text.s -for the Apple II, or: +for the Apple ][, or: cl65 -O -t apple2enh hello.c text.s -for the Apple IIe. +for the enhanced Apple //e. -Then, insert the file into an Apple disk image, for use with an emulator. Copy -the -a2tools in -r b cc65.dsk TEST hello +java -jar ac.jar -cc65 cc65.dsk test B < hello Note that a convention in the Apple world is that "hello" is the file which is run automatically upon booting a DOS disk, sort of like the "autoexec.bat" of the MSDOS/Windows world. We've avoided that in the example, however. Also, -the You will see the "Hello, World!" appear on the same line. Thanks to Oliver -Schmidt, for his help in completing this section. +Schmidt, for his help +in completing this section. Atari -Atari800Win Plus 3.0

-Available at : +Atari800Win Plus

+Available at : Emulates Atari 400/800/65XE/130XE/800XL/1200XL/5200, with stereo sound, disk images, scanline-exact NTSC/PAL video, joysticks, mouse, cartridges, and RAM @@ -341,11 +336,9 @@ any output. Commodore -VICE 1.16

+VICE

Available at , -and at : +url="http://www.viceteam.org/">: Emulates Commodore 64/128/VIC-20/PET/CBM II/Plus 4 computers. Supports printers, serial port and adapters, stereo sound, disk drives and images, RAM @@ -415,7 +408,7 @@ prompt. GEOS

Available at : +url="http://cbmfiles.com/geos/index.html" name="GEOS download section">: It provides a WIMP GUI (Windows, Icons, and Mouse-Pointer Graphical User