Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > The quirks of the petscci screen
2013-06-25 20:23
Sasq

Registered: Apr 2004
Posts: 156
The quirks of the petscci screen

I am writing a telnet server for petscii terminals and need to work around the petscii quirks, and just want to make sure I know about them.

* Entering a char at column 39 (wrapping) ties those two lines together, so that Shift-enter on the first line will actually go down 2 lines
* Entering a double quote captures all special keys until a closing quote

...meaning that I have to use INSERT and push chars into the last column instead of going there, and always print 2 double quotes after each other and delete the last to keep a synchronized state between the server and the c64 remote screen...

(cgterm on PC does not have these quirks of course, but all term progs I've tried on the C64 uses the ROM-routines to output text so they inherit them).
2013-06-25 21:47
doynax
Account closed

Registered: Oct 2004
Posts: 212
A quick web search didn't turn anything up but I would have thought that someone would at least have tried to create a termcap/info definition for it at some point, which you might base your work on.

Or is PETSCII just too far gone from ASCII for that sort of thing to even be contemplated?
2013-06-26 06:24
Bitbreaker

Registered: Oct 2002
Posts: 508
Why not just implementing your own output methods onto the screen as quite some petscii-editors do as well?
2013-06-26 07:05
Sasq

Registered: Apr 2004
Posts: 156
I am not going to write my own terminal program, I want it to work with existing ones like guruterm and the Turbo Action cart.
2013-06-26 12:42
chatGPZ

Registered: Dec 2001
Posts: 11386
someone created proper termcap/info, comes with kipperterm if i recall correctly... or caterm? or whatever it was called :=)

one other "quirk" - the duplicated petscii codes (your input routines must be able to handle both sets, just like the kernal does.)
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
MWR/Visdom
Alakran_64
Guests online: 107
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.045 sec.