Re: [cc65] Strange problem

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2002-07-18 17:41:11


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

Well, actually I'm talking about the fseek/ftell/fread/fwrite functions.

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

Yeah, I found the atari.cfg file and changed my start address from 2E00 to 2000 to get a bit more RAM.  That doesn't solve my problem however, so I have to keep looking.

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

Good idea, I had completely forgotten about that.  I'll look into the debugger!

Thanks,
Shawn


----------------------------------------------------------------------
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 17:42:29 CEST