Harry Potter Posted January 1 Share Posted January 1 Hi! I have a text adventure called Smir 3, 1. It is a Sci-Fi/Fantasy text adventure for the C64 where you must free your friend Talnon and other prisoners from a person from another dimension who wants the secret to fusion. Currently, its two main problems are that it has a few typos and is nowhere near completion--only the first chapter is written. If I finish it, I plan to port it to other platforms, including the Plus4, C128, Apple3enh and 8-bit Ataris. Should I upload it as is? Or should I wait? Quote Link to comment Share on other sites More sharing options...
carlsson Posted January 1 Share Posted January 1 Make it playable, iron out bugs and typos and then perhaps release the first part. See if you get any attention, and then decide what to do with the rest. To me, C64/128 is just about the same computer except the C128 has more memory. I don't know how big the Plus/4 scene is, in particular for text adventures. 1 Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted January 1 Author Share Posted January 1 Thank you. So far, it appears that there are some typos. They occurred because I manually compressed the text using tokenization, and occasionally I used the wrong token. I currently see no other bugs in the code, but I only tested it quickly. Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted January 1 Author Share Posted January 1 The typos were worse than I thought. I need to fix them before publishing the program.. 1 Quote Link to comment Share on other sites More sharing options...
carlsson Posted January 1 Share Posted January 1 Sorry for the laughing reaction, but going from "ready to publish" to "oops, multiple typos and only tested briefly" in the matter of 15 minutes made me click on that one. 1 Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted January 16 Author Share Posted January 16 I just fixed the typos in the first two rooms. Quote Link to comment Share on other sites More sharing options...
Virtualsky Posted January 16 Share Posted January 16 On 1/1/2023 at 4:42 PM, carlsson said: Make it playable, iron out bugs and typos and then perhaps release the first part. See if you get any attention, and then decide what to do with the rest. To me, C64/128 is just about the same computer except the C128 has more memory. I don't know how big the Plus/4 scene is, in particular for text adventures. I find that the C128's 80 column screen is much more accommodating to text adventure games. Much more comfortable to read that way. Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted January 24 Author Share Posted January 24 Today, I fixed some more typos, but, when I type "get map," I get garbage, and the command doesn't work. The garbage is in the form of actual text in the code but the wrong text. I think the routine that prints messages is getting the wrong address. Should I post the code that might be responsible for the printing? Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted February 16 Author Share Posted February 16 I fixed a lot of typos today, but I forgot about the "get map" issue. Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted March 3 Author Share Posted March 3 I updated one of my text adventure codes today. I have mainly some bug fixes and a text compression technique. The option to disable string compression is currently not working properly. PET support was improved: the character set is now changed properly. You can find it at c65 additions - Manage /game at SourceForge.net. The file is called AdvSkelVic65-011.zip. The hi-end version online is currently not working properly. I got most configurations to work but am getting the monitor on the 128k Plus4 version when I enter "get key." Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted March 3 Author Share Posted March 3 I just emailed the program to zimmers.net. Let's see if he'll upload it. Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted March 4 Author Share Posted March 4 Good news: I just optimized it by converting the code that returns whether there is a match between a noun given and the nouns in the database to assembler and gained .04k optimality. Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted March 7 Author Share Posted March 7 Smr 3, 1 is doing better: I've been fixing the typos, but now, I am having a problem: the code that displays a standard message is giving garbage. It is currently in assembler, but the C version works properly. Also, the code is being put in zeropage, and when I move it to the default code segment, it gives me a blue screen with no text. Following are the C version of the function: ------------------------ static void __fastcall__ printmsg(unsigned char m) {printtok ((void*)Message[m]); printcr();} --------------------- and the assembler version: ------------------------- .segment "ZP2CODE" _printmsg: asl tax lda _Message,x pha lda _Message+1,x tax pla jsr _printtok jmp _printcr Quote Link to comment Share on other sites More sharing options...
carlsson Posted March 7 Share Posted March 7 Why do you end up with code in the zero page to begin with? Is Message located higher in memory, so it renders a 16-bit address? I'm thinking if you end up with LDA $NN,X and X wraps around zero page. Quote Link to comment Share on other sites More sharing options...
Harry Potter Posted March 7 Author Share Posted March 7 Actually, because I put it there. It's part of my Cubbyhole optimization technique. The game uses some ZP for variables, and the unused section of ZP is used to store extra code such that it is not included in the main file. Message is an array of pointers to strings that's located in main memory. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.