Closed jalbarracinv closed 4 years ago
So you're speaking about Zork Engine.
BBS code for Zork Engine is in the package org.zmpp.textui.bbs
, not in org.zmpp.textui.cli
.
So the code to be changed to support 80 columns BBS is:
in class BBSScreenModel, method wordWrap, change:
.maxWidth(39)
into:
.maxWidth(79)
supposing 50 rows, in class BBSScreenModel, method checkForScreenPaging, change:
if (nlines >= 24) {
into:
if (nlines >= 49) {
Are you creating a BBS for Commander X16?
Yes for the Commander X16!! --> Do you know another projects about CX16?
Can Commander X16 connect to BBS?
Il ven 5 giu 2020, 15:57 jalbarracinv notifications@github.com ha scritto:
Yes for the Commander X16!! --> Do you know another projects about CX16?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sblendorio/petscii-bbs/issues/39#issuecomment-639497811, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQFJHL37HJ567WHF7ZSGXLRVD2T7ANCNFSM4NTBGLWQ .
Via RS232 but right now no terminals available. Some day :)
Thank you for creating this code!
I want to build a bbs with 80 columns petscii chars.
I believe I have to edit CLIScreenModel.java and modify the numbers: static int BUFFER_LENGTH = 880; // = 40 columns x 22 rows (+1 for title + 2 for input)
for example for the screen size 80 columns x 50 rows, I have to edit to: static int BUFFER_LENGTH = 3760; // = 80 columns x 47 rows (+1 for title + 2 for input)
and also this lines (changing 40 to 80): int rowCount = row.length() / 40; newContent = row.substring(maxRows * 40) + "\n" + newContent; int spaces = 40 - adventureName.length() - 1 - rightStatus.length();
and it should work?