[Simh] glitch in the new 3.71?
Toby Thain
toby at smartgames.ca
Tue May 15 23:11:36 EDT 2007
On 15-May-07, at 6:23 PM, Jason Stevens wrote:
> I was cleaning up my VC 2005 project for the new version, and on a
> rebuild I encounterred the following errors in the Altair z80...
>
> ---------- ALTAIRZ80_HDSK.C
> uint8 hdskbuf[HDSK_MAX_SECTOR_SIZE]; = {}; /* data buffer */
>
> ---------- ALTAIRZ80_SIO.C
> char messageBuffer[256]; = {};
As shown, neither is correct C. You could try removing the first
semicolon; but the initialiser is redundant anyway & you could remove
it entirely.
--T
>
> Visual C won't let this fly, so I changed them to the following:
>
> ---------- ALTAIRZ80_HDSK.C
> uint8 hdskbuf[HDSK_MAX_SECTOR_SIZE];// = {}; /* data buffer */
>
> ---------- ALTAIRZ80_SIO.C
> char messageBuffer[256];// = {};
>
>
> I'll have to chase down a copy of CP/M & Zork or something
> otherthan wordstar to test....
>
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
More information about the Simh
mailing list