X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=dsp56k.h;h=8c847bee8c6070029a7072e477b12f93db4dd3f3;hp=c73e99ebfb3b2400f9c25ae4060f340810eaa159;hb=4205233c8397c581b4d27ab36ab81ec896ef3dd0;hpb=30a208654896284b50e7b362e97d3e63ec717b96 diff --git a/dsp56k.h b/dsp56k.h index c73e99e..8c847be 100644 --- a/dsp56k.h +++ b/dsp56k.h @@ -1,12 +1,13 @@ // // RMAC - Reboot's Macro Assembler for all Atari computers // DSP56K.H - General DSP56001 routines -// Copyright (C) 199x Landon Dyer, 2011-2017 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source utilised with the kind permission of Landon Dyer // -#pragma once +#ifndef __DSP56K_H__ +#define __DSP56K_H__ #include "rmac.h" #include "sect.h" @@ -36,7 +37,8 @@ extern DSP_ORG dsp_orgmap[1024]; // Mark all 56001 org changes extern DSP_ORG * dsp_currentorg; extern int dsp_written_data_in_current_org; -#define dprintf(...) p_buf += sprintf(p_buf, __VA_ARGS__) +#define D_printf(...) chptr += sprintf(chptr, __VA_ARGS__) // Exported functions +#endif // __DSP56K_H__