1
0
mirror of https://github.com/pevans/erc-c.git synced 2025-08-02 10:24:33 +00:00

Use correct default status and memory mode

This commit is contained in:
Peter Evans
2018-01-21 21:33:12 -06:00
parent c2debec4d3
commit 945bf23f22
3 changed files with 6 additions and 3 deletions

View File

@@ -32,6 +32,9 @@ enum status_flags {
#define MOS_NZC (MOS_NEGATIVE | MOS_ZERO | MOS_CARRY)
#define MOS_ZC (MOS_ZERO | MOS_CARRY)
#define MOS_STATUS_DEFAULT (MOS_NEGATIVE | MOS_OVERFLOW | \
MOS_INTERRUPT | MOS_ZERO | MOS_CARRY)
/*
* Here we define the various address modes that are possible. These do
* not map to any significant numbers that are documented for the 6502