sblendorio / petscii-bbs

A Java framework for building highly customizable PETSCII-enabled BBS, accessible from Commodore 64/128
Mozilla Public License 2.0
119 stars 16 forks source link

80 column petscii bbs #39

Closed jalbarracinv closed 4 years ago

jalbarracinv commented 4 years ago

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?

sblendorio commented 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:

Are you creating a BBS for Commander X16?

jalbarracinv commented 4 years ago

Yes for the Commander X16!! --> Do you know another projects about CX16?

sblendorio commented 4 years ago

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 .

jalbarracinv commented 4 years ago

Via RS232 but right now no terminals available. Some day :)