[cc65] Inserting Assembly Routines

Date view Thread view Subject view

From: Brian Bagnall (bbagnall_at_mts.net)
Date: 2002-11-25 01:50:20


I'm wondering if there are some docs about inserting assembly into C code
for cc65. I assume this is possible since ca65 is an assembler, but what's
the best way to manage assembly code with a C project? I saw something in
the faq about the .org directive but I assume there's more documentation
somewhere. A programmer on our team is writing an assembly routine for
multiplexing sprites, based on Lasse Oorni's amazing algorithm:

http://www.student.oulu.fi/~loorni/covert/rants/sprite.htm

We're hoping to implement it in a general way but there might be problems
since it depends on raster interrupt. This library, along with some code for
defining character sets and sound, will be grouped together in xlib64.h or
maybe allegro64.h since Allegro handles sprites, which the real xlib
doesn't. The library could benefit people who want to program c64 games
without having to know anything about the c64 memory locations, so if it
turns out well we would share it with the Commodore community.

Brian Bagnall
---------------------------------------------
My homepage http://www.mts.net/~bbagnall

----------------------------------------------------------------------
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-11-25 01:50:33 CET