C64 ROM Address

Programming the 6502 microprocessor and its relatives in assembly and other languages.
Post Reply
pebmeister
Posts: 32
Joined: 19 Feb 2013
Location: Marlborough, Ma

C64 ROM Address

Post by pebmeister »

For those interested I have some files I like to share that would be useful for anyone using Assembly language for the C64
  • basic.asm - c64 basic locations
    kernal.asm - c64 kernal location
    macros.asm - general 6502 macros
    pagezeo.asm - c64 page 0 locations
Attachments
c64files.zip
(15.1 KiB) Downloaded 100 times
JimBoyd
Posts: 931
Joined: 05 May 2017

Re: C64 ROM Address

Post by JimBoyd »

pebmeister wrote:
For those interested I have some files I like to share that would be useful for anyone using Assembly language for the C64
  • basic.asm - c64 basic locations
    kernal.asm - c64 kernal location
    macros.asm - general 6502 macros
    pagezeo.asm - c64 page 0 locations

There are not many free zero page locations on the C64; however, if an assembly language program does not need to be used from BASIC, the BASIC ROM can be switched out. Zero page locations $2 through $8F will be available as well as the RAM underneath the BASIC ROM.
The assembly language program would need to restore BASIC when it finishes. One way to do this is to jump indirectly through address $FFFC, performing a system restart.
Post Reply