Re: [cc65]zero page

Date view Thread view Subject view

From: troy silvey (tbsilvey_at_juno.com)
Date: 2001-01-06 19:30:37


>So, which ones are free for us that want to mix asm with C?

I need to check the libs closely to see which are used by 
the c64.lib, but some of the main ones that are open
by default are...
2,251-254

Others are only used by basic and the tape drive and can
probably be used for your C program with out problems.
You might check with the guys at VICE. They would have
better information on what can and can't be used. I used
many of these years ago in asm and it worked well.
There are dozens, but some of the more obvious ones you
can probably use are..
50-53, 146, 155-156, 158-159, 163-166, 176-179, 189-191,
and 247-250.

There are several more used for rs-232 I/O operations that
could probably be used once all disk drive operatoins are done
and you aren't going to be using disk, tape or rs-232 while your
program executes. You would have to be more carefull with those.
The largest consecutive areas I can find are...
163-171 (8bytes) 247-254 (8bytes) and 176-196 (20bytes)
I would recommend caution, experimentation and input from
the VICE crew on how well these might work. I plan to test them
closely myself.
(No warrant expressed or implied :)
if you don't have one already, you might try and find one of these
books.... Programming the C64, Mapping the C64 or the 
C64 programmers reference guide. You can find them on the net
or ebay. I have a link some where that has most of the information
in these books in txt, html or pdf format. If I can find it I will post
it.
They all have detailed information on the mem locations in the 64.


troy





>-- 
>    ___          .     .  .         .       . +  .         .      o   
>  _|___|_   +   .  +     .     +         .   .  Per Olofsson, konstnär
>    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
>     -       +            +    .     http://www.cling.gu.se/~cl3polof/
>----------------------------------------------------------------------
>To unsubscribe from the list send mail to majordomo_at_musoftware.de with
>the string "unsubscribe cc65" in the body(!) of the mail.

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
----------------------------------------------------------------------
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:38 CET