Maybe you know the answer to this @rahorvat but what is misc.exe? It seems to have been in a few Microprose games, and in the Civ media the file date is `1989-06-05` which predates the rest of the files by a lot.
Well, don't know how to say this nicely than this, but why haven't you shared your work with others then?don't worry about misc.exe, that file has been included in other Microprose games and just like mgraphic, egraphic etc. it was something Sid used on various titles before and after Civ. it would be nearly impossible for him and Bruce to create that game from scratch within a year.
oh btw: don't know how to break it you, but what you're doing has already been done. i have a working and playable game. bugs included. for research purposes. oops.
Amazing work! I assume it had to be some sort of shared library, but nice to know the actual facts of the situation.Yes, these are just some shared utilities and/or functions. The CIV 1 actually seems to use only functions 2 and 3.
* Function 2 calls INT 21,1 - Keyboard Input with Echo
* Function 3 calls INT 16,0 - Wait for Keypress and Read Character
but Bruce Shelley used the template they used earlier as they worked together on the code
Out of interest, how do you know it was Bruce and not Sid?
I thought you had learned some dark secrets (or stumbled over some interesting comments)!I edited the original post to include Sid Meier. The thing is who knows, except them?![]()
He, he,I thought you had learned some dark secrets (or stumbled over some interesting comments)!
throw new Exception($"Unknown 0x21 interrupt 0x{this.oAX.High:x2}");
System.Exception: 'Unknown 0x21 interrupt 0x0a'
Nice job! I tried running it in Visual studio and I'm getting an exception thrown at.Code:throw new Exception($"Unknown 0x21 interrupt 0x{this.oAX.High:x2}");
Ok thanks, it works now. I was working on older civ version. Keep it up and good luck.Hm,
I have tested the source on another machine without any CIV source and the code is working as expected.
The assumptions are:
- You are using VS2022 community version (don't know if this is important).
- You have fully functional (uncompressed latest exe version .05, see my decompressor from this thread) and installed CIV I at c:\dos\civ\ directory. It's where it's home directory resides (Images, palettes, overlays and save games are loaded/saved there, for now).
Check if you have the latest version from Git.
Also, I would like to know if this solved your problem and is working for you![]()
Yes,Moving units around, building a city, ... Looks cool so far. In a way what you're doing reminds me of devilution project.
Brilliant! (I believe last two lines is what DevilutionX does for that project.)Yes,
I looked at devilution project (interesting idea, all great minds think alike?), and it's kinda the similar idea. The d0c had this idea also, but his project unfortunately never took off.
I plan to:
- reconstruct the code,
- preserve original code as much as possible (for future reference),
- and then to optimize code, fix bugs, add features and then,
- publish it on a modern platform, with new graphic and music (so I don't violate any copyright laws
).
Where do you need help/what needs to be done? I'm ok with C# but not so much with disassembly.Terrain details page is now working.
So, I'm cautiously saying that the code is in a playable condition!
There is sill a lot to do...
So, again, if someone is interested in this project to help me?
Will try to make an introduction to code, what is what, what needs to be done and such things...![]()
Well,Where do you need help/what needs to be done? I'm ok with C# but not so much with disassembly.