intfiction.org

The Interactive Fiction Community Forum
It is currently Sun Nov 18, 2018 2:32 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 44 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
PostPosted: Sun Feb 04, 2018 8:54 am 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 557
Location: Washington
auraes wrote:
Hi,
I tryed to compile Frotz with Turbo C++ 3.00 under Dosbox and I couldn't.
It works if I comment lines with errors.
Quote:
Error src\common\frotz.h 12: Unable to open include file 'defines.h'
Error src\common\frotz.h 13: Unable to open include file 'git_hash.h'
Error src\dos\bcinit.c 370: Undefined symbol 'VERSION' in function os_process_arguments

Error src\common\fastmem.c 881: Undefined symbol 'pc' in function restore_undo
Error src\common\fastmem.c 881: Undefined symbol 'pc' in function restore_undo


I'm aware of the problem. See https://github.com/DavidGriffith/frotz/issues/41

_________________
David Griffith


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Feb 05, 2018 1:42 am 
Offline

Joined: Mon Dec 30, 2013 4:55 am
Posts: 109
I know this is a detail, but is it possible to propose in the command line options a translation of the sentence: [Hit any key to exit.] (for other languages.)
Code:
# Exit_sentence "Hit any key to exit."
Exit_sentence "Appuyez sur une touche pour quitter."


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Feb 05, 2018 3:46 am 
Offline

Joined: Mon Dec 30, 2013 4:55 am
Posts: 109
Frotz under Dosbox: (Lubuntu 16.04.3 LTS)
With some games, i can't quit the game without kill dosbox !

