From 25302a2513307a3a41b76f5e568f0916713c0620 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 21 Sep 2021 21:17:14 +0100 Subject: Imported V1.9 --- doc/casm.html | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) (limited to 'doc') diff --git a/doc/casm.html b/doc/casm.html index c7e17ab..9d78b7b 100644 --- a/doc/casm.html +++ b/doc/casm.html @@ -1012,6 +1012,13 @@ A NES ROM file. An Amstrad CPC CDT file. + +prg + + +A Commodore 64 PRG file. + + @@ -1172,6 +1179,26 @@ to start the machine code, e.g.

Any remaining blocks will be stored as-is without any basic loader.

+

C64 T64 Tape Output Format options

+ +

The C64 T64 output driver supports the following settings that can be +set via an option command. +

+ + + + + + + + + +
OptionDescription
+option t64-start, address + +The start address for the generated BASIC loader. If left undefined defaults +to the start of written memory in the first bank. +

Nintendo Gameboy ROM File Output Format

@@ -1497,10 +1524,61 @@ The start address for the tape file. If left undefined defaults to the start of written memory. + +option cpc-loader, <on|off> + + +Whether the CDT file should contain a BASIC loader to load and run the machine +code. + + +

C64 PRG Output Format

+

+Generates a PRG file for an emulator or real hardware. +

+ +

The tape file will be given the same name as the output filename, and the +internal code block will also be given the same name, unless memory banks +have been used, in which case then each entry in the tape file will use the +output-bank setting to generate the filename for each entry. +

+ +

All banks will have a small BASIC program inserted as part of +the generated file. For this reason the bank should start near the BASIC +area (0x820 should be a safe place to start) unless you have a great +desire for a PRG full of zero bytes. This BASIC will simply hold a SYS command +to start the machine code, e.g. +

+ +
+10 SYS 2080
+
+ +

C64 PRG Output Format options

+ +

The C64 PRG output driver supports the following settings that can be +set via an option command. +

+ + + + + + + + + +
OptionDescription
+option prg-start, address + +The start address for the generated BASIC loader. If left undefined defaults +to the start of written memory in the bank. +
+

Listing

-- cgit v1.2.3