Re: [cc65] .import struct link_node

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2010-04-27 20:54:44
Hello,

* On Tue, Apr 27, 2010 at 03:05:33PM +0200 Christian Grössler wrote:

> -------------------------------------------
> ;/* include file for assembler & C
> ; * Christian Groessler
> ; */
>
> ;/* Avoid double inclusion in C */
> ;/*
> .if 0
> ;*/
> #ifndef __C_AND_ASM_INCLUDED__
> #define __C_AND_ASM_INCLUDED__
> ;/*
> .endif
[...]

Wolfgang Moser came up with another idea to do this in cbmforng (part of
OpenCBM):

C stub:
http://opencbm.cvs.sourceforge.net/viewvc/opencbm/cbm4win/cbmforng/cbmforng.h?revision=1.2&view=markup

Assembler stub (lines up to 84):
http://opencbm.cvs.sourceforge.net/viewvc/opencbm/cbm4win/cbmforng/cbmforng.a65?revision=1.6&view=markup

The header definitions:
http://opencbm.cvs.sourceforge.net/viewvc/opencbm/cbm4win/cbmforng/cbmforng.idh?revision=1.4&view=markup

Everything in _CMT() is commentary. Thus, the important parts are lines
126-139

(Ok, ok, he invaded the namespace of the C compiler... ;))

Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Apr 27 20:55:01 2010

This archive was generated by hypermail 2.1.8 : 2010-04-27 20:55:05 CEST