Jump to content
IGNORED

PLATOTerm for Atari - Working out tgi and ser issues.


Recommended Posts

@funkheld - I'm sorry? I don't understand what you're trying to ask?

 

PLATOTerm is a terminal program for accessing PLATO hosts. At the moment, there are two on the Internet:

 

* IRATA.ONLINE - http://www.irata.online/

* CYBER1.ORG - http:/www.cyber1.org/

 

IRATA.ONLINE is a project to try and use PLATO technology to build a large place where _all_ retro computing users can connect and do things together, because you can't put a Commodore 64 onto Instagram, nor an Atari 8-bit onto Facebook... :)

 

-Thom

Link to comment
Share on other sites

might be possible for plato server to take a web page and push a plato-ized version to the retro computer though... ;)

Plato-Gram instagram dooway etc....

Plitter...

Placebook....

 

I really should stop while I'm ahead

Edited by _The Doctor__
Link to comment
Share on other sites

I realized, that I posted to the wrong thread.

 

@__The Doctor__

 

I have added the ability to change xon and xoff thresholds, to this build:

 

plato-180916-xonoff-settings.atr

 

I'd love to be able to squeeze all this onto a cartridge, but right now, it's just too damned big, needs too many C functions...

 

maybe someday,

but now, I just want it to work.

 

-Thom

  • Like 2
Link to comment
Share on other sites

remember we can use a number of larger cartridge formats on the 800 on up. It doesn't have to be a tiny cartridge... :)

another possibility is it can be compressed on cart also and decompressed on the computer.... etc

Edited by _The Doctor__
  • Like 1
Link to comment
Share on other sites

okay, I set the buffer to 0 and 128, removed the mio, hooked up the 850 interface.... lantronix set to software flow w/ pass through...

 

connected to irata...

 

zipped along just fine at 2400, played some checkers, looks like it always does, then tried battleship and it looked better than when using the MIO earlier.... boat clearing off the screen was perfect...

 

settings by option does not act like it should.... so I make settings changes... and save ... then reboot...

 

what is the buffer size on the version you posted for me....

 

I was very happy to see it work at 2400 with 0,128 right out of the gate with the 850..

 

Is there a limit to how often in IP can connect or call back etc? After I connect a number of time like tonight and it's going for 2:00 o'clock... I can't connect anymore for some hours...

 

joystick touch emu worked also - maybe I should shoot for 4800 next?

Edited by _The Doctor__
Link to comment
Share on other sites

I did see PNI fail with an error at 01:14:22, but other than that, connection seems fine.

 

No, there is no extrinsic limit on # of connections, so it must be the PNI bug biting you. Sorry. (PNI is the process on the cyber that connects PLATO to the underlying OS and to the outside world)

 

Are you messing with 'diag' at all? It's a good little stress test.. 'g'o and type diag when it asks for a lesson name.

 

The default buffer size is what you specified at some point earlier, 46 XON, 127 XOFF.

 

I'll see what's happening with saving, I did write all of that code in one burst.

 

-Thom

Link to comment
Share on other sites

i though we did 384 at some point,

the buffer size does affect speed and accuracy. at 512 or so it seemed sluggish but that could have been you making videos or uploading stuff etc. I don't want to discount what happens during maintenance or other possible reasons

 

I was thinking about the performance hit of extra cycle at every 256 that you mentioned, so I thought 255, 511, 768, 1023. keeping things a byte short to save those extra cycles.

 

how long does it take for Plato Network Interface to realize it's down and reset itself. or I it doesn't, perhaps a watchdog process on the server... if it detects PNI down, it restarts it.

 

being able to adjust x on x off points has been very helpful, how involved is it to change the total buffer size as well. I am looking to find the balance between speed and data reserves

 

next stop diags...

Edited by _The Doctor__
Link to comment
Share on other sites

ok, tested, getting close.

 

What I need to get online are these 4 command:

AT+CIPMODE=1 transparent mode or everything get ipd prefix
AT+CIPMUX=0 no multiplexing
AT+CIPSTART="TCP","vintagebbsing.com",2325 this is one example
AT+CIPSEND to start sending your stuff to the server

3 issues:

 

1/ after every AT command, I get OK, then ERROR.

as if something else is send after the original AT command.

But the original AT command is accepted by the ESP.

 

 

2/ after AT+CIPSTART=....... I still need to do AT+CIPSEND

After AT+CIPSTART, I get a busy p.... , then I am logged onto the server.

 

That's it, I see data coming in (I have SERIN stored into COLBK), but nothing happens.

So I still have to issue AT+CIPSEND I assume.

 

 

3/ graphics and text.

Somehow I prefer the early build, see picture.
Top is old, bottom is new.


Later,

Sijmen.

post-6668-0-41737800-1537173441_thumb.png

Link to comment
Share on other sites

The old build uses a more precise method to handle the screen while the new build uses a screen accelerator with slightly warped result..

 

@ Cherry The "garbage screens" folks refer to is not garbage at all, It is bold mode text, and it is being printed in half steps over itself instead of double steps as in the plato convention

 

the terminals need to implement connection drop of DTR at full sign out completion and back on before sign on, AND/OR give a 'hang up' provision to send out whatever string a user sets up to tell their device to disconnect and or hang up. The network interface will appreciate that. This may prevent hung tunnels also.

 

