Applied experimental patch from @welash. Now we can do at least Zork 1.
authorDavid Griffith <dave@661.org>
Sat, 5 Oct 2019 03:07:28 +0000 (20:07 -0700)
committerDavid Griffith <dave@661.org>
Sat, 5 Oct 2019 03:39:44 +0000 (20:39 -0700)
commit66a5720a120d68340b83117a424691a21eb8f37a
tree4e662f00b6a9c7bcb8e8f5b18b2d909574c0a0fb
parent019e6518612bd0ccb8e38c30751384488351e1fa
Applied experimental patch from @welash.  Now we can do at least Zork 1.

Two things were done here.

1.  Commented out assembly macros of SET_WORD and LOW_WORD, temporarily
using the Unix versions.  I'm examinging some ways of cleanly allowing
for a structure member to be passed into an assembly macro.  Turbo C /
Turbno Assembler has a problem doing a.flags when there also exists
b.flags.  It can't tell the difference and so will throw an error about
an ambiguous member name.  This happened with z_header.flags.

2.  Turbo C doesn't like seeing things like `z_header_t z_header;` in
multiple source files.  These were marked `extern` in all but one of
them.
src/common/frotz.h
src/common/main.c
src/dos/bcinit.c