english greek

The Newbrain Forum

Anything about the Newbrain Home Computer

You are not logged in.

  • Index
  •  » Software
  •  » CP/M - TurboPascal Tinst setup on the Emulator/NewBrain

Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Folkd Add to: Yigg Add to: Linkarena Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information

#1 14-04-2013 14:05:56

Saphir17
Moderator

(Hover for details)
Location:  : Aarhus, Denmark
Registered: 13-03-2009
Posts: 55
Reputation :   

CP/M - TurboPascal Tinst setup on the Emulator/NewBrain

Hi All...

I'm starting a more specific TurboPascal setup topic.

Have any of you guys found a reasonable terminal/keyboard setup for TurboPascal on the NewBrain?

Chickenman's suggestion (ADM3a terminal) is no good either...

I have tried all of the listed Tinst setup and none of them gets it right.

So I started to make my own, that is even more difficult due to Tinst's user interface...

What I aiming at is a setup with a editor control with at least cursor-keys and backspace scrolling all over editor including page scroll/shift... you know, like the DOS version.


Aarhus, Denmark
NewBrain's: Model A & AD, ExpansionBox, DiskController + Drives, ROM-Box
 

#2 16-04-2013 13:07:08

ChickenMan
New member

(Hover for details)
Registered: 22-09-2012
Posts: 8
Reputation :   

Re: CP/M - TurboPascal Tinst setup on the Emulator/NewBrain

I dont understand, the version I uploaded is setup for ADM3a and works fine here under the emulator.  Screen layout is the same as on my Microbee except no Inverse characters. Attached a pic of opening screen and one of it after compiling the PAS file on the disk.

error: image http://www.newbrain.info/components/com_agora/img/members/83/tp3-opening.png cannot be loaded.

error: image http://www.newbrain.info/components/com_agora/img/members/83/tp3-running.png cannot be loaded.

Last edited by ChickenMan (16-04-2013 13:16:24)

 

#3 18-04-2013 20:37:34

Saphir17
Moderator

(Hover for details)
Location:  : Aarhus, Denmark
Registered: 13-03-2009
Posts: 55
Reputation :   

Re: CP/M - TurboPascal Tinst setup on the Emulator/NewBrain

Hi..

Yes selecting ADM A3 surely makes TurboPascal 3.01 start up with no corrupt characters and you can load a pas-file and compile it, but have you tried to enter the editor and write some code... hopeless.

As you type on, every seams to work, but as soon you hit enter for a newline, it "scans" the hole page ...slowly.
If you try to cursor up it a issues a ctrl-k code, right- and down-cursor do not work, backspace reacts but in a not functional way.
The only cursor-key that do as expected is the left key.

The "Soroc new models" works in a similar way. A little bit better than ADM A3, but still impossible to use.

I have tried to enter new values for all keys in Tinst (selecting "C" instead of "S") but no luck in finding a better setup.
Also if you make a error in entering new key-setup, you have abort and to start over...annoying

I also use TurboPascal 3.01 on a Comodore 128D running CP/M. Her a Microbee setup works like a charm...


Aarhus, Denmark
NewBrain's: Model A & AD, ExpansionBox, DiskController + Drives, ROM-Box
 

#4 21-04-2013 11:20:01

ChickenMan
New member

(Hover for details)
Registered: 22-09-2012
Posts: 8
Reputation :   

Re: CP/M - TurboPascal Tinst setup on the Emulator/NewBrain

In EDIT, just use the standard Wordstar keys - ^E - Up, ^X - down, ^S - left, ^D - right, ^R page up, ^C page down & ^A&^F tab left & right. ^V Insert/Overwrite mode.  ^G seams to be Backspace but not quite.

To be honest, I cant understand why any Microbee (ADM3a) codes should work with the Emulator, like Clear the Screen, Microbee - 1Ah, NB - 1Fh  Absolute Screen Addressing - Microbee 1B 3D 32+ 32+ with ROW before Column while the NB uses just 16h 0+ 0+ and Column before Row.  The game Ladder also works with ADM3a setup, it shouldnt under the emulator if the emulator is set to those Screen Control codes I found in one of the manuals.

