Re: 6545 40/80 col register values

From: A.Fachat <afachat_at_gmx.de>
Date: Wed, 25 Apr 2012 07:43:24 +0200
Message-ID: <c720ea71-d15e-4b8a-96d1-14613c028384@email.android.com>
That shows register 2 as giving the visible number of chars.

That's 40 for both 40 and 80 cols is done in hardware due to bandwith issues. Double video memory bus width on std 8032, faster RAM on the 8296.

Look up crtc operation on the petindex pages

André
-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.



Steve Gray <sjgray@rogers.com> schrieb:

I disassembed some editor roms and here's what I found...

 

These are for BASIC4 machines.

 

40 col, normal, 60Hz:

Table 1>   31 28 29 0F 20 03 19 1D 00 09 00 00 10 00 00 00 00 00   > Table at $E7B1,  JSR $E606

Table 2>   31 28 29 0F 28 05 19 21 00 07 00 00 10 00 00 00 00 00   > Table at $E7C3

 

80 col, normal, 60Hz:

Table 1>    31 28 29 0F 20 03 19 1D 00 09 00 00 10 00 00 00 00 00  > Table at $E72A,  JSR $E07A

Table 2>    31 28 29 0F 28 05 19 21 00 07 00 00 10 00 00 00 00 00  > Table at $E73C

 

40 col, normal, 50Hz:

Table 1>    31 28 29 0F 27 00 19 20 00 09 00 00 10 00 00 00 00 00 > Table at $E7B1,  JSR $E60F

Table 2>    31 28 29 0F 31 00 19 25 00 07 00 00 10 00 00 00 00 00 > Table at $E7C3

 

80 col, business, 50Hz:

Table 1>     32 28 28 08 26 02 19 20 00 09 00 00 10 00 00 00 00 00 > Table at $E72A, JSR $E07A

Table 2>     32 28 28 08 30 00 19 25 00 07 00 00 10 00 00 00 00 00 > Table at $E73C

 

*Table 1/2 are Text/Graphics modes.

*The 40 and 80 column machines use the same values

*The 50 and 60 Hz models are slightly different.

*Most registers are the same except:

  00-Total Characters per line (usually 31hex. why 32 for 80-b-50?)

  04-Number of Display lines

  05-Vertical Position

  07-Height from bottom of screen

  09-Number of scanlines per row (graphics/text mode)

* Tables and code are at different addresses

 

Steve


 

From: MikeS <dm561@torfree.net>
To: cbm-hackers@musoftware.de 
Sent: Tuesday, April 24, 2012 3:10:13 PM
Subject: 6545 40/80 col register values


By any chance does any one have handy the values to load into the PET's 6545
registers to initialize it, both for 40 and also 80 columns?

TIA,

mike


      Message was sent through the cbm-hackers mailing list





       Message was sent through the cbm-hackers mailing list
Received on 2012-04-25 06:00:39

Archive generated by hypermail 2.2.0.