[Coco] NitrOS9 L2 CoCo 3 question: Display settings/modifications

Stephen H. Fischer SFischer1 at Mindspring.com
Tue Jun 14 09:23:29 EDT 2016


I compiled a NitrOS-9 survival disk including the following two scripts.

I run w.s as soon as VCC comes up, it could be put into startup.

====================================
* w.s  12/04/29 Start two new readable windows
*
*
*
windows.s var.0=12
windows.s var.0=12

* convert current window color
*
*
windows.s var.0=2
====================================
*windows.s
if %0=
t
* *** window.s ***   89/12/06
*
* Pick one of the following:
*
*  Convert current window.
*  1 - text      40x24  (16 colors)
*  2 - text      80x24  (16 colors)
*  5 - graphics 640x192 ( 2 colors)
*  6 - graphics 320x192 ( 4 colors)
*  7 - graphics 640x192 ( 4 colors)
*  8 - graphics 320x192 (16 colors)
*
*  Start new window.
* 11 - text      40x24  (16 colors)
* 12 - text      80x24  (16 colors)
* 15 - graphics 640x192 ( 2 colors)
* 16 - graphics 320x192 ( 4 colors)
* 17 - graphics 640x192 ( 4 colors)
* 18 - graphics 320x192 (16 colors)
-t
ECHO   Selection:\c
var.0
endif
inc.0
dec.0
if +%0<19
goto %0
endif
*-------------------------------*
*00000
echo invalid selection
var.0=
goto windows.s
*-------------------------------*
*00008
display 1b 24 1b 20 8 0 0 28 18 0 6 1
merge /dd/sys/stdfonts
merge /dd/sys/stdptrs
merge /dd/sys/stdpats_16
display 1b 3a c8 01 1b 21
goto +end.w
*-------------------------------*
*00007
display 1b 24 1b 20 7 0 0 50 18 2 3 6
merge /dd/sys/stdfonts
merge /dd/sys/stdptrs
merge /dd/sys/stdpats_4
display 1b 3a c8 01 1b 21
goto +end.w
*-------------------------------*
*00006
display 1b 24 1b 20 6 0 0 28 18 3 1 2
merge /dd/sys/stdfonts
merge /dd/sys/stdptrs
merge /dd/sys/stdpats_4
display 1b 3a c8 01 1b 21
goto +end.w
*-------------------------------*
*00005
display 1b 24 1b 20 5 0 0 50 18 1 0 4
merge /dd/sys/stdfonts
merge /dd/sys/stdptrs
merge /dd/sys/stdpats_2
display 1b 3a c8 01 1b 21
goto +end.w
*-------------------------------*
*00002
display 1b 24 1b 20 2 0 0 50 18 0 1 6  1b 21
goto +end.w
*-------------------------------*
*00001
display 1b 24 1b 20 1 0 0 28 18 0 2 7  1b 21
goto +end.w
*-------------------------------*
*00018
(display 1b 20 8 0 0 28 18 0 6 1 ; merge /dd/sys/stdfonts /dd/sys/stdptrs /dd/sys/stdpats_16 ; display 1b 3a c8 01 1b 21 ; shell i=/1 & ) >/w  & ex
*-------------------------------*
*00017
(display 1b 20 7 0 0 50 18 0 6 5 ; merge /dd/sys/stdfonts /dd/sys/stdptrs /dd/sys/stdpats_4 ; display 1b 3a c8 01 1b 21 ; shell i=/1 & ) >/w & ex
*-------------------------------*
*00016
(display 1b 20 6 0 0 28 18 0 2 3 ; merge /dd/sys/stdfonts /dd/sys/stdptrs /dd/sys/stdpats_4 ; display 1b 3a c8 01 1b 21 ; shell i=/1 & ) >/w & ex
*-------------------------------*
*00015
(display 1b 20 5 0 0 50 18 0 1 3 ; merge /dd/sys/stdfonts /dd/sys/stdptrs /dd/sys/stdpats_2 ; display 1b 3a c8 01 1b 21 ; shell i=/1 & ) >/w & ex
*-------------------------------*
*00012
(display 1b 20 2 0 0 50 18 0 1 3 ; shell i=/1 & ) >/w & ex
*-------------------------------*
*00011
(display 1b 20 1 0 0 28 18 0 2 7 ; shell i=/1 & ) >/w & ex
*-------------------------------*
*end.w
====================================

These files and the other programs that I install and use on VCC are on my SHF888.dsk (Zip)

It is on my webpage: http://home.mindspring.com/~sfischer1/ 

The long term plan which may never be done is to install my Windows that allow up to four (4) windows on the same OS-9 Screen.

Tandy provided examples of this but they were not useful. I created asm code to build the descriptors. NitrOS-9 could with a lot of work be converted and IMHO must. I am not able to do any programming any more.

SHF


----- Original Message ----- 
From: "Rogelio Perea" <os9dude at gmail.com>
To: <coco at maltedmedia.com>
Sent: Tuesday, June 14, 2016 5:38 AM
Subject: [Coco] NitrOS9 L2 CoCo 3 question: Display settings/modifications


> On my Tandy stock OS9 L2 I patched the TERM to allow the CoCo 3 boot into
> 80 columns white text on black background.
> 
> As much as I love the nuclear green on the computer I would like to set
> NitrOS9 the same way: boot into a white text on black background (and
> border) 80x24 screen... I know the display settings can be modified after
> the boot process is done, leaving that as a last resort.
> 
> I have the patch file for my stock setup in a disk at home... got some
> downtime at work with VCC on my laptop. Even if I had the patches with me I
> doubt they would work on NitrOS9 with all the changes compared to the stock
> Tandy release of OS9.
> 
> Any hints greatly appreciated.
> 
> 
> -- RP
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list