Discussion:
ProSel Help
(too old to reply)
Todd Holcomb
2018-01-24 02:30:26 UTC
Permalink
Hey guys,

I'm having a hard time getting ProDOS games to run from ProSel, getting a ProDOS Error $40. I can launch them fine after loading Apple // Program Launcher V1.0, so I know the games work.

For example, I try to run CWOLF.SYSTEM FROM /HD32/GAMES/WOLFENSTEIN/ with:
Prefix for application: /HD32/GAMES/WOLFENSTEIN/
Pathname of application: CWOLF.SYSTEM
Startup:

And I get the error. What am I doing wrong?

Thanks in advance.
Hugh Hood
2018-01-24 04:00:40 UTC
Permalink
Todd,

Try dropping the trailing slash from the Prefix (e.g. -
/HD32/GAMES/WOLFENSTEIN). I think that should work.

See Page 5 in the ProSel Docs:

<ftp://ftp.apple.asimov.net/pub/apple_II/documentation/applications/misc/ProSel8CompleteDocs.pdf>

Glen had his own way of doing things, and although I can't say I found
his choices intuitive, I can't deny the power and usefulness of his
programs.




Hugh Hood
Post by Todd Holcomb
Hey guys,
I'm having a hard time getting ProDOS games to run from ProSel, getting a ProDOS Error $40. I can launch them fine after loading Apple // Program Launcher V1.0, so I know the games work.
Prefix for application: /HD32/GAMES/WOLFENSTEIN/
Pathname of application: CWOLF.SYSTEM
And I get the error. What am I doing wrong?
Thanks in advance.
Todd Holcomb
2018-01-24 05:19:40 UTC
Permalink
Post by Hugh Hood
Todd,
Try dropping the trailing slash from the Prefix (e.g. -
/HD32/GAMES/WOLFENSTEIN). I think that should work.
Hugh,

Thanks for the suggestion but that didn't work. Even if I put the full pathname in the Pathname of Application I still get the ProDOS Error $40. I've got ProTERM and other apps that I run from the same HD and it works fine. So what's different about the games? Frustrating...

Todd
awanderin
2018-01-24 05:11:38 UTC
Permalink
Post by Todd Holcomb
Hey guys,
I'm having a hard time getting ProDOS games to run from ProSel,
getting a ProDOS Error $40. I can launch them fine after loading
Apple // Program Launcher V1.0, so I know the games work.
Prefix for application: /HD32/GAMES/WOLFENSTEIN/
Pathname of application: CWOLF.SYSTEM
Hugh's answer might be the right one.

I'm able to run CWOLF.SYSTEM from a hard-disk image from within KeGS.
This port was designed to run from a hard disk (I did the port), but I
haven't ever used ProSEL, so I cannot say how it would work from there.

You could also try it from basic.system:
] prefix /hd32/games/wolfenstein
] -cwolf.system

or

] - /hd32/games/wolfenstein/cwolf.system
--
--
Jerry awanderin at gmail dot com
Todd Holcomb
2018-01-24 05:25:43 UTC
Permalink
Post by awanderin
Hugh's answer might be the right one.
I'm able to run CWOLF.SYSTEM from a hard-disk image from within KeGS.
This port was designed to run from a hard disk (I did the port), but I
haven't ever used ProSEL, so I cannot say how it would work from there.
Hey Jerry,

Thanks for the help. I can get it to run fine with other program launchers, just not ProSel for some reason. I like ProSel because you can have all the "aliases" right on the desktop when you boot.

Todd
James Davis
2018-01-24 21:08:35 UTC
Permalink
Post by Todd Holcomb
Hey guys,
I'm having a hard time getting ProDOS games to run from ProSel, getting a ProDOS Error $40. I can launch them fine after loading Apple // Program Launcher V1.0, so I know the games work.
Prefix for application: /HD32/GAMES/WOLFENSTEIN/
Pathname of application: CWOLF.SYSTEM
And I get the error. What am I doing wrong?
Thanks in advance.
Try using the full pathname to run the program, also.

Are you using the "]" ProSEL command to tell it to launch AppleSoft-/Integer-BASIC first?
Todd Holcomb
2018-01-24 21:57:33 UTC
Permalink
Post by James Davis
Try using the full pathname to run the program, also.
Are you using the "]" ProSEL command to tell it to launch AppleSoft-/Integer-BASIC first?
Hey James,

Thanks, but I already tried the full pathname without any luck.

I have not used the "]" ProSel command - should I?

I wonder if it's the older version or ProDOS that's causing the issue. The games have a much newer version of this, so I think I'll try swapping out the ProDOS file and see if this makes a difference.

