Re: [cc65] 80 column support on the C128

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-12-20 00:25:30


hi!

On Thu, Dec 19, 2002 at 11:28:11PM +0100, MagerValp wrote:
> UvB> * The CBM-II series also has a RVS flag which can be used.
>
> Where the heck is it? :)

It is at $397 for the CBM 6x0/7x0 series and at $383 for the P500.

> I tried disassembling the cbm-ii kernal, but
> I couldn't get the vice monitor to work in bank 15.

You could have looked into my kernal disassembly for the CBM 610:-) I'm
also preparing a kernal disassembly for the P500, but I haven't worked on it
for a long time now.

> UvB> * The lower case mode is stored in the CHARCOLOR variable
[...]
>
> Ohhh. Where is this stored exactly? Is this in the kernal or the cc65
> code?

The kernal variable at $F1 contains the attributes in the high nibble. Just
setting it to the color will clear all attributes including the second charset
bit.

> UvB> * The "disable scroll" flag must be set, otherwise the screen
> UvB> scrolls when writing to the character in the lower right corner.
>
> K. You added this to initconio or crt0.s?

Neither. I have removed initconio completely and used module constructors
instead, so the scroll flag is now set in the initialization code if the cputc
module is linked into an application.

> Right, but escape codes usually does something, I don't think anyone
> will be surprised :)

I'm not sure if this is really harmless, for example the quote flag is also
set, if a quote character is output. But we'll see once 80 column mode is more
in use. I have adjusted the nachtm sample to use screensize() as a first step.

> Well, they do change the VIC colours, but that's probably not what you
> want... Try this:

Done, thanks!

> Great, I'll base any further work on your snapshot.
>
> Is there any way of submitting patches over CVS instead, or is there
> no approve/disapprove funcion in CVS?

I don't know that approve/disapprove should do. CVS access is possible, but
since CVS is not really secure, and I had problems adding both, read only and
read/write mode, all I can grant is write mode, and for security reasons, I
will allow that only from known IP addresses. If you have a static IP, CVS
access is no problem. 

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-20 00:25:34 CET