-/*****************************************************************************/
-/* Forwards */
-/*****************************************************************************/
-
-
-
-struct CodeSeg;
-struct DataSeg;
+/* cc65 */
+#include "segments.h"
/*****************************************************************************/
-/* Pre- and postamble */
+/* Files, pre- and postamble */
/*****************************************************************************/
void g_preamble (void);
/* Generate the assembler code preamble */
+void g_fileinfo (const char* Name, unsigned long Size, unsigned long MTime);
+/* If debug info is enabled, place a file info into the source */
+
/*****************************************************************************/
-void g_pushseg (struct CodeSeg** CS, struct DataSeg** DS, const char* FuncName);
-/* Push the current segments and generate new ones for the given function */
-
-void g_popseg (void);
-/* Restore the old segments */
-
void g_userodata (void);
/* Switch to the read only data segment */
void g_usebss (void);
/* Switch to the bss segment */
-void g_codename (const char* Name);
-/* Set the name of the CODE segment */
-
-void g_rodataname (const char* Name);
-/* Set the name of the RODATA segment */
-
-void g_dataname (const char* Name);
-/* Set the name of the DATA segment */
-
-void g_bssname (const char* Name);
-/* Set the name of the BSS segment */
+void g_segname (segment_t Seg, const char* Name);
+/* Set the name of a segment */
/*****************************************************************************/
-/* Functions handling local labels */
+/* Functions handling local labels */
/*****************************************************************************/
void g_enter (unsigned flags, unsigned argsize);
/* Function prologue */
-void g_leave (int flags, int val);
+void g_leave (void);
/* Function epilogue */