Changed multi-line C comments into another style.

The left side doesn't look unbalanced.
This commit is contained in:
Greg King
2014-06-30 05:10:35 -04:00
parent 132d57f1ad
commit 0390c34e88
502 changed files with 8869 additions and 8884 deletions

View File

@@ -85,8 +85,8 @@ static unsigned HaveIRQRequest;
#define GET_SF() ((Regs.SR & SF) != 0)
/* Set the flags. The parameter is a boolean flag that says if the flag should be
* set or reset.
*/
** set or reset.
*/
#define SET_CF(f) do { if (f) { Regs.SR |= CF; } else { Regs.SR &= ~CF; } } while (0)
#define SET_ZF(f) do { if (f) { Regs.SR |= ZF; } else { Regs.SR &= ~ZF; } } while (0)
#define SET_IF(f) do { if (f) { Regs.SR |= IF; } else { Regs.SR &= ~IF; } } while (0)
@@ -96,8 +96,8 @@ static unsigned HaveIRQRequest;
#define SET_SF(f) do { if (f) { Regs.SR |= SF; } else { Regs.SR &= ~SF; } } while (0)
/* Special test and set macros. The meaning of the parameter depends on the
* actual flag that should be set or reset.
*/
** actual flag that should be set or reset.
*/
#define TEST_ZF(v) SET_ZF (((v) & 0xFF) == 0)
#define TEST_SF(v) SET_SF (((v) & 0x80) != 0)
#define TEST_CF(v) SET_CF (((v) & 0xFF00) != 0)

View File

@@ -93,8 +93,8 @@ void NMIRequest (void);
unsigned ExecuteInsn (void);
/* Execute one CPU instruction. Return the number of clock cycles for the
* executed instruction.
*/
** executed instruction.
*/
unsigned long GetCycles (void);
/* Return the total number of clock cycles executed */

View File

@@ -83,9 +83,9 @@ unsigned MemReadWord (unsigned Addr)
unsigned MemReadZPWord (unsigned char Addr)
/* Read a word from the zero page. This function differs from ReadMemW in that
* the read will always be in the zero page, even in case of an address
* overflow.
*/
** the read will always be in the zero page, even in case of an address
** overflow.
*/
{
unsigned W = MemReadByte (Addr++);
return (W | (MemReadByte (Addr) << 8));

View File

@@ -55,9 +55,9 @@ unsigned MemReadWord (unsigned Addr);
unsigned MemReadZPWord (unsigned char Addr);
/* Read a word from the zero page. This function differs from ReadMemW in that
* the read will always be in the zero page, even in case of an address
* overflow.
*/
** the read will always be in the zero page, even in case of an address
** overflow.
*/
void MemInit (void);
/* Initialize the memory subsystem */