aboutsummaryrefslogtreecommitdiff
path: root/setmem.info
blob: 4e9edfe0751f9655257524bef91222c21ecae351 (plain)
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
global {
	outputname "setmem.da65.s";
	inputname "setmem.xex";
	startaddr $3000;
	pagelength 0;
	comments 4;
   inputoffs 6;
   inputsize 865;
};

label { name "CONSOL"; addr $d01f; };
label { name "NMIEN"; addr $d40e; };

range { start $3000; end $30c4; type code; };
range { start $30d3; end $3360; type texttable; };

label { name "entrypoint"; addr $3000; };

label { name "ICBLL"; addr $0348; };
label { name "ICBLH"; addr $0349; };
label { name "ICCOM"; addr $0342; };
label { name "ICBAL"; addr $0344; };
label { name "ICBAH"; addr $0345; };
label { name "CIOV"; addr $E456; };

label { name "msgptr"; addr $cc; size 2; };

label { name "call_cio"; addr $30C2; };
label { name "print_msg"; addr $3096; comment "print null-terinated ATASCII message pointed to by (msgptr)"; };
label { name "nextchar"; addr $30AF; };
label { name "zptr_hi_ok"; addr $30B8; };
label { name "next_choice"; addr $300b; };
label { name "magic_bits"; addr $30c6; comment "currently chosen option (default 1, range 0 to 2):"; };
label { name "start_pressed"; addr $306b; comment "apply the current choice to the hardware"; };
label { name "option_pressed"; addr $305b; comment "lda #<no_change_msg"; };
label { name "_op"; addr $305f; comment "lda #>no_change_msg"; };
label { name "select_pressed"; addr $3050; };
label { name "read_consol"; addr $303f; };
label { name "print_and_exit"; addr $3063; };
label { name "choice_ok"; addr $301a; comment "lda #<startmsg"; };
label { name "_ok"; addr $301e; comment "lda #>startmsg"; };
label { name "wait_consol_release"; addr $307c; };
label { name "magic_register"; addr $d3f3; };
label { name "msg0_text"; addr $32bc; };
label { name "msg1_text"; addr $32db; };
label { name "msg2_text"; addr $32f9; };
label { name "no_change_msg"; addr $3336; };
label { name "mode_set_msg"; addr $330f; };
label { name "_msmlo"; addr $308b; comment "lda #<mode_set_msg"; };
label { name "_msmhi"; addr $308f; comment "lda #>mode_set_msg"; };

range { name "choice"; start $30c5; end $30c6; type bytetable; comment "bits 0 and 1 will get ORed into magic_register:"; };
label { name "startmsg"; addr $30d3; };
range { name "msg0"; start $30c7; end $30c8; type addrtable; };
range { name "magicbits_0"; start $30c9; end $30c9; type bytetable; };
range { name "filler_0"; start $30ca; end $30ca; type bytetable; };
range { name "msg1"; start $30cb; end $30cc; type addrtable; };
range { name "magicbits_1"; start $30cd; end $30cd; type bytetable; };
range { name "filler_1"; start $30ce; end $30ce; type bytetable; };
range { name "msg1"; start $30cf; end $30d0; type addrtable; };
range { name "magicbits_2"; start $30d1; end $30d1; type bytetable; };
range { name "filler_2"; start $30d2; end $30d2; type bytetable; };