Package v0.5 compatibility, .gitignore added and syntax

This commit is contained in:
redcode
2014-10-26 03:46:10 +01:00
parent 13e73d0d9f
commit 6e34db14e9
4 changed files with 13 additions and 11 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
# OS generated files
.DS_Store

View File

@@ -1 +1 @@
1.0
v1.0

View File

@@ -1405,14 +1405,14 @@ EXPORTED(qsize, run)(Z80 *object, qsize cycles)
'--------------------------------------*/
if (NMI)
{
EXIT_HALT; /* Resume CPU if halted. */
R++; /* Consume memory refresh. */
NMI = FALSE; /* Clear the NMI pulse. */
/*IFF2 = IFF1;*/ /* Backup IFF1 (it doesn't occur, acording to Sean Young. */
IFF1 = 0; /* Reset IFF1 to don't bother the NMI routine. */
PUSH(PC); /* Save return addres in the stack. */
PC = Q_Z80_ADDRESS_NMI_POINTER; /* Make PC point to the NMI routine. */
TICKS += 11; /* Accepting a NMI consumes 11 ticks. */
EXIT_HALT; /* Resume CPU if halted. */
R++; /* Consume memory refresh. */
NMI = FALSE; /* Clear the NMI pulse. */
/*IFF2 = IFF1;*/ /* Backup IFF1 (it doesn't occur, acording to Sean Young). */
IFF1 = 0; /* Reset IFF1 to don't bother the NMI routine. */
PUSH(PC); /* Save return addres in the stack. */
PC = Q_Z80_ADDRESS_NMI_POINTER; /* Make PC point to the NMI routine. */
TICKS += 11; /* Accepting a NMI consumes 11 ticks. */
continue;
}
@@ -1425,9 +1425,9 @@ EXPORTED(qsize, run)(Z80 *object, qsize cycles)
R++; /* Consume memory refresh. */
IFF1 = IFF2 = 0; /* Clear interrupt flip-flops. */
#ifdef Z80_AUTOCLEARS_INT_LINE
# ifdef Z80_AUTOCLEARS_INT_LINE
INT = FALSE;
#endif
# endif
/*if (DAISY) pointer = object->daisy.call_requester_device();
else;*/