General Category > Programming

Screen behaviour under CP/M2

(1/1)

FloppySoftware:
Hi all!

Some time ago (2015!) I tried to port my TE text editor to the CPC under CP/M 2.

But due to a weird screen behaviour I left it in a dark box waiting for better times.  :-[

I thought the better times were now but I am facing the same behaviour.  :'(

The issue is that when printing characters on screen, sometimes the cursor goes some lines down, write the character there and returns to the next right position some lines up.  :o

Also note that the text "Help" in the menu is not centered I don't know why. :-\

The sequence is:

* wait for character input
* write the character if printable (>= 32)
* so onTE does input / output using CP/M BIOS calls but I have tried with BDOS functions and the behaviour is the same.

I tried the ROM for the CPC6128 v3 Basic 1.1 with WinAPE, Caprice32 and other emulators with the same result.

Any hints please?


angelcaio:
One difference I remember is that the CP / M 2.2 of the CPCs did not emulate the Zenith H19 console as in CP / M Plus, but used the same control codes for the screen as in Basic.
 I don't know if it will help you.

FloppySoftware:

--- Quote from: angelcaio on 19:15, 09 July 21 ---One difference I remember is that the CP / M 2.2 of the CPCs did not emulate the Zenith H19 console as in CP / M Plus, but used the same control codes for the screen as in Basic.
 I don't know if it will help you.

--- End quote ---


I know that, thanks.

IFAIK I'm using the right screen scape sequences.


And the issue occurs just printing regular characters... sometimes.  :'(

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Media Embedder
Powered by SMFPacks Alerts Pro Mod
Powered by SMFPacks Mentions Pro Mod