This is because not properly patched turbo.com. If you just select VT-100 from the configuration
menu you'll get such behaviour. Instead of that one needs to go though the manual patching
procedure for unknow terminals, and set up everything self.
You can find a properly patched Turbo Pascal 3.01A disk image in the z80pack repository.
Thanks Udo. If I understand correctly, manual patching for unknown terminals requires entering all
the escape sequences for ANSI or VT-100, right? So why did Turbo Pascal provide a preconfigured
ANSI entry that doesn't work?
Okay then, I'll reconfigure the terminal.
As a starting point I checked the default settings of Turbo Pascal's current ANSI terminal definition, but I can't find anything wrong with it. Here's a screenshot of all the escape codes TINST lets me change on CP/M-86: https://imgur.com/a/vVhss4o
Okay then, I'll reconfigure the terminal.
As a starting point I checked the default settings of Turbo Pascal's current ANSI terminal definition,
but I can't find anything wrong with it. Here's a screenshot of all the escape codes TINST lets me
change on CP/M-86: https://imgur.com/a/vVhss4o
On Sunday, October 16, 2022 at 2:12:24 PM UTC-4, paolo....@gmail.com wrote:FYI call 5, ret is the slower longer way of saying jump 5.
Okay then, I'll reconfigure the terminal.
As a starting point I checked the default settings of Turbo Pascal's current ANSI terminal definition, but I can't find anything wrong with it. Here's a screenshot of all the escape codes TINST lets me change on CP/M-86: https://imgur.com/a/vVhss4oYes, the default TINST.COM from Borland leaves the terminal in hi-light (bold).
I use a little utility I named CLS.COM
0100: 0E 09 11 09 01 CD 05 00 C9
0109: 1B 03 1B 3C 1B 5B 3F 33 6C 1B 5B 48 1B 5B 32 4A 1B 5B 30 6D 24
From 100..108 is a little program:
MVI C,09
LXI D,0109
CALL 0005
RET
And 109..11D is data (a string terminated by '$').
This just displays one string to the console, and exits. The string does the following:
Switch to VT100 (if in TEK), Go to VT100 mode (if in VT52) , Go to 80 column mode,
Home cursor, Clear screen, Normal attributes.
You can enter this with DDT (S100, enter bytes. "." at end), ^C to get to prompt, then
"SAVE 1 CLS.COM"
Fred Weigel
Okay then, I'll reconfigure the terminal.
As a starting point I checked the default settings of Turbo Pascal's current ANSI terminal definition, but I can't find anything wrong with it. Here's a screenshot of all the escape codes TINST lets me change on CP/M-86: https://imgur.com/a/vVhss4o
Send a reset string to the terminal is set to N. Set to Y and escape sequence use what switches all attributes off.
ESC c ESC [ 2 J
On Tuesday, October 18, 2022 at 7:43:09 PM UTC+2, Paolo Amoroso wrote:
ESC c ESC [ 2 J
In case you're wondering ESC c is not enough as the terminal is only reset but not cleared.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 491 |
Nodes: | 16 (2 / 14) |
Uptime: | 84:20:52 |
Calls: | 9,679 |
Files: | 13,722 |
Messages: | 6,173,493 |