One more intermediate state - not compilable.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5644 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-04-05 19:55:04 +00:00
parent 10d58204b5
commit 74ee7a44a9
11 changed files with 147 additions and 63 deletions

View File

@@ -143,8 +143,8 @@ static void ParseCPU (void)
AttrCheck (Attr, atType, "TYPE");
AttrCheck (Attr, atAddrSpace, "ADDRSPACE");
/* Create the CPU */
CPUInstance = NewCPU ("6502", Size);
/* Create the system using the specified CPU */
System = NewSystem (NewCPU ("6502", Size));
/* Skip the semicolon */
CfgConsumeSemi ();
@@ -158,7 +158,7 @@ static void ParseAddrSpace (void)
unsigned I;
/* CPU must be defined before the address space */
if (CPUInstance == 0) {
if (System == 0) {
CfgError ("CPU must be defined before address space definitions");
}