Re: [cc65] Strange problem

Date view Thread view Subject view

From: cbmnut_at_hushmail.com
Date: 2002-07-18 09:57:02


Hi,
>1. Are the file routines that Christian wrote part of the official Atari library yet?  Is there some source that I could download that has this new atari library code?  I'd like to take a look at it.
>
If we mean the same thing, I found it in 
cc65-sources-2.8.0.tar.gz
in libsrc/atari/dio*, open.s, etc.

>2. I read about a linker configuration file, is there some documentation on this file, or a sample one laying about somewhere for the atari?
>
src/ld65/cfg/atari.cfg:
--------------
MEMORY {
    ZP: start = $82, size = $7E, type = rw;
    HEADER: start = $0000, size = $6, file = %O;
    RAM: start = $2E00, size = $8E1F, file = %O;    # $8E1F: matches upper bound $BC1F
}
------- etc.

>3. Anybody know the general layout of memory with a cc65 program on the Atari?  I wonder if I am running low on memory or something...
>
Looks like it starts at $2e00.  I remember reading somewhere there's
some option to set the graphics mode you plan to be using, so the linker
reserves space for it.

As far as your problem, try the debugger in the emulator, stop when there's
corruption, and see what's in the memory, or else search for bytes that
might be referring to the screen memory, like $00 $90 pairs (cbm monitors
have a H command to hunt for bytes in ram).
>Thanks!
welcome :)
>Shawn
>
>
cbmnut
>----------------------------------------------------------------------
>To unsubscribe from the list send mail to majordomo_at_musoftware.de with
>the string "unsubscribe cc65" in the body(!) of the mail.
>


Communicate in total privacy.
Get your free encrypted email at https://www.hushmail.com/?l=2

Looking for a good deal on a domain name? http://www.hush.com/partners/offers.cgi?id=domainpeople

----------------------------------------------------------------------
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 : 2002-07-18 09:57:27 CEST