Also remember that the Plato host probes to see if software flow control exits, it sends an echo code asking if you support flow control, the client responds with the appropriate code and swaps out mappings or if the answer is no just returns echo code back to Plato. Can we double check terminal to make sure this is implemented correctly in terminal?

I ask because of how many have had issues. As you saw early on I recognized such an issue and set my device up to handle software flow as if it were hardware flow.. and might answer why I could always do 2400 etc and other couldn't...

 

I was able to confirm buffer lengths should fall as 0-255 0-511 etc. and yes 0 counts as a slot. Having nothing to do with number convention or putting that aside....I know keeping us 1 short avoids a cycle as you said I wanted to see what 511 would look like. That should allow two complete char font sets to download or 1 double set. If I think on this Plato allowed 6? with two fixed modes for a total of 8 unless that changed. I only ever saw 4 sets in operation on any terminal in any event.

Edited by _The Doctor__
Link to comment
Share on other sites

Yeah, basically, the discrepancy is the result of replacing the scaling tables, which transform a 512x512 pixel location to a 320x192 pixel location with a routine that does a fractional multiply using shifts and adds, which was contributed by @sanny. It was done, because it saves 2K of RAM. (and in fact, if I can get rid of the touch scaling tables, that will gain an additional .5K of ram.).

 

And yeah, the garbage screens are literally the result of something that should never happen in practice: a change to bold mode, followed by a shift out of PLATO mode into TTY mode.

 

I'll add a select-H to hang up, as I don't have the requisite knowledge yet to modify PNI to drop a connection (it's written in CDC assembler, aka COMPASS).

 

-Thom

Link to comment
Share on other sites

Okay whatever has changed in the adjustable version... I sure can lock myself out of plato server (look for another PNI error) who knows when I can test again...

 

any way... we did it again, The very first diag I should go for when allowed back in is network diag I guess...

 

not sure if this is how you are doing this at home...

In order for you to test your work at home, rather than connecting to local or internal IP addresses, make sure to loop out to your isp and back by using your WAN side IP and port (96.226.245.179/8005). This adds a hop or two and some latency to your connecting and gives a more real world experience

Edited by _The Doctor__
Link to comment
Share on other sites

@flashjazzcat decided to try his hand at a pair of replacement routines for mul0625 (for X) and mul0375 (for Y), which do the coordinate transformations to and from PLATO space, and it looks better! :)

 

Thanks, Jon!

 

So I've attached a build here:

 

plato-180917-new-scale-routines.atr

 

-Thom

Wow... That was quick! Glad it works.

  • Like 1
Link to comment
Share on other sites

I know I had to help someone out with their gaming server at their home once their router had internal and external attack protection... it triggered when he had a couple people join his server and shut everybody out... he never even had an idea a home router could do such a thing... I had to change the sampling time and number of packets to trigger the protection. That was accomplished by shortening the sample period and increasing allowed number of packets... all was well after that. You never know where the problem will be, but you know if it can exist, it will manifest itself in new and mysterious ways..

Link to comment
Share on other sites

Looks much better!

 

I had to adjust control to 48 and 128 (which works at bauds up to 2400

 

with this combination of buffer and Jon/T's recent changes I played my first glitch free checkers game...

 

this is a preliminary result but I looks good!

 

the Atari symbol and other issues are gone. wow what a difference.

 

Now to abuse it further with tougher games...

  • Like 1
Link to comment
Share on other sites

battleship not one glitch at 2400 baud using 48 and 128 with the newly folded in fix.

 

well no glitch till the very last printing that overprints when leaving it :) not a big deal and might be normal

 

next I'll play Gammon...

Edited by _The Doctor__
  • Like 1
Link to comment
Share on other sites

had to try again... gammon was close but not right, going to try again at 32 and 128

the buffer shouldn't be affection things in this way, unless it's being directly parsed based on idleness?

off

so checkers looks great at 32 and 128

next will be battleship again fail

 

interestingly I must start over...

while you can change the buffer on the fly... it seems you must quit and re log in for things to align for some reason, darn odd...

 

all results have been much better in this last build though.

 

will try again, 0 and 192 at 2400

 

and checkers is best yet

Edited by _The Doctor__
  • Like 1
Link to comment
Share on other sites

Can't make this up... 5 or 6 and 192 at 2400

each game played nearly pefectly... provided I started from a fresh sign on..

if there was and issue, leaving to the sign on and coming back in, corrected it.

 

6 and 192 at 2400 baud

I stopped at that point because, while Gammon was nearly perfect using this method, I did need to perform a redraw, I was able to use joystick to touch emu.... yes I finally was playing the game.

Edited by _The Doctor__
  • Like 2
Link to comment
Share on other sites

Meanwhile, I'm preparing more ports, I just did a successful bring-up of the Spectravideo SVI-318, which can be considered the father of a WHOLE BUNCH of machines, some more similar than others, including MSX, Coleco ADAM, Memotech MTX-512, and Sega SC-3000, all it needs are serial I/O routines for each sub-machine.

 

(click to view)

 

post-9462-0-91531400-1537242979_thumb.gif

 

I really did mean it when I said I was porting this sucker everywhere. :)

 

-Thom

Edited by tschak909
  • Like 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...