intfiction.org

The Interactive Fiction Community Forum
It is currently Wed Jun 19, 2013 7:46 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Aug 05, 2012 1:19 pm 
Offline

Joined: Mon Dec 07, 2009 5:14 am
Posts: 909
Has anyone tried out "Inform School"? Rethorical question, really, lots of people must have. Well, I just wanted to know how seriously to take its introductory warning:

Quote:
Warning!

This game will crash the Z-Machine and may lock up your computer. Save incessantly. Have nothing important running at the same time unless you are protected by a very secure operating system.


Crashing the Z-Machine? No problem, I can just kill the process. Lock up my computer? No-siree.

Ok, have there been ANY reports of this game actually locking up a computer? And anyway, how can it even do that from within a Z-Machine?


Top
 Profile Send private message  
 
PostPosted: Sun Aug 05, 2012 1:24 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 2127
It's an old game... 1999? That was before most home computers had a real OS with real memory protection. "Very secure operating system" meant Unix or Linux, you know, those crazy nerd systems where a buggy interpreter *couldn't* take down other processes.


Top
 Profile Send private message  
 
PostPosted: Sun Aug 05, 2012 1:33 pm 
Offline

Joined: Mon Dec 07, 2009 5:14 am
Posts: 909
Amazing to think that we talk about 1999 as though it were last century (which it is!), it still feels like only last week.

So in a modern computer there's no danger of locking up the entire OS, right? Gotcha. I'll add a note to that effect in IFDB.

Wonder what'd happen in a mobile environment, though (if it could even run it)...


Top
 Profile Send private message  
 
PostPosted: Sun Aug 05, 2012 1:48 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 2127
I believe the specific issue is if the game tries to write to a memory address outside the Z-machine's allocated range. (Most Inform games manage to avoid this, but Inform School allows the player to set up some crazy code constructions. This is what the author is warning you about.)

A good interpreter will check all game memory accesses, and throw a fatal error if anything is out of bounds. Early interpreters didn't always do this, because of the CPU cost of these constant checks. At this point all interpreters should do it. Even on mobile devices, which are (at this point) as powerful as 1999-era desktop machines, anyhow.

(I just looked at Glulxe, and realized that while I coded memory-access checking, it's turned off by default. That's embarrassing. Hopefully the binary distributions have been modifying the config... I'll change that next release.)


Top
 Profile Send private message  
 
PostPosted: Sun Aug 05, 2012 8:02 pm 
Offline
User avatar

Joined: Wed Sep 01, 2010 1:50 am
Posts: 799
Location: Sydney, Australia
More people would have played it if it had a cooler name, like 'Inform School: OS Takedown'.

- Wade


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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