Author Topic: Screen behaviour under CP/M2  (Read 268 times)

0 Members and 1 Guest are viewing this topic.

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 253
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
  • Liked: 262
  • Likes Given: 184
Screen behaviour under CP/M2
« on: 18:45, 09 July 21 »
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?


« Last Edit: 18:48, 09 July 21 by FloppySoftware »
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Offline angelcaio

  • CPC664
  • ***
  • Posts: 140
  • Country: es
  • AMSTRAD CPC-464
  • Liked: 54
  • Likes Given: 55
Re: Screen behaviour under CP/M2
« Reply #1 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.
« Last Edit: 19:17, 09 July 21 by angelcaio »

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 253
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
  • Liked: 262
  • Likes Given: 184
Re: Screen behaviour under CP/M2
« Reply #2 on: 22:18, 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