https://ifarchive.org/if-archive/games/zcode/Advent.z5
Code:
frotz ADVENT.Z5
>quit
Are you sure you want to quit?
>y
(I can't, I must kill Dosbox!)
I recompiled the source code game Advent.inf with the latest version of the compiler and libraries and now it works.

https://ifarchive.org/if-archive/games/zcode/LostPig.z8
Code:
frotz LOSTPIG.Z8
>quit
Really all done with story?
>y
(I can't, I must kill Dosbox!)
I don't have the source code of the game so I can't try to recompile it.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Feb 05, 2018 9:37 pm 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 557
Location: Washington
auraes wrote:
Frotz under Dosbox: (Lubuntu 16.04.3 LTS)
With some games, i can't quit the game without kill dosbox !

https://ifarchive.org/if-archive/games/zcode/Advent.z5
Code:
frotz ADVENT.Z5
>quit
Are you sure you want to quit?
>y
(I can't, I must kill Dosbox!)
I recompiled the source code game Advent.inf with the latest version of the compiler and libraries and now it works.

https://ifarchive.org/if-archive/games/zcode/LostPig.z8
Code:
frotz LOSTPIG.Z8
>quit
Really all done with story?
>y
(I can't, I must kill Dosbox!)
I don't have the source code of the game so I can't try to recompile it.


I filed a new bug report for this. See https://github.com/DavidGriffith/frotz/issues/58.

_________________
David Griffith


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Feb 06, 2018 4:03 am 
Offline

Joined: Mon Dec 30, 2013 4:55 am
Posts: 109
I don't know if it can help you but with 8086tiny and Lostpig.z8, I get:
Code:
>quit
Really all done with story? y
dos mem corrupt, first_mcb=027c
prev 2375:0000|4d 76 23 c0 64 00 00 00 46 52 4f 54 5a 00 00 00 Mv#�d...FROTZ...
notMZ8836:0000|00 1a 51 4e bc 47 00 00 43 8f da 42 00 05 81 84 ..QN�G..CB..��

PANIC: before 4a: MCB chain corrupted
System halted

Is Frotz (Dos) compiled with only the 8086 instruction set or more? (To use it with 8086tiny.)


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Feb 07, 2018 2:07 pm 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 557
Location: Washington
auraes wrote:
I don't know if it can help you but with 8086tiny and Lostpig.z8, I get:
Code:
>quit
Really all done with story? y
dos mem corrupt, first_mcb=027c
prev 2375:0000|4d 76 23 c0 64 00 00 00 46 52 4f 54 5a 00 00 00 Mv#�d...FROTZ...
notMZ8836:0000|00 1a 51 4e bc 47 00 00 43 8f da 42 00 05 81 84 ..QN�G..CB..��

PANIC: before 4a: MCB chain corrupted
System halted

Is Frotz (Dos) compiled with only the 8086 instruction set or more? (To use it with 8086tiny.)


This is another ongoing problem. I'm pretty sure I have my Turbo C setup configured this way. Frotz version 2.40 seems to not have this problem.

_________________
David Griffith


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Feb 11, 2018 9:43 pm 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 557
Location: Washington
auraes wrote:
I know this is a detail, but is it possible to propose in the command line options a translation of the sentence: [Hit any key to exit.] (for other languages.)
Code:
# Exit_sentence "Hit any key to exit."
Exit_sentence "Appuyez sur une touche pour quitter."


This shouldn't be too hard. I've added this as an enhancement issue at https://github.com/DavidGriffith/frotz/issues/59

_________________
David Griffith


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri Mar 02, 2018 1:46 am 
Offline

Joined: Mon Dec 30, 2013 4:55 am
Posts: 109
Take a look at this: viewtopic.php?f=38&t=25878
When I save data in file from Inform 6, If prompt is set to true, Frotz don't ask me for comfirmation of the provided file name.
http://inform-fiction.org/zmachine/standards/z1point1/sect15.html#save
Quote:
***[1.1] As of Standard 1.1 an additional optional parameter, prompt, is allowed on Version 5 extended save/restore. This allows a game author to tell the interpreter whether it should ask for confirmation of the provided file name (prompt is 1), or just silently save/restore using the provided filename (prompt is 0). If the parameter is not provided, whether to prompt or not is a matter for the interpreter - this might be globally user-configurable. Infocom's interpreters do prompt for filenames, many modern ones do not.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Mar 04, 2018 11:18 pm 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 557
Location: Washington
auraes wrote:
Take a look at this: viewtopic.php?f=38&t=25878
When I save data in file from Inform 6, If prompt is set to true, Frotz don't ask me for comfirmation of the provided file name.
http://inform-fiction.org/zmachine/standards/z1point1/sect15.html#save
Quote:
***[1.1] As of Standard 1.1 an additional optional parameter, prompt, is allowed on Version 5 extended save/restore. This allows a game author to tell the interpreter whether it should ask for confirmation of the provided file name (prompt is 1), or just silently save/restore using the provided filename (prompt is 0). If the parameter is not provided, whether to prompt or not is a matter for the interpreter - this might be globally user-configurable. Infocom's interpreters do prompt for filenames, many modern ones do not.


I have an Issue on that one: https://github.com/DavidGriffith/frotz/issues/47

_________________
David Griffith


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Mar 25, 2018 6:50 am 
Offline
User avatar

Joined: Mon Dec 12, 2011 7:03 pm
Posts: 557
Location: Washington
Would someone with Mac OS 10.12.6 please try to build Dumb Frotz? I received the following report:

Code:
$ make dfrotz
Generating src/common/defines.h
ar rc src/frotz_common.a src/common/git_hash.h src/common/defines.h
src/common/buffer.o src/common/err.o src/common/fastmem.o src/common/files.o
src/common/hotkey.o src/common/input.o src/common/main.o src/common/math.o
src/common/object.o src/common/process.o src/common/quetzal.o
src/common/random.o src/common/redirect.o src/common/screen.o
src/common/sound.o src/common/stream.o src/common/table.o src/common/text.o
src/common/variable.o
/usr/bin/ranlib src/frotz_common.a
cc  -Wall -std=c99  -D_POSIX_C_SOURCE=200809L -g -I/usr/local/include
-pthread src/frotz_common.a src/frotz_dumb.a src/blorblib.a -o dfrotz
clang: warning: argument unused during compilation: '-pthread'
[-Wunused-command-line-argument]
ld: warning: ignoring file src/frotz_common.a, file was built for archive
which is not the architecture being linked (x86_64): src/frotz_common.a
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [dfrotz] Error 1

_________________
David Griffith


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 44 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group