Re: 6545 40/80 col register values

From: Steve Gray <sjgray_at_rogers.com>
Date: Tue, 24 Apr 2012 18:18:13 -0700 (PDT)
Message-ID: <1335316693.21769.YahooMailNeo@web88612.mail.bf1.yahoo.com>
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 02:00:14

Archive generated by hypermail 2.2.0.