-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcrtc-reg-soft40.asm
98 lines (75 loc) · 3.21 KB
/
crtc-reg-soft40.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
; PET/CBM EDIT ROM - CRTC Register Tables
; ================
; For "Soft40" configurations. Only for 80-column machines.
; Sets the CRTC Table depending on options:
; COLUMNS ---- 40 or 80 column hardware (with special cases 90 and 32)
;
;======================================
; NORMAL 4000/8000/8296/SuperPET MODELS
;======================================
; Common settings for "normal" machines (4000,8000,8296,SuperPET) with 12" monitor
;---------------------- Soft 40x25, 50 Hz, 20 kHz for 12" Internal Monitor (inverted video)
!IF REFRESH=0 {
CRT_CONFIG_TEXT: !byte $31,$14,$1F,$0F,$31,$00,$19,$25,$00,$09,$00,$00,$10,$00,$00,$00,$00,$00
CRT_CONFIG_GRAPHICS: !byte $31,$14,$1F,$0F,$31,$00,$19,$25,$00,$07,$00,$00,$10,$00,$00,$00,$00,$00
}
;---------------------- Soft 40x25, 60 Hz, 20 kHz for 12" Internal Monitor (inverted video)
!IF REFRESH=1 {
CRT_CONFIG_TEXT: !byte $31,$14,$1f,$0f,$28,$05,$19,$21,$00,$09,$00,$00,$10,$00,$00,$00,$00,$00
CRT_CONFIG_GRAPHICS: !byte $31,$14,$1f,$0f,$28,$05,$19,$21,$00,$07,$00,$00,$10,$00,$00,$00,$00,$00
}
;---------------------- Soft 40x25, 50 Hz, 15.625 kHz (PAL) for External Monitor (inverted video)
!IF REFRESH=2 {
CRT_CONFIG_TEXT: !byte $3f,$14,$28,$14,$24,$7b,$19,$20,$00,$09,$00,$00,$10,$00,$00,$00,$00,$00
CRT_CONFIG_GRAPHICS: !byte $3f,$14,$28,$14,$24,$7b,$19,$20,$00,$07,$00,$00,$10,$00,$00,$00,$00,$00
}
;---------------------- Soft 40x25, 60 Hz, 15.748 kHz (NTSC) for External Monitor (inverted video)
!IF REFRESH=3 {
CRT_CONFIG_TEXT: !byte $31,$14,$1f,$0f,$28,$05,$19,$21,$00,$09,$00,$00,$10,$00,$00,$00,$00,$00
CRT_CONFIG_GRAPHICS: !byte $31,$14,$1f,$0f,$28,$05,$19,$21,$00,$07,$00,$00,$10,$00,$00,$00,$00,$00
}
;---------------------- Soft 40x25, 50 Hz, 15 kHz for 9" Internal Monitor (non-inverted video)
; **** NEEDS FIXED ****
!IF REFRESH=4 {
}
;---------------------- Soft 40x25, 60 Hz, 15 kHz for 9" Internal Monitor (non-inverted video)
; **** NEEDS FIXED ****
!IF REFRESH=5 {
}
;===============
; 8296D MACHINES
;===============
; The 8296D has a different monitor than standard machines and requires slightly modified timing
;---------------------- 40/80x25, 50 Hz, 16.949 kHz for 12" Internal 8296D Monitor (V1)
!IF REFRESH=82 {
; **** NEEDS FIXED ****
}
;---------------------- 40/80x25, 50 Hz, 16.949 kHz for 12" Internal 8296D Monitor (V2)
!IF REFRESH=83 {
; **** NEEDS FIXED ****
}
;======================
; Extended/Experimental
;======================
; NOTE: Screens larger than 25 lines are for 8296 ONLY!!! The 8296 has additional screen RAM.
; These settings push the monitor to it's maximum possible resolution. Because of this you loose
; the ability to expand the line height in 'text' mode.
;---------------------- 40/80x32, 60 Hz, ?? kHz for 12" Internal Monitor (8296 ONLY!!!!)
; **** NEEDS FIXED ****
!IF REFRESH=90 {
}
;---------------------- 40/80x35, 60 Hz, ?? kHz for 12" Internal Monitor (8296 ONLY!!!!)
; **** NEEDS FIXED ****
!IF REFRESH=91 {
}
;---------------------- 45/90x35, 60 Hz, ?? kHz for 12" Internal Monitor (8296 ONLY!!!!)
; **** NEEDS FIXED ****
!IF REFRESH=92 {
}
;=======================
; CUSTOM - You Define It
;=======================
;---------------------- CUSTOM - Your parameters here!
; **** NEEDS FIXED ****
!IF REFRESH=99 {
}