Imperial Starfire System Generator

Home of Classic Starfire, the 3rd edition of Starfire, based on the novels by David Weber, Steve White, and Charles Gannon.

Moderators: SDS Members, SDS Owner

Forum rules
Forum rules
1. Nothing obscene.
2. No advertising or spamming.
3. No personal information. Mostly aimed at the posting of OTHER people's information.
4. No flame wars. We encourage debate, but it becomes a flame when insults fly and tempers flare.

Try to stick with the forum's topic. Threads that belong to another forum will be moved to that forum.

Re: Imperial Starfire System Generator

Postby aramis on Wed 06 Apr 2016 12:07

Did C:\temp\ exist? If not, it will fail.

Note: I tested it in DosBox before upload. But not exhaustively. I've used it in the past on MSDos 6.0, 6.2, and 6.22.
The MS-Dos versions are the original, unaltered source code from 1993.
aramis
Rear Admiral
Rear Admiral
 
Posts: 261
Joined: Mon 01 Mar 2010 00:42
Location: Eagle River, Alaska

Re: Imperial Starfire System Generator

Postby Cralis on Wed 06 Apr 2016 13:18

aramis wrote:Did C:\temp\ exist? If not, it will fail.


Yes it does. I also made sure I spelled it "temp" and not "Temp" or "TEMP" or something. It is exact.

And I'm using Win7 if that matters.

Note: I tested it in DosBox before upload. But not exhaustively. I've used it in the past on MSDos 6.0, 6.2, and 6.22.
The MS-Dos versions are the original, unaltered source code from 1993.


I believe you, but there is so many changes since then :)

What is on line 9?
Image
User avatar
Cralis
SDS Member
SDS Member
 
Posts: 10201
Joined: Tue 30 Jun 2009 19:27
Location: Oregon, USA

Re: Imperial Starfire System Generator

Postby aramis on Thu 07 Apr 2016 02:31

Cralis wrote:
aramis wrote:Did C:\temp\ exist? If not, it will fail.


Yes it does. I also made sure I spelled it "temp" and not "Temp" or "TEMP" or something. It is exact.

And I'm using Win7 if that matters.

Note: I tested it in DosBox before upload. But not exhaustively. I've used it in the past on MSDos 6.0, 6.2, and 6.22.
The MS-Dos versions are the original, unaltered source code from 1993.


I believe you, but there is so many changes since then :)

What is on line 9?

The code isn't line numbered source.
The 9th line of code is "Randomize Timer" - and is before ANY interactive code (It's the first line after variable declarations)

Label 9 is initialization of the file protocols, and is after the inputs.
It's a write failure; the label's in the correct area, and it's correct to the program flow.

Step 1: make certain that, in dosbox, you get a file list in C:\
Assuming you've not edited the config all to hell, DosBox defaults to booting to drive Z:

Code: Select all
Z:\> cd C:\
C:\> dir

Make certain you find temp inside the listing.

Make certain in DOSBOX that you can write to the temp. The following is a good test:
Code: Select all
C:\ dir > c:\temp\test.txt

That SHOULD create a text file with your C:\ file directory. If it doesn't, then DosBox doesn't have correct permissions to write to that folder.

Also, try running DosBox as Administrator...

Also note: Many people's setups do not have the Windows C:\ as the C:\ in DosBox. (I'm a mac user... my DosBox is set to mount /Dos&Win/DosC as drive C at startup. That way, I can't see (and damage) anything else on the drive...
aramis
Rear Admiral
Rear Admiral
 
Posts: 261
Joined: Mon 01 Mar 2010 00:42
Location: Eagle River, Alaska

Previous

Return to Classic Starfire

Who is online

Users browsing this forum: No registered users and 1 guest