4) SCREEN CODES
------------
The screen used by CP/M is similar to the normal screen editor except it is much simpler. It operates on a 25 by 80 screen using the normal character set. Characters whose top bit are set will display according to the current TV mode. When the last column has been typed to the cursor stays on the last character but changes from a line to a block to indicate that the next character typed will appear on the next line. Those control codes not listed below will perform no action at the moment, but they may be made to do something at a later time and should be avoided.

00H - Null. No action.
01H - Insert Line. The lines below the current line (if any) are scrolled down. The current line is cleared and the cursor is moved to the left hand side.
02H - Delete Line.The current line is deleted and the lines below (if any) are scrolled up. A blank line is inserted at the bottom of the screen.
03H - Delete To The End Of Line. The character at the cursor and all characters to the right of it (if any) are converted to spaces.
05H - Cursor Off. The cursor will cease to flash.
06H - Cursor On. The cursor will start to flash.
08H - Backspace. The cursor is moved one space to the left, or if it was on the left hand side to the right hand side but one of the above line (the 80th character). If the cursor was at the top-left corner, it is moved to the top-right corner.
09H - Tab. Spaces are printed until the column number is a multiple of 8. A NEWLINE is taken if necessary.
0AH - Cursor Down.The cursor is moved one space down, and if the cursor was at the bottom of the screen, the screen is scrolled up and a blank line inserted at the bottom.
0BH - Cursor Up. The cursor is moved up one line, unless it was already at the top line.
0CH - Cursor Home. The cursor is moved to the top left corner.
0DH - Carriage Return. The cursor is moved to the left of the current line.
11H - Insert Mode. Further non-control characters are inserted at the cursor position, with the character previously at the cursor position and characters to the right of it moved to the right. Characters overflowing the right hand side of the screen are lost. This mode is cancelled when another control character is sent.
16H - Set Cursor Position. Following this control code the next two characters sent are interpreted as the column and row number to which the cursor should be set. The column number should be sent first. The top row is row 1 and the left most column is column 1.
17H - Set TV Mode. Following this control code the next character sent will set the TV control register whenever that screen is being displayed. Only bits 0 and 1 are interpreted. Bit 0 determines the background colour (0 means background dark, 1 background bright). Bit 1 determines how characters with bit 7 set are interpreted (0 gives reverse characters, 1 allows 256 character set).
18H - Delete Left. The character to the left of the cursor is deleted and subsequent characters are moved one position to the left. The cursor is moved one position leftwards. If the cursor was in the leftmost column, no action is taken.
19H - Delete. The character at the cursor is deleted and subsequent characters are moved one position to the left.
1AH - Cursor Right. The cursor is moved one position to the right, or if it was beyond the rightmost column (with block cursor) it is moved to the second column on the next line.
1BH - Escape. The following character is not interpreted as a control code, except for 0, which is always ignored.
1CH - Cursor Home Left. As carriage return.
1DH - Cursor Home Right. The cursor is moved to the right most column in the line (with block cursor).
1EH - Clear Line.The current line is written with spaces and the cursor moved to the left hand side.
1FH - Clear Screen.The screen is cleared and the cursor is moved to the top left corner.

Cheers

 

#5 22-04-2013 19:53:17

Saphir17
Moderator

(Hover for details)
Location:  : Aarhus, Denmark
Registered: 13-03-2009
Posts: 55
Reputation :   

Re: CP/M - TurboPascal Tinst setup on the Emulator/NewBrain

Yes well, the aim was to reconfigure TP with Tinst so I didn't have to use the control-commands... as much.

I can accept control-commands for block-movement and so but for basic editor navigation... not!

best regards
Michael


Aarhus, Denmark
NewBrain's: Model A & AD, ExpansionBox, DiskController + Drives, ROM-Box
 
  • Index
  •  » Software
  •  » CP/M - TurboPascal Tinst setup on the Emulator/NewBrain


Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Folkd Add to: Yigg Add to: Linkarena Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information

Forum Tools

Board information

Board statistics
Total number of registered users: 181
Total number of topics: 127
Total number of polls: 0
Total number of posts: 437
Total number of posts this week: 1
User information
Newest registered user: KATSAROS
Registered users online: 6
Guests online: 3113

Powered by Agora 1.0.4 Acropolis

© Copyright 2007 - 2008 Joomla Me!. All rights reserved.

[ Generated in 0.029 seconds, 27 queries executed ]

Powered by Elxis - Open Source CMS.
Copyright (C) 2006-2023 Elxis.org. All rights reserved.