There is enough free sectors on tracks 17 and 16 for the interpreter, so you don't need to swap disks except when saving and restoring. Beta versions use separate prg for interpreter and D64 for data because only the first changes.orion70 wrote:How exactly will the whole thing work? Will the Z machine be loaded before the story, then the disk will be swapped, and the story loaded in chunks of information from a "story disk"?TNT wrote:It's time to write the script which converts raw story files into D64 files
Text adventures
Moderator: Moderators
Moving the interpreter into BLK5 was surprisingly easy. Now virtual memory uses $1300 - $7fff and $0400 - $0dff. You may remember that cursor trashes a byte at $1300... well, that doesn't matter as it only trashes the high bit and clears the it on exit, and the first byte of story file is version number which never has bit 7 setTNT wrote:I just found the reason - dictionary starts at $72xx in memory and spans over $80xx. Dictionary scan should skip $8000-$9fff and continue at $a000 and then wrap back to $0400, but it doesn't.TNT wrote:Small setback. I tried Seastalker yesterday and couldn't get past "Is this correct" after entering my name as it wouldn't accept neither "y", "yes", "n" nor "no" as valid answer.
With minor changes (getting rid of self-modifying code) it would be possible to possible to make cartridge ROM version, but I see no real advantages in that as the interpreter would still require 24+3K memory expansion.
edit: Seastalker still needs some fixing, sonar doesn't like narrow screen. This one might be easier to fix with story file patch.
TNT wrote:edit: Seastalker still needs some fixing, sonar doesn't like narrow screen. This one might be easier to fix with story file patch.
The sonar status (sonar & depth warnings below the real status line) need to be patched too, it assumes at least 32 chars wide screen. I can easily shorten the normal status but how the heck am I going to fit "@@=SEACAT Oooo=MONSTER #=DANGER" into 22 chars?
Thanks for the suggestions. One thing that occured to me that I could use the monster's name at that point, saving two bytes without having to shorten it. Likewise, I could use another name for SeaCat. And no, it's not possible to put in linefeed without patching yet another location.
Seastalker is the only V3 game using split screen, so getting it to work correctly means I can debug that part of code before V4/V5 commands. I've found one bug already, bottom window is one row too tall so it overwrites the last line of sonar in Seastalker.
PS: I sent 24 D64 images to beta testers yesterday, so that's the reason if some members disappear from Denial for a while
Seastalker is the only V3 game using split screen, so getting it to work correctly means I can debug that part of code before V4/V5 commands. I've found one bug already, bottom window is one row too tall so it overwrites the last line of sonar in Seastalker.
PS: I sent 24 D64 images to beta testers yesterday, so that's the reason if some members disappear from Denial for a while
- Pedro Lambrini
- Vic 20 Scientist
- Posts: 1132
- Joined: Mon Dec 01, 2008 11:36 am
I'm in the middle of PC upgrade, struggling to find time for setting the new one the way I like (damn manufacturers don't provide device drivers if you downgrade from Vista ) and trying to paint the house between rainy days. The good thing is that I moved the Z-machine stuff over to the new PC today, so it's theoretically possible to continue work if time permits.
- Pedro Lambrini
- Vic 20 Scientist
- Posts: 1132
- Joined: Mon Dec 01, 2008 11:36 am
- orion70
- VICtalian
- Posts: 4342
- Joined: Thu Feb 02, 2006 4:45 am
- Location: Piacenza, Italy
- Occupation: Biologist
Thank you very much TNT - as you read here, there's a bunch of us waiting for news from our (unofficial) Infocom guru...
Some links to keep focused on this wonderful world of text adventures:
http://en.wikipedia.org/wiki/Infocom
http://mit.edu/6.933/www/Fall2000/infocom/
http://infodoc.plover.net/
http://infocom.elsewhere.org/gallery/
Some links to keep focused on this wonderful world of text adventures:
http://en.wikipedia.org/wiki/Infocom
http://mit.edu/6.933/www/Fall2000/infocom/
http://infodoc.plover.net/
http://infocom.elsewhere.org/gallery/