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: 157
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: 510
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: 157
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: 11523
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
Digger/Elysium
Mason/Unicess
mutetus/Ald ^ Ons
megasoftargentina
MP Software/Hokuto F..
Barfly/Extend
Pac
CA$H/TRiAD
Guests online: 312
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Acidchild  (9.7)
4 Cash  (9.6)
5 Violator  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.038 sec.