File tree Expand file tree Collapse file tree 1 file changed +0
-59
lines changed
Expand file tree Collapse file tree 1 file changed +0
-59
lines changed Original file line number Diff line number Diff line change 1- SOPHIA $D01E (R)
2- Bit - 7 - - 6 - - 5 - - 4 - - 3 - - 2 - - 1 - - 0
3- SOPHIA7 SOPHIA6 SOPHIA5 SOPHIA4 SOPHIA3 SOPHIA2 SOPHIA1 SOPHIA0
4- Initial 0 1 0 1 0 0 1 1
5- Ten rejestr służy do wykrycia obecności SOPHII w systemie. Zawiera stałą wartość 53 hex (“S”).
6-
7-
8-
9-
10-
11-
12- org $c000
13-
14- dta $9B
15- tNameQMEG dta c "QMEG-OS?RC01"
16- dta $9B
17-
18-
19- org $C000
20- ;
21- dta $9B
22- dta c "QMEG-OS 4.04"
23- dta $9B
24-
25-
26-
27- ale test stereo to masz przegięcie na maksa, przecież drugi pokey to nie tylko dźwięk :D
28-
29- minimum
30-
31- ldx #'s'
32- lda KBCODE ; AD 09 D2
33- cmp $D219 ; CD 19 D2
34- bne TstStereo
35- ldx #"m"
36- TstStereo
37-
38-
39- albo
40-
41-
42- ; c=1 -> stereo present
43- sys.checkStereo equ *
44- lda $d209
45- beq sys.checkStereo_1
46- lda $d219
47- beq sys.checkStereo_OK
48- sys.checkStereo_BAD equ *
49- clc
50- rts
51- sys.checkStereo_1 equ *
52- ldy #$07
53- lda $d210,y
54- bne sys.checkStereo_BAD
55- dey
56- bpl *-6
57- sys.checkStereo_OK equ *
58- sec
59- rts
601
You can’t perform that action at this time.
0 commit comments