News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_FloppySoftware

Screen behaviour under CP/M2

Started by FloppySoftware, 16:45, 09 July 21

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

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 on
TE 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?


floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

angelcaio

#1
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 17: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.


I know that, thanks.

IFAIK I'm using the right screen scape sequences.


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

floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Powered by SMFPacks Menu Editor Mod