Todd
awanderin
2018-01-25 05:13:15 UTC
Permalink
Post by Todd Holcomb
Post by James Davis
Try using the full pathname to run the program, also.
Are you using the "]" ProSEL command to tell it to launch
AppleSoft-/Integer-BASIC first?
Hey James,
Thanks, but I already tried the full pathname without any luck.
I have not used the "]" ProSel command - should I?
I wonder if it's the older version or ProDOS that's causing the issue.
The games have a much newer version of this, so I think I'll try
swapping out the ProDOS file and see if this makes a difference.
Todd
Todd, is ProSEL reporting the error, or is it the game itself?

If it's the Castle Wolfenstein game, you'll see errors like:
ProDOS Error $xx from $yyyy
Stack: xx xx xx xx xx xx xx xx xx xx



--
Jerry awanderin at gmail dot com
Todd Holcomb
2018-01-25 19:52:13 UTC
Permalink
Post by awanderin
Todd, is ProSEL reporting the error, or is it the game itself?
ProDOS Error $xx from $yyyy
Stack: xx xx xx xx xx xx xx xx xx xx
Hey Jerry,

I guess it's coming from the game itself:

ProDOS Error $40 from $E1C3
Stack: 85 A8 C3 A8 3C 20 38 00

Maybe it's running out of memory when launching from ProSel since I can launch if fine from the basic prompt and Apple II Launcher?
John Brooks
2018-01-26 03:31:04 UTC
Permalink
Post by Todd Holcomb
Post by awanderin
Todd, is ProSEL reporting the error, or is it the game itself?
ProDOS Error $xx from $yyyy
Stack: xx xx xx xx xx xx xx xx xx xx
Hey Jerry,
ProDOS Error $40 from $E1C3
Stack: 85 A8 C3 A8 3C 20 38 00
Maybe it's running out of memory when launching from ProSel since I can launch if fine from the basic prompt and Apple II Launcher?
$40 is INVALID PATHNAME.

-JB
@JBrooksBSI
awanderin
2018-01-26 06:05:20 UTC
Permalink
Post by Todd Holcomb
Post by awanderin
Todd, is ProSEL reporting the error, or is it the game itself?
ProDOS Error $xx from $yyyy
Stack: xx xx xx xx xx xx xx xx xx xx
Hey Jerry,
ProDOS Error $40 from $E1C3
Stack: 85 A8 C3 A8 3C 20 38 00
Maybe it's running out of memory when launching from ProSel since I
can launch if fine from the basic prompt and Apple II Launcher?
I suspect that the prefix is being set differently by ProSEL than by
other launchers. Looking at page 86 of the ProDOS 8 Tech Ref, it says
the pathname of the system program begin started is at $280, and my code
does not consult that. :(

Congrats! You've reported the first bug.

I've uploaded a fix to asimov named 'cwolf-v1.1.po'. I only tried it
out from basic.system and from the IIgs finder (in the KeGS emulator).
It sets the prefix to the directory-name part of the path stored at $280
now, which I think is the right thing to do.

Please give it a whirl when get the chance.

--
Jerry awanderin at gmail dot com
Todd Holcomb
2018-01-26 19:48:24 UTC
Permalink
Post by awanderin
I suspect that the prefix is being set differently by ProSEL than by
other launchers. Looking at page 86 of the ProDOS 8 Tech Ref, it says
the pathname of the system program begin started is at $280, and my code
does not consult that. :(
Congrats! You've reported the first bug.
I've uploaded a fix to asimov named 'cwolf-v1.1.po'. I only tried it
out from basic.system and from the IIgs finder (in the KeGS emulator).
It sets the prefix to the directory-name part of the path stored at $280
now, which I think is the right thing to do.
Please give it a whirl when get the chance.
--
Jerry awanderin at gmail dot com
Glad I could help! ;) I will give it a try. In the meantime, a workaround is to drop basic.system in the game folder and use BASIC.SYSTEM for the pathname and CWOLF.SYSTEM for the startup file. It works fine that way...
Todd Holcomb
2018-01-27 06:49:06 UTC
Permalink
Post by awanderin
I've uploaded a fix to asimov named 'cwolf-v1.1.po'.
I'm not seeing this file anywhere on Asimov...

Todd
awanderin
2018-01-27 19:36:55 UTC
Permalink
Post by Todd Holcomb
Post by awanderin
I've uploaded a fix to asimov named 'cwolf-v1.1.po'.
I'm not seeing this file anywhere on Asimov...
Download the site-files.txt file and look for the path in there...

It's in pub/apple_II/images/gs/cwolf-v1.1.po.

When I uploaded it, I didn't upload a description file, so the
maintainer had to make an assumption about where it ought to go.
--
--
Jerry awanderin at gmail dot com
Todd Holcomb
2018-01-28 05:36:18 UTC
Permalink
Post by awanderin
Download the site-files.txt file and look for the path in there...
It's in pub/apple_II/images/gs/cwolf-v1.1.po.
When I uploaded it, I didn't upload a description file, so the
maintainer had to make an assumption about where it ought to go.
I didn't think to check the GS folder.

Your new version boots up from ProSel now - thank you! Now, I need to learn the 80 keys to play this game...

Todd

Loading...