source/page03/initial.asm
author brandonlw
Sat, 07 Jun 2014 22:27:04 -0400
changeset 46 09e7d89fba35
parent 43 486c42a314bc
permissions -rw-r--r--
Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't fixed. That should be resolved now.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
     1
Page03_3825:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
     2
		call	j_ClrLCD
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
     3
		b_call(_dispBootVer)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
     4
		ld		hl, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
     5
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
     6
		ld		hl, aBaseCode1_19
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
     7
		call	j_PutS
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
     8
		bit		localizeHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
     9
		jr		z, p03loc_401F
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
    10
		ld		a, 79h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
    11
		call	j_call_character_hook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    12
		jr		z, p03loc_4031
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    13
p03loc_401F:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
    14
		ld		hl, aEnterSelfTest
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    15
		call	p03sub_40E7
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
    16
		ld		hl, aThisWillClearAllMemory
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    17
		call	p03sub_40E7
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
    18
		ld		hl, aPressOnToCancel
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    19
		call	p03sub_40E7
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    20
p03loc_4031:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
    21
		call	j_RunIndicOff
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
    22
		call	j_getkey
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    23
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    24
		jp		nz, JForceCmdNoChar
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
    25
		call	j_ClrScrn
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    26
		ld		hl, 403h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    27
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    28
		ld		hl, aStart?
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
    29
		call	j_PutS
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
    30
		call	j_getkey
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    31
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    32
		jp		nz, JForceCmdNoChar
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
    33
		call	j_ClrScrn
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
    34
		res		bPLinkOn, (iy+hookflags1)
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
    35
		set		resetOnPowerOn, (iy+selfTestFlag)
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
    36
		res		apdAble, (iy+apdFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    37
		ld		hl, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    38
		ld		(curGStyle), hl
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
    39
		b_call(_getSerial)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    40
		ld		hl, aId
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    41
		jp		z, p03loc_4077
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    42
		call	p03sub_429B
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
    43
		call	j_ClrScrn
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    44
p03loc_4077:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    45
		call	p03sub_4146
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    46
		ld		sp, 8D4Fh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    47
p03loc_407D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    48
		ld		hl, 403h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    49
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    50
		ld		hl, (curGStyle)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    51
		push	hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
    52
		call	j_DispHL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    53
		ei
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    54
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    55
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    56
		ld		(curGStyle), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    57
		xor		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    58
		call	p03sub_409E
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    59
		ld		hl, aRom
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    60
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    61
		jp		nz, p03loc_4295
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    62
		jp		p03loc_4172
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    63
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    64
p03sub_409E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    65
		ld		b, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    66
		jr		p03loc_40AC
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    67
p03loc_40A2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    68
		ld		b, 18h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    69
		call	NZIf83Plus
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    70
		jr		nz, p03loc_40AB
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
    71
		ld		b, 78h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    72
p03loc_40AB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    73
		pop		af
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    74
p03loc_40AC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    75
		ld		hl, 4000h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    76
p03loc_40AF:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    77
		call	LoadCIndPaged
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    78
		add		a, c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    79
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    80
		bit		7, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    81
		jr		z, p03loc_40AF
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
    82
		call	IsOnInterruptSet
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    83
		jp		nz, p03loc_41AB
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    84
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    85
		inc		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    86
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    87
		cp		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    88
		jr		z, p03loc_40A2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
    89
		call	NZIf83Plus
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    90
		jr		nz, p03loc_40CE
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
    91
		cp		7Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    92
		jr		p03loc_40D0
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    93
p03loc_40CE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    94
		cp		1Ah
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
    95
p03loc_40D0:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    96
		jr		nz, p03loc_40D8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    97
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    98
		ld		hl, 4200h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
    99
		jr		p03loc_40AF
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   100
p03loc_40D8:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   101
		call	NZIf83Plus
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   102
		jr		nz, p03loc_40E1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   103
		cp		7Eh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   104
		jr		p03loc_40E3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   105
p03loc_40E1:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   106
		cp		1Eh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   107
p03loc_40E3:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   108
		jr		nz, p03loc_40AB
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   109
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   110
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   111
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   112
p03sub_40E7:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   113
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   114
		call	ldHLind
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   115
		ld		(penCol), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   116
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   117
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   118
		inc		hl
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   119
		ld		bc, 20h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   120
		ld		de, OP1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   121
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   122
		ldir
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   123
		pop		hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   124
		call	j_VPutS
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   125
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   126
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   127
aEnterSelfTest:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   128
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   129
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   130
		.asc 'Enter Self-Test?',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   131
aThisWillClearAllMemory:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   132
		.db		4
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   133
		.db		24h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   134
		.asc 'This will clear all memory',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   135
aPressOnToCancel:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   136
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   137
		.db		3Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   138
		.asc 'Press ',0C1h,'ON] to cancel',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   139
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   140
p03sub_4146:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   141
		call	NZIf83Plus
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   142
		ret		nz
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   143
		di
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   144
		ld		a, 45h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   145
		out		(36h), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   146
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   147
		out		(37h), a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   148
		ld		a, 80h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   149
		out		(38h), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   150
		ld		hl, 0
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   151
p03loc_4159:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   152
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   153
		in		a, (4)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   154
		bit		7, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   155
		jr		z, p03loc_4159
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   156
		ei
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   157
		ld		de, 503h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   158
		ld		(curRow), de
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   159
		call	j_DispHL
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   160
		call	j_getkey
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   161
		call	j_ClrLCD
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   162
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   163
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   164
p03loc_4172:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   165
		ld		de, 8D4Fh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   166
		call	p03sub_4368
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   167
		jr		nz, p03loc_41AB
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   168
		call	NZIf83Plus
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   169
		jr		nz, p03loc_4198
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   170
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   171
		out		(27h), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   172
		ld		a, 2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   173
p03loc_4184:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   174
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   175
		out		(5), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   176
		ld		de, 0C000h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   177
		call	p03sub_4368
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   178
		jr		nz, p03loc_419B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   179
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   180
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   181
		cp		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   182
		jr		c, p03loc_4184
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   183
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   184
		out		(5), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   185
p03loc_4198:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   186
		jp		p03loc_407D
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   187
p03loc_419B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   188
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   189
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   190
		out		(5), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   191
		jr		p03loc_41AB
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   192
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   193
p03sub_41A1:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   194
		add		a, 18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   195
		or		0C0h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   196
		di
42
adad2f097dcb Except for one nasty certificate-related page 0 call, system.asm should be fully
brandonlw
parents: 41
diff changeset
   197
		call	OutLCDCommand
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   198
		ei
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   199
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   200
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   201
p03loc_41AB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   202
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   203
		ld		(unk_9CAF), a
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   204
		res		onInterrupt, (iy+onFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   205
		ld		de, 8181h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   206
		call	p03sub_424B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   207
		ld		d, 0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   208
		ld		b, 80h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   209
		call	p03sub_427C
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   210
		ld		b, 0BFh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   211
		call	p03sub_427C
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   212
		call	p03sub_4274
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   213
		ld		a, 0FFh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   214
		call	p03sub_426F
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   215
		sub		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   216
		call	p03sub_426F
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   217
		ld		d, 55h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   218
		ld		e, 0AAh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   219
		call	p03sub_424B
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   220
		call	j_getkey
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   221
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   222
		jr		z, p03loc_41FE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   223
		ld		de, 0FFh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   224
		call	p03sub_424B
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   225
		call	j_getkey
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   226
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   227
		jr		z, p03loc_41FE
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   228
		ld		a, 0AAh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   229
		call	p03sub_426F
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   230
		ld		c, 27h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   231
p03loc_41F1:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   232
		ld		a, c
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   233
		call	p03sub_41A1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   234
		call	j_getkey
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   235
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   236
		jr		z, p03loc_41FE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   237
		dec		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   238
		jr		nz, p03loc_41F1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   239
p03loc_41FE:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   240
		res		onInterrupt, (iy+onFlags)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   241
		call	j_ClrScrn
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   242
		ld		a, (contrast)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   243
		call	p03sub_41A1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   244
		ld		ix, p03loc_42B3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   245
		ld		b, 31h
23
5252151efccf More cleanup
brandonlw
parents: 19
diff changeset
   246
		call	SetSlowSpeed
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   247
p03loc_4214:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   248
		ld		hl, 503h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   249
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   250
		ld		l, (ix+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   251
		ld		h, 0
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   252
		call	j_DispHL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   253
		ei
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   254
p03loc_4223:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   255
		call	GetCSC
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
   256
		call	IsOnInterruptSet
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   257
		jr		nz, p03loc_4248
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   258
		cp		(ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   259
		jr		nz, p03loc_4223
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   260
		inc		ix
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   261
		inc		ix
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   262
		djnz	p03loc_4214
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   263
		call	j_ClrScrn
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   264
		ld		hl, 703h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   265
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   266
		ld		hl, aOk
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   267
		call	j_PutS
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   268
		call	j_getkey
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   269
p03loc_4248:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   270
		jp		resetRam
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   271
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   272
p03sub_424B:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   273
		di
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   274
		ld		c, 20h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   275
p03loc_424E:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   276
		ld		a, 80h
42
adad2f097dcb Except for one nasty certificate-related page 0 call, system.asm should be fully
brandonlw
parents: 41
diff changeset
   277
		call	OutLCDCommand
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   278
		ld		a, c
42
adad2f097dcb Except for one nasty certificate-related page 0 call, system.asm should be fully
brandonlw
parents: 41
diff changeset
   279
		call	OutLCDCommand
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   280
		ld		b, 20h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   281
p03loc_4259:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   282
		ld		a, d
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   283
		call	lcd_busy
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   284
		out		(11h), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   285
		ld		a, e
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   286
		call	lcd_busy
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   287
		out		(11h), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   288
		djnz	p03loc_4259
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   289
		inc		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   290
		ld		a, c
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   291
		cp		2Ch
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   292
		jr		nz, p03loc_424E
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   293
		ei
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   294
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   295
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   296
p03sub_426F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   297
		ld		d, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   298
		ld		e, a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   299
		call	p03sub_424B
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   300
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   301
p03sub_4274:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   302
		call	j_getkey
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   303
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   304
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   305
		jr		z, p03loc_41FE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   306
		jp		(hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   307
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   308
p03sub_427C:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   309
		di
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   310
		ld		c, 20h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   311
p03loc_427F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   312
		ld		a, b
42
adad2f097dcb Except for one nasty certificate-related page 0 call, system.asm should be fully
brandonlw
parents: 41
diff changeset
   313
		call	OutLCDCommand
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   314
		ld		a, c
42
adad2f097dcb Except for one nasty certificate-related page 0 call, system.asm should be fully
brandonlw
parents: 41
diff changeset
   315
		call	OutLCDCommand
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   316
		ld		a, d
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   317
		call	lcd_busy
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   318
		out		(11h), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   319
		inc		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   320
		ld		a, c
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   321
		cp		2Ch
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   322
		jr		nz, p03loc_427F
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   323
		ei
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   324
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   325
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   326
p03loc_4295:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   327
		call	p03sub_429B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   328
		jp		resetRam
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   329
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   330
p03sub_429B:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   331
		push	hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   332
		call	j_ClrScrn
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   333
		ld		hl, 503h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   334
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   335
		pop		hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   336
		call	j_PutS
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   337
		ld		hl, aFail
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   338
		call	j_PutS
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   339
		call	j_getkey
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   340
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   341
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   342
p03loc_42B3:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   343
		.db		35h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   344
		.db		0Bh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   345
		.db		34h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   346
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   347
		.db		33h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   348
		.db		0Dh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   349
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   350
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   351
		.db		31h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   352
		.db		0Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   353
		.db		36h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   354
		.db		15h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   355
		.db		37h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   356
		.db		16h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   357
		.db		38h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   358
		.db		17h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   359
		.db		02h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   360
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   361
		.db		04h 
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   362
		.db		19h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   363
		.db		03h 
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   364
		.db		1Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   365
		.db		30h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   366
		.db		1Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   367
		.db		28h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   368
		.db		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   369
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   370
		.db		21h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   371
		.db		01h  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   372
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   373
		.db		2Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   374
		.db		29h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   375
		.db		27h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   376
		.db		2Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   377
		.db		1Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   378
		.db		2Bh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   379
		.db		17h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   380
		.db		2Ch
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   381
		.db		0Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   382
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   383
		.db		2Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   384
		.db		33h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   385
		.db		26h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   386
		.db		34h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   387
		.db		1Eh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   388
		.db		35h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   389
		.db		16h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   390
		.db		36h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   391
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   392
		.db		37h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   393
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   394
		.db		3Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   395
		.db		25h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   396
		.db		3Eh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   397
		.db		1Dh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   398
		.db		3Fh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   399
		.db		15h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   400
		.db		40h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   401
		.db		0Dh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   402
		.db		41h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   403
		.db		2Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   404
		.db		47h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   405
		.db		24h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   406
		.db		48h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   407
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   408
		.db		49h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   409
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   410
		.db		4Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   411
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   412
		.db		4Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   413
		.db		2Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   414
		.db		51h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   415
		.db		23h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   416
		.db		52h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   417
		.db		1Bh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   418
		.db		53h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   419
		.db		13h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   420
		.db		54h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   421
		.db		0Bh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   422
		.db		55h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   423
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   424
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   425
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   426
		.db		5Ch
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   427
		.db		1Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   428
		.db		5Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   429
		.db		12h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   430
		.db		5Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   431
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   432
		.db		5Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   433
		.db		21h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   434
		.db		66h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   435
		.db		19h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   436
		.db		67h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   437
		.db		11h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   438
		.db		68h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   439
		.db		09h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   440
		.db		69h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   441
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   442
EVALF3A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   443
		ld		hl, kbdGetKy
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   444
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   445
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   446
		jr		nz, p03loc_4320
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   447
		ld		h, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   448
		ld		l, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   449
		jr		p03loc_432A
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   450
p03loc_4320:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   451
		ld		e, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   452
		ld		d, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   453
		ld		(hl), d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   454
		ld		hl, p03loc_4330-1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   455
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   456
		ld		l, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   457
		ld		h, d
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   458
p03loc_432A:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   459
		call	SetXXXXOP2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   460
		jp		GetCSC
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   461
p03loc_4330:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   462
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   463
		.db		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   464
		.db		1Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   465
		.db		19h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   466
		.db		00h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   467
		.db		00h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   468
		.db		00h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   469
		.db		00h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   470
		.db		69h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   471
		.db		5Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   472
		.db		55h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   473
		.db		4Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   474
		.db		41h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   475
		.db		37h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   476
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   477
		.db		00h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   478
		.db		68h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   479
		.db		5Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   480
		.db		54h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   481
		.db		4Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   482
		.db		40h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   483
		.db		36h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   484
		.db		2Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   485
		.db		00h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   486
		.db		67h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   487
		.db		5Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   488
		.db		53h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   489
		.db		49h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   490
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   491
		.db		35h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   492
		.db		2Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   493
		.db		21h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   494
		.db		66h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   495
		.db		5Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   496
		.db		52h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   497
		.db		48h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   498
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   499
		.db		34h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   500
		.db		2Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   501
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   502
		.db		00h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   503
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   504
		.db		51h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   505
		.db		47h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   506
		.db		3Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   507
		.db		33h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   508
		.db		29h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   509
		.db		1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   510
		.db		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   511
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   512
		.db		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   513
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   514
		.db		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   515
		.db		15h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   516
		.db		16h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   517
		.db		17h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   518
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   519
p03sub_4368:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   520
		ld		hl, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   521
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   522
		sbc		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   523
		ex		de, hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   524
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   525
		push	hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   526
p03loc_4371:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   527
		ld		b, 0
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   528
p03loc_4373:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   529
		ld		(hl), b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   530
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   531
		dec		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   532
		ld		a, e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   533
		or		d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   534
		jr		z, p03loc_4382
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   535
		inc		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   536
		ld		a, b
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   537
		cp		0FBh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   538
		jr		c, p03loc_4373
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   539
		jr		p03loc_4371
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   540
p03loc_4382:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   541
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   542
		pop		de
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   543
p03loc_4384:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   544
		ld		b, 0
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   545
p03loc_4386:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   546
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   547
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   548
		ld		de, 9C86h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   549
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   550
		sbc		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   551
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   552
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   553
		jr		z, p03loc_4396
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   554
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   555
		cp		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   556
		jr		nz, p03loc_43A4
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   557
p03loc_4396:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   558
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   559
		dec		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   560
		ld		a, e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   561
		or		d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   562
		jr		z, p03loc_43B3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   563
		inc		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   564
		ld		a, b
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   565
		cp		0FBh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   566
		jr		c, p03loc_4386
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   567
		jr		p03loc_4384
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   568
p03loc_43A4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   569
		in		a, (2)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   570
		and		80h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   571
		jr		z, p03loc_43AD
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   572
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   573
		out		(5), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   574
p03loc_43AD:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   575
		ld		hl, aRam
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   576
		jp		p03loc_4295
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   577
p03loc_43B3:
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
   578
		call	IsOnInterruptSet
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   579
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   580
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   581
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   582
;Not referenced anywhere.
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   583
		ld		a, 2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   584
		ld		de, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   585
		jr		p03loc_43C6
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   586
#endif
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   587
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   588
Page03_3711:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   589
		ld		hl, OP3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   590
GetK:	ld		a, 1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   591
		ld		de, 0
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   592
p03loc_43C6:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   593
		call	CheckSplitFlag
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   594
		jr		z, p03loc_43CF
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   595
		add		a, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   596
		ld		e, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   597
		inc		a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   598
p03loc_43CF:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   599
		ld		(winTop), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   600
		ld		(curRow), de
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   601
		call	j_PutS
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   602
		call	j_EraseEOL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   603
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   604
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   605
p03sub_43DD:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   606
		push	ix
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   607
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   608
		ld		a, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   609
		call	CheckSplitFlag
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   610
		jr		z, p03loc_43EC
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   611
		ld		a, 5
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   612
p03loc_43EC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   613
		ld		(curRow), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   614
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   615
		cp		kSolveTVM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   616
		jr		nz, p03loc_43FA
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   617
		ld		hl, curRow
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   618
		dec		(hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   619
p03loc_43FA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   620
		sub		a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   621
		ld		(curCol), a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   622
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   623
		ld		hl, winBtm
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   624
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   625
		jr		nc, p03loc_441E
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   626
		call	p03sub_4E6C
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   627
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   628
		jr		z, p03loc_441B
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   629
		call	setTitle
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   630
		ld		de, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   631
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   632
		ld		hl, curRow
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   633
		inc		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   634
		jr		p03loc_43FA
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   635
p03loc_441B:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   636
		call	j_EraseEOW2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   637
p03loc_441E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   638
		pop		ix
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   639
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   640
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   641
Page03_371D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   642
		sub		a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   643
		ld		(curCol), a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   644
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   645
		ld		hl, winBtm
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   646
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   647
		jr		nc, p03loc_445C
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   648
		ld		a, ' '
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   649
		call	j_PutC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   650
		ld		a, (unk_9813)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   651
		ld		e, a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   652
		ld		d, 5Eh
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   653
		call	j_GETTOKSTRING
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   654
		call	j_PutPS
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   655
		ld		a, '('
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   656
		call	j_PutC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   657
		ld		e, 1Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   658
		ld		d, 63h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   659
		call	j_GETTOKSTRING
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   660
		call	j_PutPS
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   661
		ld		a, ')'
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   662
		call	j_PutC
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   663
		call	Page0Call_3627
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   664
		call	j_PutC
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   665
		call	j_EraseEOL
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   666
p03loc_445C:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   667
		call	j_setNumWindow
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   668
p03loc_445F:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   669
		call	Page03_3723
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   670
		call	j_CMP_NUM_INIT
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   671
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   672
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   673
		push	af
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   674
		ld		a, 7Bh ;'{'
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   675
		call	j_wputc
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   676
		call	Page03_3723
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   677
		ld		de, OP1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   678
		call	mov9B2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   679
		call	p03sub_44C6
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   680
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   681
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   682
		jr		z, p03loc_4490
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   683
		ld		a, ','
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   684
		call	p03sub_4492
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   685
		call	Page03_3723
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   686
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   687
		ld		de, OP1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   688
		call	mov9B2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   689
		call	p03sub_44C6
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   690
p03loc_4490:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   691
		ld		a, '}'
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   692
p03sub_4492:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   693
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   694
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   695
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   696
		ld		hl, winBtm
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   697
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   698
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   699
		jr		nc, p03loc_44AB
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   700
p03loc_449E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   701
		ld		de, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   702
		push	de
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   703
		call	j_wputc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   704
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   705
		ld		(curRow), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   706
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   707
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   708
p03loc_44AB:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   709
		bit		appAutoScroll, (iy+appFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   710
		jr		z, p03loc_449E
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   711
		res		appAutoScroll, (iy+appFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   712
		ld		de, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   713
		push	de
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   714
		call	j_wputc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   715
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   716
		ld		(curRow), hl
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   717
		set		appAutoScroll, (iy+appFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   718
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   719
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   720
p03sub_44C6:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   721
		bit		appAutoScroll, (iy+appFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   722
		jp		z, p03loc_4587
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   723
		res		appAutoScroll, (iy+appFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   724
		call	p03loc_4587
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   725
		set		appAutoScroll, (iy+appFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   726
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   727
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   728
Page03_3723:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   729
		ld		a, (unk_9813)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   730
		res		7, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   731
		ld		hl, u0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   732
		ld		de, u02
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   733
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   734
		ret		m
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   735
		ld		hl, v0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   736
		ld		de, v02
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   737
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   738
		ret		m
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   739
		ld		hl, w0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   740
		ld		de, w02
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   741
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   742
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   743
setTitle:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   744
		sub		a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   745
		ld		(curCol), a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   746
		ld		a, (winBtm)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   747
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   748
		ld		hl, curRow
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   749
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   750
		jr		nz, p03loc_451A
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   751
		ld		a, 1
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   752
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   753
		jr		z, p03loc_4510
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   754
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   755
		jr		nz, p03loc_4513
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   756
p03loc_4510:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   757
		ld		a, (ix+3)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   758
p03loc_4513:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   759
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   760
		jr		z, p03loc_453E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   761
		ld		a, 1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   762
		jr		p03loc_4540
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   763
p03loc_451A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   764
		ld		a, (winTop)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   765
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   766
		jr		nz, p03loc_453E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   767
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   768
		cp		kSolveTVM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   769
		jr		z, p03loc_453E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   770
		ld		a, 2
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   771
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   772
		jr		z, p03loc_4534
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   773
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   774
		jr		nz, p03loc_4537
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   775
p03loc_4534:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   776
		ld		a, (ix+0FDh)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   777
p03loc_4537:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   778
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   779
		jr		z, p03loc_453E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   780
		ld		a, 1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   781
		jr		p03loc_4540
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   782
p03loc_453E:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   783
		ld		a, ' '
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   784
p03loc_4540:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   785
		call	j_PutC
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   786
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   787
		jr		z, p03loc_454F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   788
		ld		a, 3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   789
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   790
		ret		nz
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   791
p03loc_454F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   792
		ld		l, (ix+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   793
		ld		h, (ix+2)
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   794
		bit		localizeHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   795
		jr		z, p03loc_4565
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   796
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   797
		ld		b, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   798
		ld		a, 14h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   799
		call	j_call_character_hook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   800
		pop		bc
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   801
p03loc_4565:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   802
		call	IsInfStatContext
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   803
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   804
		call	p03sub_4D49
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   805
		ld		a, '='
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   806
		call	j_PutC
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   807
		call	j_setNumWindow
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   808
p03loc_4574:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   809
		call	IsInfStatContext
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   810
		jr		nz, p03sub_4581
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   811
		ld		a, (ix+0)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   812
		call	Rcl_StatVar
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   813
		jr		p03loc_4587
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   814
p03sub_4581:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   815
		ld		a, (ix+0)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   816
		call	j_RclSysTok
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   817
p03loc_4587:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   818
		ld		a, 15h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   819
		call	j_FormEReal
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   820
		ld		hl, OP3
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   821
		call	j_wputsEOL
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   822
		ld		a, (ix+0)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   823
		cp		'0'
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   824
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   825
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   826
		cp		kSolveTVM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   827
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   828
		ld		hl, curRow
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   829
		inc		(hl)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   830
		call	j_setNumWindow
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   831
		ld		de, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   832
		add		ix, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   833
		call	p03sub_4581
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   834
		ld		hl, curRow
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   835
		dec		(hl)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   836
		call	j_setNumWindow
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   837
		ld		de, 0FFFDh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   838
		add		ix, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   839
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   840
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   841
p03sub_45BA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   842
		ld		a, 6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   843
		ld		(curRow), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   844
		jr		p03loc_45E3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   845
p03sub_45C1:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   846
		ld		a, 2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   847
		call	CheckSplitFlag
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   848
		jr		z, p03loc_45D5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   849
		ld		a, 6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   850
		jr		p03loc_45D5
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   851
Page03_372F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   852
		ld		a, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   853
		call	CheckSplitFlag
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   854
		jr		z, p03loc_45D5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   855
		ld		a, 5
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   856
p03loc_45D5:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   857
		ld		(curRow), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   858
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   859
		cp		kSolveTVM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   860
		jr		nz, p03loc_45E3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   861
		ld		hl, curRow
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   862
		dec		(hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   863
p03loc_45E3:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   864
		call	CanAlphIns
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   865
		call	RecallEd
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   866
		ld		hl, (unk_9700)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   867
		call	IsInfStatContext
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   868
		jr		nz, p03loc_4602
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   869
		ld		a, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   870
		call	Rcl_StatVar
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   871
		call	CkOP1Real
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   872
		cp		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   873
		jr		nz, p03loc_4600
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   874
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   875
		ld		(OP1), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   876
p03loc_4600:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   877
		jr		Page03_3735
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   878
p03loc_4602:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   879
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   880
		jr		z, p03loc_460F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   881
		ld		a, 5
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   882
		call	Page0Call_362D
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   883
		jr		nz, Page03_3735
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   884
p03loc_460F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   885
		ld		a, (hl)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   886
		call	j_RclSysTok
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   887
Page03_3735:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   888
		call	j_OP1toEdit
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   889
dispVarVal:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   890
		jr		nc, Page03_3741
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   891
		call	releaseBuffer
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
   892
		jp		ErrMemory_NoGoTo
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   893
Page03_3741:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   894
		call	j_BufToTop
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   895
		call	j_fdispEOL
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   896
		res		5, (iy+5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   897
		ret
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   898
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   899
Page03_3747:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   900
		call	RecallEd
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   901
		call	Page03_3723
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   902
		call	j_CMP_NUM_INIT
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   903
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   904
		ret		z
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   905
		call	j_MinToEdit
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   906
		jr		nc, p03loc_463F
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   907
		call	releaseBuffer
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
   908
		jp		ErrMemory_NoGoTo
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   909
p03loc_463F:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   910
		call	j_BufToTop
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   911
		call	j_fdispEOL
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   912
		res		5, (iy+5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   913
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   914
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   915
RecallEd:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   916
		call	Page03_37AD
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   917
Page03_3753:
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
   918
		call	Page03_37A7
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   919
		set		6, (iy+5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   920
		call	createNumEditBuf
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   921
		ld		(editSym), hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   922
		call	j_SetEmptyEditPtr
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   923
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   924
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   925
createNumEditBuf:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   926
		call	releaseBuffer
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
   927
		ld		hl, ErrMemory_NoGoTo
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   928
		call	pushErrorHandleR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   929
		ld		hl, 14h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   930
		call	CreateEqu
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   931
		call	popErrorHandleR
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   932
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   933
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   934
ProcessBufKeys:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   935
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   936
		call	CallCommon
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   937
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   938
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   939
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   940
p03loc_4677:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   941
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   942
		jr		z, p03loc_4690
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   943
		ld		b, a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   944
		push	ix
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   945
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   946
		ld		c, (ix+0FDh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   947
		ld		a, 0Ah
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   948
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   949
		pop		ix
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   950
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   951
		ld		a, b
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   952
p03loc_4690:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   953
		cp		27h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   954
		jr		nz, p03loc_46B4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   955
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   956
		cp		kYequ
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   957
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   958
		call	p03sub_4B7F
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   959
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   960
		cp		kWindow
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
   961
		jp		z, InitWindowContext
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   962
		cp		kZFactEd
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
   963
		jp		z, InitZoomContext
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   964
		cp		kTblSet
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
   965
		jp		z, InitTableSetContext
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   966
		cp		kSolveTVM
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
   967
		jp		z, InitTVMContext
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   968
p03loc_46B4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   969
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   970
		jr		z, p03loc_46BD
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   971
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   972
		jp		nz, p03loc_474F
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   973
p03loc_46BD:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   974
		call	p03sub_473A
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   975
		jr		nz, p03loc_4710
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   976
		call	IsEditEmpty
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   977
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   978
		call	ParseAndStoreSysVar
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   979
		call	DisplayEditSysVar
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   980
		ld		a, 1
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
   981
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   982
		jr		z, p03loc_46D9
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   983
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   984
		jr		nz, p03loc_46DC
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   985
p03loc_46D9:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   986
		ld		a, (ix+3)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   987
p03loc_46DC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   988
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   989
		jr		nz, p03loc_46EE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   990
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   991
		cp		kTblSet
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   992
		jp		z, Page0Call_3657
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
   993
		cp		kSolveTVM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   994
		jr		nz, p03loc_470D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   995
		jp		Page0Call_365D
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
   996
p03loc_46EE:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
   997
		call	p03sub_4742
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
   998
		jp		nz, j_JForceYEqu
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
   999
		ld		de, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1000
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1001
		ld		(unk_9700), ix
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1002
		call	p03sub_4987
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1003
		jr		c, p03loc_470A
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1004
		ld		(curCol), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1005
		call	setTitle
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1006
		jr		p03loc_470D
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1007
p03loc_470A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1008
		ld		(curRow), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1009
p03loc_470D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1010
		jp		p03loc_45E3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1011
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1012
p03loc_4710:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1013
		call	p03sub_4727
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1014
		ld		a, (ix+3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1015
		inc		a
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1016
		jp		z, Page03_3747
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1017
		ld		de, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1018
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1019
		ld		(unk_9700), ix
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1020
		call	Page0Call_3669
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1021
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1022
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1023
p03sub_4727:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1024
		call	ParseAndStoreSysVar
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1025
		bit		monAbandon, (iy+monFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1026
		call	z, DisplayEditSysVar
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1027
		res		monAbandon, (iy+monFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1028
		ld		ix, (unk_9700)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1029
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1030
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1031
p03sub_473A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1032
		ld		hl, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1033
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1034
		cp		1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1035
		jr		z, p03loc_4749
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1036
p03sub_4742:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1037
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1038
		cp		kYequ
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1039
		jr		z, p03loc_474B
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1040
p03loc_4749:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1041
		xor		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1042
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1043
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1044
p03loc_474B:
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  1045
		call	IsRecursiveMode
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1046
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1047
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1048
p03loc_474F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1049
		cp		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1050
		jr		nz, p03loc_4797
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1051
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1052
		cp		kSolveTVM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1053
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1054
		ld		hl, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1055
		ld		a, (hl)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1056
		cp		'0'
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1057
		ret		nc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1058
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1059
		call	Page0Call_366F
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1060
		call	closeeditbufnor
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1061
		pop		af
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1062
		sub		'+'
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1063
		ld		hl, p03loc_4D62
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1064
		ld		e, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1065
		ld		d, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1066
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1067
		ld		a, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1068
		call	Page0Call_395D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1069
		ld		hl, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1070
		ld		a, (hl)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1071
		call	j_StoSysTok
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1072
		call	p03sub_4AE9
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1073
		set		1, (iy+19h)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1074
		ld		hl, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1075
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1076
		sub		a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1077
		ld		(curCol), a
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1078
		ld		a, 0D0h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1079
		call	j_PutC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1080
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1081
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1082
		jp		p03loc_45E3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1083
p03loc_4797:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1084
		cp		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1085
		jr		nz, p03loc_4814
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1086
Page03_3765:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1087
		call	p03sub_473A
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1088
		jr		nz, Page03_3771
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1089
		call	IsEditEmpty
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1090
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1091
		call	ParseAndStoreSysVar
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1092
		call	DisplayEditSysVar
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1093
		ld		a, 2
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1094
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1095
		jr		z, p03loc_47B7
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1096
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1097
		jr		nz, p03loc_47BA
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1098
p03loc_47B7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1099
		ld		a, (ix+0FDh)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1100
p03loc_47BA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1101
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1102
		jr		nz, p03loc_47C8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1103
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1104
		cp		kYequ
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1105
		jr		nz, p03loc_47DE
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1106
		call	Page0Call_367B
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1107
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1108
p03loc_47C8:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1109
		ld		de, 0FFFDh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1110
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1111
		ld		(unk_9700), ix
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1112
		call	Page03_3789
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1113
		jr		nc, p03loc_47DB
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1114
		call	setTitle
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1115
		jr		p03loc_47DE
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1116
p03loc_47DB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1117
		ld		(curRow), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1118
p03loc_47DE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1119
		jp		p03loc_45E3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1120
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1121
Page03_376B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1122
		ld		de, 0FFFDh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1123
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1124
		ld		(unk_9700), ix
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1125
		call	Page03_3789
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1126
		jr		nc, p03loc_47F4
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1127
		call	Page03_371D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1128
		jr		p03loc_47F7
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1129
p03loc_47F4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1130
		ld		(curRow), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1131
p03loc_47F7:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1132
		call	Page03_3747
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1133
		call	InitNumVec
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1134
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1135
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1136
Page03_3771:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1137
		call	p03sub_4727
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1138
		ld		a, (ix+0FDh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1139
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1140
		jr		z, p03loc_4810
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1141
		ld		de, 0FFFDh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1142
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1143
		ld		(unk_9700), ix
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1144
p03loc_4810:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1145
		call	Page0Call_3687
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1146
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1147
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1148
p03loc_4814:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1149
		bit		enableQueue, (iy+rclFlag)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1150
		jr		nz, CallCommon
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1151
		cp		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1152
		ret		z
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1153
CallCommon:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1154
		cp		9
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1155
		jr		nz, p03loc_482E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1156
		set		5, (iy+5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1157
		call	CanAlphIns
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1158
		call	Page0Call_366F
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1159
		jp		fDel
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1160
p03loc_482E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1161
		cp		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1162
		jp		nz, p03loc_4858
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1163
		set		cmdVirgin, (iy+cmdFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1164
		set		5, (iy+5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1165
		call	Page0Call_366F
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1166
		call	CanAlphIns
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1167
		call	j_BufToTop
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1168
		call	Page03_37A7
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1169
		call	GETLASTENTRY
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1170
		call	j_RCLENTRYTOEDIT
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1171
		res		cmdVirgin, (iy+cmdFlags)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1172
		call	j_BufToTop
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1173
		call	j_fdispEOL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1174
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1175
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1176
p03loc_4858:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1177
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1178
		jr		nz, p03loc_489E
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1179
		res		textInsMode, (iy+textFlags)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1180
		call	j_BufLeft
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1181
		jp		z, p03sub_48F5
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1182
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1183
CommonKeys:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1184
		res		textScrolled, (iy+textFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1185
		call	IsAtTop
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1186
		jp		z, p03loc_48FE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1187
		ld		hl, (editTail)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1188
		call	j_BUFPEEK3
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1189
		call	j_GetTokLen
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1190
		ld		b, a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1191
		ld		a, (curCol)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1192
		sub		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1193
		jr		c, p03loc_4890
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1194
		ld		hl, winLeftEdge
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1195
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1196
		jr		c, p03loc_4890
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1197
		jr		z, p03loc_4890
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1198
p03loc_4888:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1199
		ld		(curCol), a
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1200
		call	j_fdispEOL
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1201
		jr		p03sub_48F5
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1202
p03loc_4890:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1203
		ld		a, (winLeftEdge)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1204
		inc		a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1205
		ld		(curCol), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1206
		push	af
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1207
		call	j_FDISPBOL
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1208
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1209
		jr		p03loc_4888
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1210
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1211
p03loc_489E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1212
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1213
		jr		nz, p03loc_48FA
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1214
		res		textInsMode, (iy+textFlags)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1215
		call	j_BUFPEEK
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1216
		ret		z
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1217
		call	j_GetTokLen
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1218
		ld		hl, curCol
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1219
		add		a, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1220
		push	af
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1221
		call	j_BufRight
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1222
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1223
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1224
		cp		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1225
		jr		c, p03loc_48F2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1226
		jr		nz, p03loc_48C3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1227
		bit		1, (iy+0Eh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1228
		jr		z, p03loc_48F2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1229
p03loc_48C3:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1230
		ld		a, 0Eh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1231
		ld		(curCol), a
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1232
		call	j_BufRight
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1233
		jr		nz, p03loc_48DA
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1234
		call	j_BufLeft
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1235
		push	de
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1236
		call	j_BufRight
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1237
		pop		de
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1238
		call	j_putbuf
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1239
		jr		p03sub_48F5
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1240
p03loc_48DA:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1241
		push	de
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1242
		call	j_GetTokLen
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1243
		pop		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1244
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1245
		scf
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1246
		call	j_putbuf1
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1247
		call	j_BufLeft
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1248
		pop		bc
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1249
		ld		a, (curCol)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1250
		sub		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1251
		ld		hl, winLeftEdge
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1252
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1253
		jr		c, p03loc_4890
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1254
p03loc_48F2:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1255
		ld		(curCol), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1256
p03sub_48F5:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1257
		res		6, (iy+5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1258
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1259
p03loc_48FA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1260
		cp		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1261
		jr		nz, p03loc_4903
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1262
p03loc_48FE:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1263
		call	Page03_37E3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1264
		jr		p03sub_48F5
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1265
p03loc_4903:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1266
		cp		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1267
		jr		nz, p03loc_490C
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1268
		call	p03sub_4B73
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1269
		jr		p03sub_48F5
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1270
p03loc_490C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1271
		cp		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1272
		jr		nz, p03loc_4917
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1273
		call	p03sub_48F5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1274
		call	Page0Call_369F
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1275
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1276
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1277
p03loc_4917:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1278
		cp		'!'
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1279
		jr		nz, p03loc_4929
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1280
		res		textInsMode, (iy+textFlags)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1281
		call	j_BufLeft
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1282
		jr		z, p03sub_48F5
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1283
		call	CommonKeys
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1284
		jr		p03loc_492D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1285
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1286
p03loc_4929:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1287
		cp		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1288
		jr		nz, p03loc_4943
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1289
p03loc_492D:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1290
		call	Page0Call_366F
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1291
		call	p03sub_48F5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1292
Leftmore:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1293
		res		textInsMode, (iy+textFlags)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1294
		call	j_BufDelete
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1295
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1296
		set		5, (iy+5)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1297
		call	j_fdispEOL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1298
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1299
p03loc_4943:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1300
		cp		0Ch
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1301
		call	z, j_rclkeyRtn
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1302
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1303
		ret		z
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1304
		cp		5Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1305
		ret		c
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1306
		cp		0FBh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1307
		jr		nz, p03loc_4960
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1308
		ld		a, (keyExtend)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1309
		cp		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1310
		jr		c, p03loc_495E
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1311
		cp		8Ch
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1312
		ret		c
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1313
		cp		0A6h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1314
		ret		nc
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1315
p03loc_495E:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1316
		ld		a, 0FBh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1317
p03loc_4960:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1318
		call	Page0Call_366F
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1319
		bit		enableQueue, (iy+rclFlag)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1320
		jr		nz, p03loc_4972
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1321
		bit		1, (iy+2Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1322
		jr		nz, p03loc_4972
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1323
		cp		0C6h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1324
		ret		z
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1325
p03loc_4972:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1326
		set		5, (iy+5)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1327
		bit		6, (iy+5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1328
		call	nz, fDel
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1329
		call	page0_1808
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1330
		jp		nz, fClear
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1331
		call	j_initNamePrompt
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1332
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1333
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1334
p03sub_4987:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1335
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1336
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1337
		ld		hl, winBtm
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1338
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1339
		ret		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1340
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1341
		cp		kYequ
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1342
		jr		nz, p03loc_499B
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1343
		call	j_scrollUp
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1344
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1345
p03loc_499B:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1346
		call	Page03_37B9
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1347
		call	j_scrollUp
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1348
		call	p03sub_4A39
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1349
		sub		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1350
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1351
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1352
Page03_3789:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1353
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1354
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1355
		jr		z, p03loc_49BE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1356
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1357
		ld		hl, winTop
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1358
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1359
		ret		nc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1360
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1361
		cp		kYequ
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1362
		jr		nz, p03loc_49BE
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1363
		call	j_scrollDown
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1364
		scf
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1365
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1366
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1367
p03loc_49BE:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1368
		call	Page03_37B9
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1369
		call	j_scrollDown
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1370
		call	p03sub_4A40
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1371
		scf
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1372
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1373
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1374
fDel:	call	p03sub_48F5
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1375
		call	j_BufClear
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1376
		call	Page03_37A7
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1377
		call	j_EraseEOL
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1378
p03loc_49D5:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1379
		res		0, (iy+0Eh)
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1380
Page03_3C3F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1381
		res		1, (iy+0Eh)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1382
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1383
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1384
fClear:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1385
		call	j_ConvKeyToTok
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1386
finsDisp:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1387
		push	de
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1388
		bit		textInsMode, (iy+textFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1389
		jr		nz, p03loc_49F1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1390
		call	j_BufReplace
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1391
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1392
		ret		z
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1393
		call	j_putbuf
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1394
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1395
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1396
p03loc_49F1:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1397
		call	j_bufInsert
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1398
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1399
		ret		z
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1400
		call	j_putbuf
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1401
		ret
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1402
Page03_37A1:
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1403
		ret
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1404
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1405
Page03_37A7:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1406
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1407
		bit		1, (iy+2Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1408
		jr		z, p03loc_4A07
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1409
		pop		af
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1410
		call	j_RestorePenCol
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1411
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1412
p03loc_4A07:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1413
		ld		a, (winLeftEdge)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1414
		ld		(curCol), a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1415
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1416
		ret
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1417
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1418
Page03_37AD:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1419
		ld		a, 1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1420
		ld		(curCol), a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1421
		ld		c, a
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1422
		call	j_getcurloc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1423
		ld		b, 0Eh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1424
p03loc_4A1A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1425
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1426
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1427
		inc		c
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1428
		cp		3Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1429
		jr		z, p03loc_4A31
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1430
		cp		3Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1431
		jr		z, p03loc_4A31
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1432
		cp		3Fh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1433
		jr		z, p03loc_4A31
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1434
		cp		7Fh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1435
		jr		z, p03loc_4A31
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1436
		djnz	p03loc_4A1A
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1437
		sub		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1438
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1439
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1440
p03loc_4A31:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1441
		ld		a, c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1442
		ld		(winLeftEdge), a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1443
		ld		(curCol), a
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1444
		ret
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1445
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1446
p03sub_4A39:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1447
		ld		c, 1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1448
		ld		a, (winTop)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1449
		jr		FinsDisp02
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1450
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1451
p03sub_4A40:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1452
		ld		c, 1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1453
		jr		p03loc_4A46
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1454
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1455
Page03_37B3:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1456
		ld		c, 20h ; ' '
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1457
p03loc_4A46:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1458
		ld		a, (winBtm)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1459
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1460
		jr		FinsDisp02
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1461
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1462
Page03_37B9:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1463
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1464
		ld		c, 20h ; ' '
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1465
FinsDisp02:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1466
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1467
		ld		a, (winLeftEdge)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1468
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1469
		ld		hl, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1470
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1471
		ld		hl, curRow
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1472
		ld		(hl), b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1473
		sub		a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1474
		ld		(curCol), a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1475
		ld		a, c
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1476
		call	j_PutC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1477
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1478
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1479
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1480
		ld		(winLeftEdge), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1481
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1482
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1483
p03loc_4A6F:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1484
		call	p03sub_48F5
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1485
		ld		bc, (errOffset)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1486
p03loc_4A76:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1487
		ld		a, c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1488
		or		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1489
		jr		z, p03loc_4A87
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1490
		call	j_BufRight
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1491
		jr		z, p03loc_4A87
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1492
		push	bc
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1493
		call	j_putbuf
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1494
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1495
		dec		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1496
		jr		p03loc_4A76
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1497
p03loc_4A87:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1498
		call	j_fdispEOL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1499
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1500
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1501
closeeditbufnor:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1502
		call	CanAlphIns
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1503
		bit		editOpen, (iy+editFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1504
		ret		z
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1505
		call	j_CloseEditEqu
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1506
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1507
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1508
ParseAndStoreSysVar:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1509
		call	IsEditEmpty
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1510
		jr		nz, p03loc_4AAB
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1511
		call	p03sub_4742
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1512
		jr		z, p03loc_4AAB
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1513
		call	closeeditbufnor
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1514
		ld		a, 0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1515
		ld		(OP1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1516
		jr		p03loc_4ABE
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1517
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1518
p03loc_4AAB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1519
		set		6, (iy+5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1520
		call	closeeditbufnor
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1521
		bit		monAbandon, (iy+monFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1522
		jr		nz, p03sub_4AE9
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1523
		call	page0_166E
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1524
		call	j_ParseInp
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1525
p03loc_4ABE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1526
		ld		hl, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1527
		bit		5, (iy+5)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1528
		jr		z, p03sub_4AE9
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1529
		call	IsInfStatContext
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1530
		jr		nz, p03loc_4AD8
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1531
		call	page0_1717
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1532
		call	EOP1NotReal
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1533
		ld		a, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1534
		call	STO_STATVAR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1535
		jr		p03sub_4AE9
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1536
p03loc_4AD8:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1537
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1538
		jr		z, p03loc_4AE5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1539
		ld		a, 6
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1540
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1541
		jr		nz, p03sub_4AE9
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1542
p03loc_4AE5:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1543
		ld		a, (hl)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1544
		call	j_StoSysTok
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1545
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1546
p03sub_4AE9:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1547
		call	j_CleanAll
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1548
		jr		releaseBuffer
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1549
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1550
p03loc_4AEE:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1551
		res		grfSplitOverride, (iy+sGrFlags)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1552
releaseBuffer:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1553
		call	page0_166E
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1554
		rst		10h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1555
		call	nc, DelVar
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1556
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1557
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1558
DisplayEditSysVar:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1559
		call	Page03_37A7
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1560
		call	j_setNumWindow
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1561
		ld		ix, (unk_9700)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1562
		call	p03sub_473A
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1563
		jp		nz, p03loc_445F
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1564
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1565
		jr		z, p03loc_4B16
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1566
		ld		a, 9
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1567
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1568
		ret		nz
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1569
p03loc_4B16:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1570
		jp		p03loc_4574
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1571
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1572
Page03_37D1:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1573
		ld		hl, (editSym)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1574
varnameToOP1hl:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1575
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1576
		call	ZeroOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1577
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1578
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1579
		and		1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1580
		ld		(OP1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1581
		ld		b, 2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1582
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1583
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1584
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1585
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1586
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1587
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1588
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1589
		jr		z, p03loc_4B37
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1590
		cp		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1591
		jr		nz, p03loc_4B48
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1592
p03loc_4B37:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1593
		ld		a, (hl)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1594
		cp		':'
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1595
		jr		z, p03loc_4B40
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1596
		ld		b, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1597
		dec		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1598
		jr		p03loc_4B47
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1599
p03loc_4B40:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1600
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1601
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1602
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1603
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1604
		jr		z, p03loc_4B48
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1605
		ld		b, (hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1606
p03loc_4B47:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1607
		dec		hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1608
p03loc_4B48:
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  1609
		ld		de, OP1+1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1610
		jr		p03loc_4B5E
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1611
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1612
nameToOP1:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1613
		call	ZeroOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1614
		ld		hl, (editSym)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1615
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1616
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1617
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1618
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1619
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1620
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1621
		ld		b, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1622
		inc		b
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  1623
		ld		de, OP1+1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1624
p03loc_4B5E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1625
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1626
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1627
		ld		(de), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1628
		inc		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1629
		djnz	p03loc_4B5E
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1630
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1631
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1632
Page03_37E3:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1633
		res		0, (iy+0Eh)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1634
		call	j_BufToTop
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1635
		call	Page03_37A7
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1636
		call	j_fdispEOL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1637
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1638
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1639
p03sub_4B73:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1640
		call	j_BufRight
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1641
		ret		z
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1642
		call	j_putbuf
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1643
		jr		p03sub_4B73
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1644
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1645
numPPutAway:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1646
		jp		j_saveShadow
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1647
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1648
p03sub_4B7F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1649
		ld		hl, p03loc_4AEE
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1650
		call	pushErrorHandleR
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1651
		call	ParseAndStoreSysVar
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1652
		call	popErrorHandleR
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1653
		res		grfSplitOverride, (iy+sGrFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1654
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1655
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1656
p03loc_4B90:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1657
		jr		c, p03loc_4BD2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1658
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1659
		cp		kYequ
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1660
		jr		nz, p03loc_4B9D
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1661
		call	j_shrinkWindow2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1662
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1663
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1664
p03loc_4B9D:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1665
		cp		kSolveTVM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1666
		ret		z
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1667
		call	j_shrinkWindow2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1668
		jp		p, p03sub_4A39
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1669
		ld		a, 7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1670
		sub		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1671
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1672
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1673
		ld		c, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1674
		ld		de, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1675
		ld		hl, (unk_9700)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1676
p03loc_4BB4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1677
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1678
		cp		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1679
		jr		c, p03loc_4BCC
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1680
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1681
		ld		a, 8
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1682
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1683
		jr		z, p03loc_4BC6
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1684
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1685
		jr		nz, p03loc_4BC7
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1686
p03loc_4BC6:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1687
		ld		a, (hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1688
p03loc_4BC7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1689
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1690
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1691
		inc		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1692
		jr		p03loc_4BB4
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1693
p03loc_4BCC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1694
		ld		c, 1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1695
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1696
		jp		FinsDisp02
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1697
p03loc_4BD2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1698
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1699
		cp		kYequ
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1700
		jp		z, p03loc_4C68
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1701
		cp		kSolveTVM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1702
		jp		z, p03loc_4C71
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1703
		ld		a, 7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1704
		sub		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1705
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1706
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1707
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1708
		ld		c, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1709
		ld		de, 3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1710
p03loc_4BEE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1711
		inc		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1712
		add		ix, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1713
		call	p03sub_4E6C
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1714
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1715
		jr		z, p03loc_4C24
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1716
		ld		a, c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1717
		cp		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1718
		jr		nz, p03loc_4BEE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1719
		ld		hl, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1720
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1721
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1722
		ld		(curRow), a
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1723
		call	Page03_37B9
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1724
		ld		hl, curRow
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1725
		inc		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1726
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1727
		cp		kInfStat
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1728
		jr		nz, p03loc_4C1E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1729
		ld		a, (unk_8D0B+1)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1730
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1731
		call	p03sub_7278
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1732
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1733
		ld		(unk_8D0B+1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1734
		jr		p03loc_4C21
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1735
p03loc_4C1E:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1736
		call	setTitle
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1737
p03loc_4C21:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1738
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1739
		jr		p03loc_4C5B
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1740
p03loc_4C24:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1741
		ld		a, (winTop)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1742
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1743
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1744
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1745
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1746
		ld		c, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1747
		ld		de, 0FFFDh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1748
p03loc_4C34:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1749
		dec		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1750
		add		ix, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1751
		call	p03sub_4E6C
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1752
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1753
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1754
		ld		a, c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1755
		cp		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1756
		jr		nz, p03loc_4C34
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1757
		ld		hl, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1758
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1759
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1760
		ld		(curRow), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1761
		ld		a, (unk_89FE)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1762
		push	af
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1763
		call	Page03_37B9
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1764
		call	j_scrollDown
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1765
		call	setTitle
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1766
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1767
		ld		(unk_89FE), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1768
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1769
		inc		l
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1770
p03loc_4C5B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1771
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1772
		ld		a, h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1773
		push	af
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1774
		call	Page03_37AD
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1775
		pop		af
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1776
		ld		(curCol), a
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1777
		ret
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1778
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1779
p03loc_4C68:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1780
		ld		hl, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1781
		push	hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1782
		call	j_dispNumEOS
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1783
		jr		p03loc_4C21
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1784
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1785
p03loc_4C71:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1786
		ld		hl, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1787
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1788
		ld		a, 7
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1789
		call	Page0Call_36E7
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1790
		call	j_SolveRedisp
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1791
		jr		p03loc_4C21
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1792
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1793
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1794
;Not referenced anywhere.
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1795
		set		curLock, (iy+curFlags)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1796
#endif
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1797
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1798
numRedisp:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1799
		jp		j_rstrShadow
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1800
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1801
Page03_37F5:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1802
		bit		5, (iy+36h)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1803
		call	nz, Page0Call_36F3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1804
		jr		nz, numError02
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1805
		call	j_rstrShadow2
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1806
		call	j_SetMenuFlags
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1807
numError02:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1808
		bit		editOpen, (iy+editFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1809
		jr		nz, p03loc_4CAA
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1810
		call	page0_166E
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1811
		call	j_setupEditEqu
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1812
		ld		hl, p03loc_4CBD
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1813
		call	pushErrorHandleR
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1814
		call	popErrorHandleR
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1815
p03loc_4CAA:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1816
		call	j_BufToTop
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1817
		call	p03loc_49D5
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1818
		call	Page03_37A7
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  1819
		call	IsBasicProgZero
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1820
		jp		nz, p03loc_4A6F
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1821
		call	j_fdispEOL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1822
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1823
p03loc_4CBD:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1824
		call	j_CloseEditEqu
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1825
		call	releaseBuffer
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  1826
		jp		ErrMemory_NoGoTo
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1827
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1828
Page03_380D:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1829
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1830
		ld		hl, (chkDelPtr1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1831
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1832
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1833
		or		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1834
		ld		a, (OP1M)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1835
		jr		z, p03loc_4D27
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1836
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1837
		bit		5, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1838
		jr		z, p03loc_4CEF
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1839
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1840
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1841
		xor		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1842
		ld		(OP1M), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1843
		rst		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1844
		jp		c, ErrUndefined
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1845
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1846
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1847
		ld		(OP1M), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1848
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1849
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1850
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1851
		or		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1852
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1853
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1854
		set		5, (hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1855
p03loc_4CEF:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1856
		ld		hl, (chkDelPtr3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1857
		set		5, (hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1858
p03loc_4CF4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1859
		ld		a, (OP1M)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1860
		bit		6, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1861
		jr		z, p03loc_4D15
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  1862
		call	IsFunctionMode
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1863
p03loc_4CFE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1864
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1865
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1866
		and		1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1867
		cp		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1868
		jp		z, SetTblGraphDraw
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1869
		bit		smarter_test, (iy+smartFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1870
		jp		nz, SetTblGraphDraw
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1871
		set		smartGraph, (iy+smartFlags)
11
fea1578031ed Cleanup to page 0.
brandonlw
parents: 10
diff changeset
  1872
		jp		SetTblGraphDrawPreserveSmartTest
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1873
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1874
p03loc_4D15:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1875
		bit		5, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1876
		jr		nz, p03loc_4D44
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1877
		bit		4, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1878
		jr		z, p03loc_4D22
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  1879
		call	IsFuncMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1880
		jr		p03loc_4CFE
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1881
p03loc_4D22:
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  1882
		call	IsRecursiveMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1883
		jr		p03loc_4CFE
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1884
p03loc_4D27:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1885
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1886
		ld		hl, (chkDelPtr3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1887
		bit		5, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1888
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1889
		res		5, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1890
		bit		5, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1891
		jr		z, p03loc_4CF4
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1892
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1893
		xor		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1894
		ld		(OP1M), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1895
		rst		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1896
		jp		c, ErrUndefined
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1897
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1898
		ld		(OP1M), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1899
		res		5, (hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1900
p03loc_4D44:
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  1901
		call	IsParametricMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1902
		jr		p03loc_4CFE
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1903
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1904
p03sub_4D49:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1905
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1906
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1907
		ld		a, (winBtm)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1908
		ld		b, a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1909
p03loc_4D4F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1910
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1911
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1912
		or		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1913
		scf
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1914
		jr		z, p03loc_4D5E
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1915
		call	j_PutC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1916
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1917
		cp		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1918
		jr		c, p03loc_4D4F
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1919
p03loc_4D5E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1920
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1921
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1922
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1923
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1924
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1925
p03loc_4D62:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1926
		.db		23h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1927
		.db		21h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1928
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1929
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1930
		.db		24h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1931
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1932
Page03_3813:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1933
		ld		a, (ix+0)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1934
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1935
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1936
Load_SFont:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1937
		push	bc
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1938
		bit		fontHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1939
		jr		z, p03loc_4D7B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1940
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1941
		ld		a, 0
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1942
		call	j_FontHook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1943
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1944
		jr		z, p03loc_4D97
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1945
p03loc_4D7B:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1946
		bit		localizeHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1947
		jr		z, p03loc_4D8A
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1948
		ld		b, a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1949
		ld		a, 75h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1950
		call	j_call_character_hook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1951
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1952
		jr		z, p03loc_4D97
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1953
p03loc_4D8A:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1954
		ld		de, p03loc_4E7C-8
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1955
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1956
		ld		de, sFont_record
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1957
		call	Mov8B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1958
		ld		hl, sFont_record
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1959
p03loc_4D97:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1960
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1961
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1962
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1963
SFont_Len:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1964
		bit		fontHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1965
		jr		z, p03loc_4DA7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1966
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1967
		ld		a, 2
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1968
		call	j_FontHook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1969
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1970
		ret		z
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1971
p03loc_4DA7:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  1972
		bit		localizeHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1973
		jr		z, p03loc_4DB5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1974
		ld		b, a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1975
		ld		a, 77h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  1976
		call	j_call_character_hook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1977
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1978
		ret		z
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1979
p03loc_4DB5:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  1980
		ld		de, p03loc_4E7C-8
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1981
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1982
		ld		b, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1983
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1984
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  1985
Page03_3819:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1986
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1987
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1988
		jp		z, ErrDomain
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1989
		call	CheckSplitFlag
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1990
		jr		z, p03loc_4DC7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1991
		add		a, 4
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  1992
p03loc_4DC7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1993
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1994
		ld		l, a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1995
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1996
		call	OP3ToOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  1997
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1998
OutputExpr:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  1999
		push	hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  2000
		call	j_Disp
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2001
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2002
		ld		a, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2003
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2004
		jp		m, ErrDomain
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2005
		cp		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2006
		jp		p, ErrDomain
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2007
		ld		h, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2008
		ld		a, (winBtm)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2009
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2010
		ld		a, l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2011
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2012
		jp		m, ErrDomain
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2013
		cp		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2014
		jp		p, ErrDomain
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2015
		ld		l, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2016
		ld		de, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2017
		push	de
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2018
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2019
		ld		hl, p03loc_4E65
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2020
		call	pushErrorHandleR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2021
		ld		hl, (FPS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2022
		ld		(editTop), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2023
		ld		(editCursor), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2024
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2025
		ld		hl, (OPS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2026
		ld		(editTail), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2027
		ld		(editBtm), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2028
		call	CpHLDE
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  2029
		jp		c, ErrMemory_NoGoTo
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2030
		ld		de, ioPrompt
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2031
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2032
		ld		hl, ioPrompt
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2033
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2034
		and		1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2035
		jr		z, p03loc_4E40
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2036
		cp		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2037
		jr		nz, p03loc_4E3E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2038
		rst		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2039
		jr		nc, p03loc_4E3F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2040
		ld		a, 0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2041
		ld		hl, OP1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2042
		ld		de, OP3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2043
		call	mov9B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2044
		ld		hl, OP2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2045
		call	mov9B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2046
		ld		hl, OP3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2047
		jr		p03loc_4E40
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2048
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  2049
p03loc_4E3E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2050
		rst		10h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  2051
p03loc_4E3F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2052
		ex		de, hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  2053
p03loc_4E40:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  2054
		call	j_rclToQueue
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2055
		jp		c, ErrMemory
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2056
		call	popErrorHandleR
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  2057
		res		appAutoScroll, (iy+appFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2058
		ld		hl, (editCursor)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2059
		ld		de, (rclQueue)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  2060
		call	j_finishoutput
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  2061
		set		appAutoScroll, (iy+appFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2062
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2063
		ld		(curRow), hl
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  2064
		res		donePrgm, (iy+doneFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2065
		ei
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2066
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2067
p03loc_4E65:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2068
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2069
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2070
		jp		JErrorNo
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2071
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  2072
p03sub_4E6C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2073
		ld		a, 0
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  2074
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2075
		jr		z, p03loc_4E78
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2076
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2077
		ret		nz
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  2078
p03loc_4E78:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2079
		ld		a, (ix+0)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  2080
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2081
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2082
p03loc_4E7C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2083
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2084
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2085
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2086
		.db		2Ch
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2087
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2088
		.db		12h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2089
		.db		24h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2090
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2091
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2092
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2093
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2094
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2095
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2096
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2097
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2098
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2099
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2100
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2101
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2102
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2103
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2104
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2105
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2106
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2107
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2108
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2109
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2110
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2111
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2112
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2113
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2114
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2115
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2116
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2117
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2118
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2119
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2120
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2121
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2122
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2123
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2124
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2125
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2126
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2127
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2128
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2129
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2130
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2131
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2132
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2133
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2134
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2135
		.db		1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2136
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2137
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2138
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2139
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2140
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2141
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2142
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2143
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2144
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2145
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2146
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2147
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2148
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2149
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2150
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2151
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2152
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2153
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2154
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2155
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2156
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2157
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2158
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2159
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2160
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2161
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2162
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2163
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2164
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2165
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2166
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2167
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2168
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2169
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2170
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2171
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2172
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2173
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2174
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2175
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2176
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2177
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2178
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2179
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2180
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2181
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2182
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2183
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2184
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2185
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2186
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2187
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2188
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2189
		.db		7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2190
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2191
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2192
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2193
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2194
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2195
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2196
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2197
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2198
		.db		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2199
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2200
		.db		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2201
		.db		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2202
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2203
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2204
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2205
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2206
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2207
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2208
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2209
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2210
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2211
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2212
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2213
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2214
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2215
		.db		1Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2216
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2217
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2218
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2219
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2220
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2221
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2222
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2223
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2224
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2225
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2226
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2227
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2228
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2229
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2230
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2231
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2232
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2233
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2234
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2235
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2236
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2237
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2238
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2239
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2240
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2241
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2242
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2243
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2244
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2245
		.db		16h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2246
		.db		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2247
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2248
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2249
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2250
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2251
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2252
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2253
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2254
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2255
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2256
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2257
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2258
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2259
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2260
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2261
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2262
		.db		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2263
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2264
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2265
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2266
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2267
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2268
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2269
		.db		4
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2270
		.db		3Eh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2271
		.db		8
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2272
		.db		3Eh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2273
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2274
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2275
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2276
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2277
		.db		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2278
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2279
		.db		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2280
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2281
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2282
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2283
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2284
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2285
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2286
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2287
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2288
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2289
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2290
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2291
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2292
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2293
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2294
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2295
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2296
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2297
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2298
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2299
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2300
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2301
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2302
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2303
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2304
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2305
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2306
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2307
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2308
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2309
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2310
		.db		2Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2311
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2312
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2313
		.db		2Eh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2314
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2315
		.db		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2316
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2317
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2318
		.db		7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2319
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2320
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2321
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2322
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2323
		.db		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2324
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2325
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2326
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2327
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2328
		.db		7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2329
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2330
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2331
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2332
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2333
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2334
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2335
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2336
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2337
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2338
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2339
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2340
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2341
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2342
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2343
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2344
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2345
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2346
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2347
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2348
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2349
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2350
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2351
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2352
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2353
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2354
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2355
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2356
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2357
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2358
		.db		3Eh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2359
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2360
		.db		3Eh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2361
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2362
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2363
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2364
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2365
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2366
		.db		28h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2367
		.db		1Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2368
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2369
		.db		3Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2370
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2371
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2372
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2373
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2374
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2375
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2376
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2377
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2378
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2379
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2380
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2381
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2382
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2383
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2384
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2385
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2386
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2387
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2388
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2389
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2390
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2391
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2392
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2393
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2394
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2395
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2396
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2397
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2398
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2399
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2400
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2401
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2402
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2403
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2404
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2405
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2406
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2407
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2408
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2409
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2410
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2411
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2412
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2413
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2414
		.db		2Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2415
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2416
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2417
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2418
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2419
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2420
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2421
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2422
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2423
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2424
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2425
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2426
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2427
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2428
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2429
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2430
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2431
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2432
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2433
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2434
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2435
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2436
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2437
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2438
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2439
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2440
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2441
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2442
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2443
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2444
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2445
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2446
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2447
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2448
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2449
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2450
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2451
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2452
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2453
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2454
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2455
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2456
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2457
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2458
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2459
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2460
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2461
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2462
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2463
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2464
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2465
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2466
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2467
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2468
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2469
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2470
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2471
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2472
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2473
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2474
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2475
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2476
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2477
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2478
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2479
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2480
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2481
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2482
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2483
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2484
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2485
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2486
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2487
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2488
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2489
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2490
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2491
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2492
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2493
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2494
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2495
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2496
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2497
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2498
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2499
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2500
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2501
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2502
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2503
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2504
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2505
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2506
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2507
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2508
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2509
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2510
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2511
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2512
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2513
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2514
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2515
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2516
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2517
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2518
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2519
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2520
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2521
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2522
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2523
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2524
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2525
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2526
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2527
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2528
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2529
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2530
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2531
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2532
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2533
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2534
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2535
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2536
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2537
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2538
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2539
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2540
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2541
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2542
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2543
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2544
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2545
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2546
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2547
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2548
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2549
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2550
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2551
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2552
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2553
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2554
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2555
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2556
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2557
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2558
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2559
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2560
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2561
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2562
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2563
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2564
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2565
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2566
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2567
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2568
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2569
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2570
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2571
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2572
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2573
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2574
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2575
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2576
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2577
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2578
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2579
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2580
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2581
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2582
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2583
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2584
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2585
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2586
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2587
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2588
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2589
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2590
		.db		2  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2591
		.db		1Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2592
		.db		2Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  2593
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2594
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2595
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2596
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2597
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2598
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2599
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2600
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2601
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2602
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2603
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2604
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2605
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2606
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2607
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2608
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2609
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2610
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2611
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2612
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2613
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2614
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2615
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2616
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2617
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2618
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2619
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2620
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2621
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2622
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2623
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2624
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2625
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2626
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2627
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2628
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2629
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2630
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2631
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2632
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2633
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2634
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2635
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2636
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2637
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2638
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2639
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2640
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2641
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2642
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2643
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2644
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2645
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2646
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2647
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2648
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2649
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2650
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2651
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2652
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2653
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2654
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2655
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2656
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2657
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2658
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2659
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2660
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2661
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2662
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2663
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2664
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2665
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2666
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2667
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2668
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2669
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2670
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2671
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2672
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2673
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2674
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2675
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2676
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2677
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2678
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2679
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2680
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2681
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2682
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2683
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2684
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2685
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2686
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2687
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2688
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2689
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2690
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2691
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2692
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2693
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2694
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2695
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2696
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2697
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2698
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2699
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2700
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2701
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2702
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2703
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2704
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2705
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2706
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2707
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2708
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2709
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2710
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2711
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2712
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2713
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2714
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2715
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2716
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2717
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2718
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2719
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2720
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2721
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2722
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2723
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2724
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2725
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2726
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2727
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2728
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2729
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2730
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2731
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2732
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2733
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2734
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2735
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2736
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2737
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2738
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2739
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2740
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2741
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2742
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2743
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2744
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2745
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2746
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2747
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2748
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2749
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2750
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2751
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2752
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2753
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2754
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2755
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2756
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2757
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2758
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2759
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2760
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2761
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2762
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2763
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2764
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2765
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2766
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2767
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2768
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2769
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2770
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2771
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2772
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2773
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2774
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2775
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2776
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2777
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2778
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2779
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2780
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2781
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2782
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2783
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2784
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2785
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2786
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2787
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2788
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2789
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2790
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2791
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2792
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2793
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2794
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2795
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2796
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2797
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2798
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2799
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2800
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2801
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2802
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2803
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2804
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2805
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2806
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2807
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2808
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2809
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2810
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2811
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2812
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2813
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2814
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2815
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2816
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2817
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2818
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2819
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2820
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2821
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2822
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2823
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2824
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2825
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2826
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2827
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2828
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2829
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2830
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2831
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2832
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2833
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2834
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2835
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2836
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2837
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2838
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2839
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2840
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2841
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2842
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2843
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2844
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2845
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2846
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2847
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2848
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2849
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2850
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2851
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2852
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2853
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2854
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2855
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2856
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2857
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2858
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2859
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2860
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2861
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2862
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2863
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2864
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2865
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2866
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2867
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2868
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2869
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2870
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2871
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2872
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2873
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2874
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2875
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2876
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2877
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2878
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2879
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2880
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2881
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2882
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2883
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2884
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2885
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2886
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2887
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2888
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2889
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2890
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2891
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2892
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2893
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2894
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2895
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2896
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2897
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2898
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2899
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2900
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2901
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2902
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2903
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2904
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2905
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2906
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2907
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2908
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2909
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2910
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2911
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2912
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2913
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2914
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2915
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2916
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2917
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2918
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2919
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2920
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2921
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2922
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2923
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2924
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2925
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2926
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2927
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2928
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2929
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2930
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2931
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2932
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2933
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2934
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2935
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2936
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2937
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2938
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2939
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2940
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2941
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2942
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2943
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2944
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2945
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2946
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2947
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2948
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2949
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2950
		.db		34h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2951
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2952
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2953
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2954
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2955
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2956
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2957
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2958
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2959
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2960
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2961
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2962
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2963
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2964
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2965
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2966
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2967
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2968
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2969
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2970
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2971
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2972
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2973
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2974
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2975
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2976
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2977
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2978
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2979
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2980
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2981
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2982
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2983
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2984
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2985
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2986
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2987
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2988
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2989
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2990
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2991
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2992
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2993
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2994
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2995
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2996
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2997
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2998
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  2999
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3000
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3001
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3002
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3003
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3004
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3005
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3006
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3007
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3008
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3009
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3010
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3011
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3012
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3013
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3014
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3015
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3016
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3017
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3018
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3019
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3020
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3021
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3022
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3023
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3024
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3025
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3026
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3027
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3028
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3029
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3030
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3031
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3032
		.db		2Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3033
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3034
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3035
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3036
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3037
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3038
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3039
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3040
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3041
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3042
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3043
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3044
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3045
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3046
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3047
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3048
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3049
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3050
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3051
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3052
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3053
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3054
		.db		1Eh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3055
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3056
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3057
		.db		1Eh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3058
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3059
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3060
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3061
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3062
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3063
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3064
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3065
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3066
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3067
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3068
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3069
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3070
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3071
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3072
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3073
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3074
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3075
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3076
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3077
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3078
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3079
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3080
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3081
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3082
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3083
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3084
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3085
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3086
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3087
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3088
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3089
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3090
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3091
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3092
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3093
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3094
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3095
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3096
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3097
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3098
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3099
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3100
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3101
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3102
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3103
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3104
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3105
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3106
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3107
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3108
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3109
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3110
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3111
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3112
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3113
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3114
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3115
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3116
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3117
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3118
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3119
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3120
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3121
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3122
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3123
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3124
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3125
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3126
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3127
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3128
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3129
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3130
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3131
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3132
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3133
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3134
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3135
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3136
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3137
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3138
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3139
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3140
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3141
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3142
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3143
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3144
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3145
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3146
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3147
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3148
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3149
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3150
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3151
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3152
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3153
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3154
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3155
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3156
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3157
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3158
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3159
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3160
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3161
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3162
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3163
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3164
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3165
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3166
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3167
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3168
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3169
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3170
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3171
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3172
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3173
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3174
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3175
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3176
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3177
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3178
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3179
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3180
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3181
		.db		4  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3182
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3183
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3184
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3185
		.db		12h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3186
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3187
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3188
		.db		10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3189
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3190
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3191
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3192
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3193
		.db		12h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3194
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3195
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3196
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3197
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3198
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3199
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3200
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3201
		.db		12h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3202
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3203
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3204
		.db		12h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3205
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3206
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3207
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3208
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3209
		.db		12h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3210
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3211
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3212
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3213
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3214
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3215
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3216
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3217
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3218
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3219
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3220
		.db		10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3221
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3222
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3223
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3224
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3225
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3226
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3227
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3228
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3229
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3230
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3231
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3232
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3233
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3234
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3235
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3236
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3237
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3238
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3239
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3240
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3241
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3242
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3243
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3244
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3245
		.db		0Eh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3246
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3247
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3248
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3249
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3250
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3251
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3252
		.db		2  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3253
		.db		1Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3254
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3255
		.db		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3256
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3257
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3258
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3259
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3260
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3261
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3262
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3263
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3264
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3265
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3266
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3267
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3268
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3269
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3270
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3271
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3272
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3273
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3274
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3275
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3276
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3277
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3278
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3279
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3280
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3281
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3282
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3283
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3284
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3285
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3286
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3287
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3288
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3289
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3290
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3291
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3292
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3293
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3294
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3295
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3296
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3297
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3298
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3299
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3300
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3301
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3302
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3303
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3304
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3305
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3306
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3307
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3308
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3309
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3310
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3311
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3312
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3313
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3314
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3315
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3316
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3317
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3318
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3319
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3320
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3321
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3322
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3323
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3324
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3325
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3326
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3327
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3328
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3329
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3330
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3331
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3332
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3333
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3334
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3335
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3336
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3337
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3338
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3339
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3340
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3341
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3342
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3343
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3344
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3345
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3346
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3347
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3348
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3349
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3350
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3351
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3352
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3353
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3354
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3355
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3356
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3357
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3358
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3359
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3360
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3361
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3362
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3363
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3364
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3365
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3366
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3367
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3368
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3369
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3370
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3371
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3372
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3373
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3374
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3375
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3376
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3377
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3378
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3379
		.db		6  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3380
		.db		10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3381
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3382
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3383
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3384
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3385
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3386
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3387
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3388
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3389
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3390
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3391
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3392
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3393
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3394
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3395
		.db		6  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3396
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3397
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3398
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3399
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3400
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3401
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3402
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3403
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3404
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3405
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3406
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3407
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3408
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3409
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3410
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3411
		.db		6  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3412
		.db		10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3413
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3414
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3415
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3416
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3417
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3418
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3419
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3420
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3421
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3422
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3423
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3424
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3425
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3426
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3427
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3428
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3429
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3430
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3431
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3432
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3433
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3434
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3435
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3436
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3437
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3438
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3439
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3440
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3441
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3442
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3443
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3444
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3445
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3446
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3447
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3448
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3449
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3450
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3451
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3452
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3453
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3454
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3455
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3456
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3457
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3458
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3459
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3460
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3461
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3462
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3463
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3464
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3465
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3466
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3467
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3468
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3469
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3470
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3471
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3472
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3473
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3474
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3475
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3476
		.db		10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3477
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3478
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3479
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3480
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3481
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3482
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3483
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3484
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3485
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3486
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3487
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3488
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3489
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3490
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3491
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3492
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3493
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3494
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3495
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3496
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3497
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3498
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3499
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3500
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3501
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3502
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3503
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3504
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3505
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3506
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3507
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3508
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3509
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3510
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3511
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3512
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3513
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3514
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3515
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3516
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3517
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3518
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3519
		.db		1Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3520
		.db		16h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3521
		.db		12h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3522
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3523
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3524
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3525
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3526
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3527
		.db		1Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3528
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3529
		.db		12h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3530
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3531
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3532
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3533
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3534
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3535
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3536
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3537
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3538
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3539
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3540
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3541
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3542
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3543
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3544
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3545
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3546
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3547
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3548
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3549
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3550
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3551
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3552
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3553
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3554
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3555
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3556
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3557
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3558
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3559
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3560
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3561
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3562
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3563
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3564
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3565
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3566
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3567
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3568
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3569
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3570
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3571
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3572
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3573
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3574
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3575
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3576
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3577
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3578
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3579
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3580
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3581
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3582
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3583
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3584
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3585
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3586
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3587
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3588
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3589
		.db		2  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3590
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3591
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3592
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3593
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3594
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3595
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3596
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3597
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3598
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3599
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3600
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3601
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3602
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3603
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3604
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3605
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3606
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3607
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3608
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3609
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3610
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3611
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3612
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3613
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3614
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3615
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3616
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3617
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3618
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3619
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3620
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3621
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3622
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3623
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3624
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3625
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3626
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3627
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3628
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3629
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3630
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3631
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3632
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3633
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3634
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3635
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3636
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3637
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3638
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3639
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3640
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3641
		.db		10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3642
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3643
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3644
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3645
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3646
		.db		3Eh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3647
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3648
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3649
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3650
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3651
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3652
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3653
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3654
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3655
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3656
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3657
		.db		10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3658
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3659
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3660
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3661
		.db		1Eh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3662
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3663
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3664
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3665
		.db		1Eh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3666
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3667
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3668
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3669
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3670
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3671
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3672
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3673
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3674
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3675
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3676
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3677
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3678
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3679
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3680
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3681
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3682
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3683
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3684
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3685
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3686
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3687
		.db		2Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3688
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3689
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3690
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3691
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3692
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3693
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3694
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3695
		.db		22h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3696
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3697
		.db		36h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3698
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3699
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3700
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3701
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3702
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3703
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3704
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3705
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3706
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3707
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3708
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3709
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3710
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3711
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3712
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3713
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3714
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3715
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3716
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3717
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3718
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3719
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3720
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3721
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3722
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3723
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3724
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3725
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3726
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3727
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3728
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3729
		.db		7  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3730
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3731
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3732
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3733
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3734
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3735
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3736
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3737
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3738
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3739
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3740
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3741
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3742
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3743
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3744
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3745
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3746
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3747
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3748
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3749
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3750
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3751
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3752
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3753
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3754
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3755
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3756
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3757
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3758
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3759
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3760
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3761
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3762
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3763
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3764
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3765
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3766
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3767
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3768
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3769
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3770
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3771
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3772
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3773
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3774
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3775
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3776
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3777
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3778
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3779
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3780
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3781
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3782
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3783
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3784
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3785
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3786
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3787
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3788
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3789
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3790
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3791
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3792
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3793
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3794
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3795
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3796
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3797
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3798
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3799
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3800
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3801
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3802
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3803
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3804
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3805
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3806
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3807
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3808
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3809
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3810
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3811
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3812
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3813
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3814
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3815
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3816
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3817
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3818
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3819
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3820
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3821
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3822
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3823
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3824
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3825
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3826
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3827
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3828
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3829
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3830
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3831
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3832
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3833
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3834
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3835
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3836
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3837
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3838
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3839
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3840
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3841
		.db		7  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3842
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3843
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3844
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3845
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3846
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3847
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3848
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3849
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3850
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3851
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3852
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3853
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3854
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3855
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3856
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3857
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3858
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3859
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3860
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3861
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3862
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3863
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3864
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3865
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3866
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3867
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3868
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3869
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3870
		.db		7  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3871
		.db		7  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3872
		.db		7  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3873
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3874
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3875
		.db		6  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3876
		.db		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3877
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3878
		.db		21h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3879
		.db		24h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3880
		.db		28h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3881
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3882
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3883
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3884
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3885
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3886
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3887
		.db		8  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3888
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3889
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3890
		.db		1Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3891
		.db		6  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3892
		.db		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3893
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3894
		.db		23h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3895
		.db		24h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3896
		.db		28h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3897
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3898
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3899
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3900
		.db		4  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3901
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3902
		.db		11h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3903
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3904
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3905
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3906
		.db		1Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3907
		.db		6  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3908
		.db		0Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3909
		.db		29h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3910
		.db		39h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3911
		.db		29h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3912
		.db		0Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3913
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3914
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3915
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3916
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3917
		.db		9  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3918
		.db		0Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3919
		.db		9  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3920
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3921
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3922
		.db		1Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3923
		.db		6  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3924
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3925
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3926
		.db		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3927
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3928
		.db		3Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3929
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3930
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3931
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3932
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3933
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3934
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3935
		.db		1Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3936
		.db		17h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3937
		.db		15h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3938
		.db		1Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3939
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3940
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3941
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3942
		.db		3Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3943
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3944
		.db		0Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3945
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3946
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3947
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3948
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3949
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3950
		.db		15h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3951
		.db		10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3952
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3953
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3954
		.db		1Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3955
		.db		6  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3956
		.db		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3957
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3958
		.db		21h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3959
		.db		26h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3960
		.db		28h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3961
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3962
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3963
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3964
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3965
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3966
		.db		10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3967
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3968
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3969
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  3970
		.db		1Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3971
		.db		2  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3972
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3973
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3974
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3975
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3976
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3977
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3978
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3979
		.db		3  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3980
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3981
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3982
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3983
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3984
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3985
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3986
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3987
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3988
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3989
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3990
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3991
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3992
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3993
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3994
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3995
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3996
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3997
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3998
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  3999
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4000
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4001
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4002
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4003
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4004
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4005
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4006
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4007
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4008
		.db		4  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4009
		.db		0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4010
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4011
		.db		6  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4012
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4013
		.db		1Ch
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4014
		.db		28h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4015
		.db		1Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4016
		.db		0Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4017
		.db		3Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4018
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4019
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4020
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4021
		.db		4  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4022
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4023
		.db		1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4024
		.db		0Eh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4025
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4026
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4027
		.db		5  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4028
		.db		0  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4029
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4030
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4031
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4032
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4033
		.db		14h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4034
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4035
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4036
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4037
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4038
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4039
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4040
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4041
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4042
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4043
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4044
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4045
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4046
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4047
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4048
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4049
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4050
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4051
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4052
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4053
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4054
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4055
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4056
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4057
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4058
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4059
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4060
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4061
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4062
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4063
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4064
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4065
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4066
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4067
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4068
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4069
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4070
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4071
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4072
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4073
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4074
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4075
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4076
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4077
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4078
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4079
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4080
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4081
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4082
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4083
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4084
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4085
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4086
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4087
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4088
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4089
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4090
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4091
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4092
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4093
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4094
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4095
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4096
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4097
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4098
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4099
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4100
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4101
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4102
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4103
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4104
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4105
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4106
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4107
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4108
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4109
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4110
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4111
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4112
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4113
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4114
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4115
		.db		1  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4116
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4117
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4118
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4119
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4120
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4121
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4122
		.db		0  
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4123
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  4124
InitAboutContext:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4125
		ld		hl, p03loc_569D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4126
		call	AppInit
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4127
		call	j_CleanAll
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4128
		set		grfSplitOverride, (iy+sGrFlags)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4129
p03loc_5681:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4130
		sub		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4131
		ld		(winTop), a
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4132
		call	j_ClrWindow
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4133
		call	Page0Call_3E07
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4134
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4135
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4136
;Uh?
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4137
		jr		p03loc_568D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4138
p03loc_568D:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4139
#endif
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4140
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4141
		res		curAble, (iy+curFlags)
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4142
		res		curOn, (iy+curFlags)
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4143
		set		curLock, (iy+curFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4144
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4145
p03loc_569A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4146
		jp		p03loc_5681
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4147
p03loc_569D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4148
		.dw		p03loc_56BA
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4149
		.dw		j_numPPutAway
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4150
		.dw		p03loc_56AA
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4151
		.dw		p03loc_56B6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4152
		.dw		p03loc_56B7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4153
		.dw		p03loc_569A
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4154
		.db		0Ah
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4155
p03loc_56AA:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4156
		res		curLock, (iy+curFlags)
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4157
		res		grfSplitOverride, (iy+sGrFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4158
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4159
		ld		(varClass), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4160
p03loc_56B6:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4161
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4162
p03loc_56B7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4163
		jp		JForceCmdNoChar
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4164
p03loc_56BA:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4165
		cp		kApp
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  4166
		jp		z, InitAboutContext
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4167
		cp		kClear
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4168
		jp		z, JForceCmdNoChar
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4169
		cp		echoStart1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4170
		ret		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4171
		jp		JForceCmd
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4172
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4173
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4174
;Not referenced anywhere.
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4175
		call	page0_176F
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4176
		ld		hl, p03loc_5814
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4177
		call	AppInit
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4178
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4179
#endif
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4180
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  4181
InitTVMContext:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4182
		res		1, (iy+19h)
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4183
		set		grfSplitOverride, (iy+sGrFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4184
		call	RESETWINTOP
39
4651e87022c7 Fix flag.
brandonlw
parents: 38
diff changeset
  4185
		bit		prgmEdit, (iy+prgmFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4186
		jr		z, p03loc_56F0
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4187
		call	j_POPCX
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  4188
		call	call_cxPutAway
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4189
		ld		a, kSolveTVM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4190
		ld		(mcxCurApp), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4191
p03loc_56F0:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4192
		ld		hl, p03loc_5814
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4193
		call	AppInit
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4194
		ld		hl, p03loc_58AB
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4195
		ld		(unk_9700), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4196
		call	p03sub_43DD
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4197
		ld		a, 7
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4198
		call	Page0Call_36E7
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4199
		call	j_SolveDisp
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4200
		call	Page03_372F
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4201
		ret
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4202
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  4203
InitWindowContext:
39
4651e87022c7 Fix flag.
brandonlw
parents: 38
diff changeset
  4204
		bit		prgmEdit, (iy+prgmFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4205
		jr		z, JForceWindowSettings
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4206
		call	j_POPCX
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  4207
		call	call_cxPutAway
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4208
		ld		a, kWindow
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4209
		ld		(mcxCurApp), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4210
JForceWindowSettings:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4211
		call	page0_176F
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4212
		ld		hl, p03loc_5814
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4213
		call	AppInit
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4214
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4215
		jr		z, p03loc_5732
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4216
		ld		a, 4
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4217
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4218
		jr		nz, p03loc_574A
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4219
p03loc_5732:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4220
		ld		hl, p03loc_595D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4221
		ld		a, 11h
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4222
		bit		localizeHookActive, (iy+hookflags3)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4223
		call	nz, j_call_character_hook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4224
		ld		de, OP3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4225
		call	Mov8B
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4226
		call	Mov8B
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4227
		call	Page03_3711
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4228
p03loc_574A:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4229
		call	p03sub_5751
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4230
		call	Page03_372F
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4231
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4232
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4233
p03sub_5751:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4234
		bit		windowHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4235
		jr		z, p03loc_575E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4236
		ld		a, 7
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4237
		call	Page0Call_362D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4238
		jr		nz, p03sub_5779
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4239
p03loc_575E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4240
		ld		hl, p03loc_5836
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  4241
		call	IsFuncMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4242
		jr		nz, p03sub_5779
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4243
		ld		hl, p03loc_584E
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  4244
		call	IsFunctionMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4245
		jr		nz, p03sub_5779
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4246
		ld		hl, p03loc_588D
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  4247
		call	IsParametricMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4248
		jr		nz, p03sub_5779
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4249
		ld		hl, p03loc_586C
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4250
p03sub_5779:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4251
		ld		(unk_9700), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4252
		call	p03sub_43DD
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4253
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4254
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  4255
InitZoomContext:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4256
		ld		hl, p03loc_5814
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4257
		call	AppInit
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4258
		call	page0_176F
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4259
		ld		hl, p03loc_5970
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4260
		ld		a, 12h
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4261
		bit		localizeHookActive, (iy+hookflags3)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4262
		call	nz, j_call_character_hook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4263
		ld		de, OP3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4264
		call	Mov8B
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4265
		call	Mov8B
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4266
		call	Page03_3711
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4267
		ld		hl, p03loc_5824
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4268
		call	p03sub_5779
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4269
		call	Page03_372F
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4270
		ret
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4271
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  4272
InitTableSetContext:
39
4651e87022c7 Fix flag.
brandonlw
parents: 38
diff changeset
  4273
		bit		prgmEdit, (iy+prgmFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4274
		jp		nz, Page0Call_35F7
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4275
		call	InitNumVec
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4276
		set		grfSplitOverride, (iy+sGrFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4277
		ld		hl, p03loc_5964
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4278
		ld		a, 13h
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4279
		bit		localizeHookActive, (iy+hookflags3)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4280
		call	nz, j_call_character_hook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4281
		ld		de, OP3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4282
		call	Mov8B
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4283
		call	Mov8B
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4284
		call	Page03_3711
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4285
		ld		hl, p03loc_582D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4286
		call	p03sub_5779
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4287
		ld		a, 3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4288
		call	Page0Call_35FD
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4289
		call	Page0Call_3603
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4290
		call	Page03_372F
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4291
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4292
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4293
InitNumVec:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4294
		ld		hl, p03loc_5814
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4295
		call	AppInit
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4296
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4297
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4298
Page03_3609:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4299
		call	InitNumVec
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4300
		call	p03sub_45C1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4301
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4302
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4303
Page03_360F:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4304
		call	InitNumVec
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4305
		call	p03sub_45BA
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4306
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4307
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4308
Page03_3615:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4309
		ld		ix, p03loc_586C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4310
		ld		(unk_9700), ix
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4311
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4312
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4313
Page03_361B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4314
		ld		hl, p03loc_58C3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4315
		ld		(unk_9700), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4316
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4317
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  4318
Page03_3621:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4319
		push	ix
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4320
		ld		ix, p03loc_586C
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4321
		call	setTitle
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4322
		pop		ix
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4323
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4324
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4325
p03loc_5814:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4326
		.dw p03loc_4677
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4327
		.dw j_numPPutAway
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4328
		.dw p03sub_4B7F
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4329
		.dw j_numRedisp
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4330
		.dw Page0Call_37FB
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4331
		.dw p03loc_4B90
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4332
		.db 0Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4333
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4334
		.db		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4335
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4336
		.db		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4337
p03loc_5824:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4338
		.db		28h	; (
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4339
		.db		0D6h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4340
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4341
		.db		29h	; )
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4342
		.db		0DCh	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4343
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4344
		.db		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4345
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4346
		.db		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4347
p03loc_582D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4348
		.db		1Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4349
		.db		0E2h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4350
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4351
		.db		21h	; !
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4352
		.db		0EBh	; 
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4353
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4354
		.db		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4355
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4356
		.db		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4357
p03loc_5836:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4358
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4359
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4360
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4361
		.db		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4362
		.db		0FBh	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4363
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4364
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4365
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4366
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4367
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4368
		.db		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4369
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4370
		.db		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4371
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4372
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4373
		.db		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4374
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4375
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4376
		.db		36h	; 6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4377
		.db		19h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4378
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4379
		.db		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4380
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4381
		.db		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4382
p03loc_584E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4383
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4384
		.db		23h	; #
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4385
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4386
		.db		11h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4387
		.db		1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4388
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4389
		.db		23h	; #
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4390
		.db		28h	; (
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4391
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4392
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4393
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4394
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4395
		.db		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4396
		.db		0FBh	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4397
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4398
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4399
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4400
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4401
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4402
		.db		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4403
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4404
		.db		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4405
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4406
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4407
		.db		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4408
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4409
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4410
		.db		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4411
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4412
		.db		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4413
p03loc_586C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4414
		.db		1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4415
		.db		0F0h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4416
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4417
		.db		1Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4418
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4419
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4420
		.db		1Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4421
		.db		45h	; E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4422
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4423
		.db		34h	; 4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4424
		.db		4Fh	; O
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4425
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4426
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4427
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4428
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4429
		.db		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4430
		.db		0FBh	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4431
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4432
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4433
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4434
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4435
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4436
		.db		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4437
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4438
		.db		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4439
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4440
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4441
		.db		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4442
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4443
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4444
		.db		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4445
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4446
		.db		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4447
p03loc_588D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4448
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4449
		.db		0D6h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4450
		.db		26h	; &
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4451
		.db		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4452
		.db		0D1h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4453
		.db		26h	; &
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4454
		.db		22h	; "
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4455
		.db		0F5h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4456
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4457
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4458
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4459
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4460
		.db		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4461
		.db		0FBh	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4462
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4463
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4464
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4465
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4466
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4467
		.db		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4468
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4469
		.db		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4470
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4471
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4472
		.db		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4473
		.db		14h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4474
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4475
		.db		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4476
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4477
		.db		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4478
p03loc_58AB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4479
		.db		2Bh	; +
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4480
		.db		2Eh	; .
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4481
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4482
		.db		2Ch	; ,
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4483
		.db		30h	; 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4484
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4485
		.db		2Dh	; -
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4486
		.db		33h	; 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4487
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4488
		.db		2Eh	; .
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4489
		.db		36h	; 6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4490
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4491
		.db		2Fh	; /
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4492
		.db		3Ah	; :
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4493
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4494
		.db		30h	; 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4495
		.db		3Dh	; =
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4496
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4497
		.db		31h	; 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4498
		.db		41h	; A
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4499
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4500
		.db		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4501
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4502
		.db		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4503
p03loc_58C3:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4504
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4505
		.db		0F0h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4506
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4507
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4508
		.db		0F0h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4509
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4510
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4511
		.db		0F0h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4512
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4513
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4514
		.db		0F0h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4515
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4516
		.db		32h	; 2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4517
		.db		0F0h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4518
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4519
		.db		32h	; 2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4520
		.db		0F0h	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4521
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4522
		.db		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4523
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4524
		.db		46h	; F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4525
		.db		61h	; a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4526
		.db		63h	; c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4527
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4528
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4529
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4530
		.db		46h	; F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4531
		.db		61h	; a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4532
		.db		63h	; c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4533
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4534
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4535
		.db		54h	; T
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4536
		.db		62h	; b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4537
		.db		6Ch	; l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4538
		.db		53h	; S
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4539
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4540
		.db		61h	; a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4541
		.db		72h	; r
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4542
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4543
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4544
		.db		0BEh	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4545
		.db		54h	; T
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4546
		.db		62h	; b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4547
		.db		6Ch	; l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4548
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4549
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4550
		.db		4Dh	; M
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4551
		.db		69h	; i
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4552
		.db		6Eh	; n
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4553
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4554
		.db		54h	; T
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4555
		.db		73h	; s
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4556
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4557
		.db		65h	; e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4558
		.db		70h	; p
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4559
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4560
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4561
		.db		6Dh	; m
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4562
		.db		61h	; a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4563
		.db		78h	; x
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4564
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4565
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4566
		.db		6Dh	; m
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4567
		.db		69h	; i
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4568
		.db		6Eh	; n
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4569
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4570
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4571
		.db		73h	; s
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4572
		.db		63h	; c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4573
		.db		6Ch	; l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4574
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4575
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4576
		.db		6Dh	; m
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4577
		.db		61h	; a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4578
		.db		78h	; x
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4579
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4580
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4581
		.db		6Dh	; m
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4582
		.db		69h	; i
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4583
		.db		6Eh	; n
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4584
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4585
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4586
		.db		73h	; s
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4587
		.db		63h	; c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4588
		.db		6Ch	; l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4589
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4590
		.db		58h	; X
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4591
		.db		72h	; r
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4592
		.db		65h	; e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4593
		.db		73h	; s
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4594
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4595
		.db		5Bh	; [
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4596
		.db		6Dh	; m
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4597
		.db		61h	; a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4598
		.db		78h	; x
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4599
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4600
		.db		5Bh	; [
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4601
		.db		6Dh	; m
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4602
		.db		69h	; i
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4603
		.db		6Eh	; n
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4604
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4605
		.db		5Bh	; [
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4606
		.db		73h	; s
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4607
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4608
		.db		65h	; e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4609
		.db		70h	; p
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4610
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4611
		.db		0DDh	; �
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4612
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4613
		.db		49h	; I
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4614
		.db		25h	; %
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4615
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4616
		.db		50h	; P
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4617
		.db		56h	; V
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4618
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4619
		.db		50h	; P
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4620
		.db		4Dh	; M
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4621
		.db		54h	; T
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4622
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4623
		.db		46h	; F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4624
		.db		56h	; V
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4625
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4626
		.db		50h	; P
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4627
		.db		2Fh	; /
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4628
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4629
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4630
		.db		43h	; C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4631
		.db		2Fh	; /
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4632
		.db		59h	; Y
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4633
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4634
		.db		50h	; P
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4635
		.db		6Ch	; l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4636
		.db		6Fh	; o
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4637
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4638
		.db		53h	; S
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4639
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4640
		.db		61h	; a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4641
		.db		72h	; r
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4642
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4643
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4644
		.db		50h	; P
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4645
		.db		6Ch	; l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4646
		.db		6Fh	; o
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4647
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4648
		.db		53h	; S
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4649
		.db		74h	; t
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4650
		.db		65h	; e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4651
		.db		70h	; p
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4652
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4653
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4654
		.db		4Dh	; M
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4655
		.db		61h	; a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4656
		.db		78h	; x
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4657
		.db		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4658
p03loc_595D:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4659
		.asc 'WINDOW',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4660
p03loc_5964:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4661
		.asc 'TABLE SETUP',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4662
p03loc_5970:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4663
		.asc 'ZOOM FACTORS',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4664
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4665
p03sub_597D:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4666
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4667
		call	ShRAcc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4668
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4669
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4670
		and		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4671
		inc		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4672
		add		a, 0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4673
		daa
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4674
		jr		p03loc_598E
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4675
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4676
p03loc_598B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4677
		add		a, 16h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4678
		daa
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4679
p03loc_598E:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4680
		djnz	p03loc_598B
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4681
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4682
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4683
SetXXOP1:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4684
		ld		hl, OP1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4685
		jr		p03loc_5999
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4686
SetXXOP2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4687
		ld		hl, OP2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4688
p03loc_5999:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4689
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4690
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4691
		call	OPSet0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4692
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4693
		call	p03sub_597D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4694
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4695
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4696
		cp		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4697
		jr		nc, p03loc_59AD
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4698
		call	ShLAcc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4699
		jr		p03loc_59AE
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4700
p03loc_59AD:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4701
		inc		(hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4702
p03loc_59AE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4703
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4704
		ld		(hl), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4705
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4706
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4707
SetXXXXOP2:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4708
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4709
		call	OP2Set0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4710
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4711
		ld		a, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4712
		or		l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4713
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4714
		ld		a, l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4715
		and		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4716
		add		a, 0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4717
		daa
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  4718
		ld		(OP2+4), a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4719
		ld		a, h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4720
		call	ShRAcc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4721
		ld		de, 4096h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4722
		call	p03sub_59FA
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4723
		ld		a, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4724
		and		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4725
		ld		de, 256h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4726
		call	p03sub_59FA
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4727
		ld		a, l
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4728
		call	ShRAcc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4729
		ld		de, 16h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4730
		call	p03sub_59FA
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4731
		ld		hl, 8484h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4732
		ld		(hl), 85h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4733
p03loc_59E4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4734
		ld		a, (OP2M)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4735
		cp		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4736
		ret		nc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4737
		ld		hl, 8487h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4738
		xor		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4739
		rld
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4740
		dec		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4741
		rld
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4742
		dec		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4743
		rld
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4744
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4745
		dec		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4746
		jr		p03loc_59E4
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4747
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4748
p03sub_59FA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4749
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4750
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4751
		ld		b, a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4752
p03loc_59FD:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4753
		ld		hl, 8487h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4754
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4755
		add		a, e
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4756
		daa
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4757
		ld		(hl), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4758
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4759
		ld		a, (hl)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4760
		adc		a, d
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4761
		daa
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4762
		ld		(hl), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4763
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4764
		ld		a, (hl)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4765
		adc		a, 0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4766
		daa
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4767
		ld		(hl), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4768
		djnz	p03loc_59FD
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4769
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4770
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4771
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4772
p03sub_5A13:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4773
		call	PopRealO6
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4774
		call	PopRealO5
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4775
		ld		de, OP5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4776
		ld		hl, OP6
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4777
		call	j_WTOV
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4778
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4779
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4780
UCLineS:push	af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4781
		scf
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4782
		jr		p03loc_5A49
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4783
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4784
p03sub_5A27:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4785
		ld		hl, (FPS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4786
		ld		de, 0FFE5h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4787
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4788
		ld		de, 0FFF7h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4789
		call	p03sub_7084
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4790
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4791
		call	p03sub_707D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4792
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4793
		ld		l, a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4794
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4795
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4796
CLine:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4797
		bit		g_style_active, (iy+sGrFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4798
		jr		z, p03loc_5A41
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4799
p03loc_5A41:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4800
		call	PUSHMCPLXO3
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4801
		call	PUSHMCPLXO1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4802
CLineS:	push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4803
		or		a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4804
p03loc_5A49:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4805
		ld		a, 2
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  4806
		bit		drawingHookActive, (iy+hookflags3)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4807
		call	nz, Page0Call_3483
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4808
		jr		z, p03loc_5A57
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4809
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4810
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4811
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4812
BCALL_503E:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4813
		push	af
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4814
p03loc_5A57:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4815
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4816
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4817
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4818
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4819
		ld		c, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4820
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4821
		ld		ix, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4822
		add		ix, sp
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4823
		ld		a, 0Ah
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4824
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4825
		ld		de, 0FFE5h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4826
		call	j_XYRNDBOTH
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4827
		jp		nz, p03loc_5C20
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4828
		ld		de, 0FFF7h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4829
		call	j_XYRNDBOTH
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4830
		jp		nz, p03loc_5C10
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4831
		call	p03sub_5C38
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4832
		jr		z, p03loc_5A96
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4833
		call	CpyTo1FPS3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4834
		ld		de, OP1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4835
		call	j_XftoI
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4836
		ld		(unk_9188), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4837
		call	CpyTo1FPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4838
		ld		de, OP1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  4839
		call	j_XftoI
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4840
		ld		(unk_9189), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4841
p03loc_5A96:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4842
		call	p03sub_5A27
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4843
		ld		(unk_918A), hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4844
p03loc_5A9C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4845
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4846
		dec		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4847
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4848
		jp		z, p03loc_5D38
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4849
		call	p03sub_5A27
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4850
		and		h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4851
		jr		z, p03loc_5ACB
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4852
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4853
		jr		nc, p03loc_5AC4
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4854
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4855
		call	p03sub_5C38
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4856
		jp		z, p03loc_5D37
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4857
		ld		a, (unk_9189)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4858
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4859
		ld		a, (unk_9188)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4860
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4861
		bit		0, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4862
		jr		z, p03loc_5AC7
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4863
		ld		e, 3Fh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4864
p03loc_5AC1:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4865
		call	p03sub_5C4D
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4866
p03loc_5AC4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4867
		jp		p03loc_5D38
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4868
p03loc_5AC7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4869
		ld		e, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4870
		jr		p03loc_5AC1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4871
p03loc_5ACB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4872
		ld		a, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4873
		or		l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4874
		jp		z, p03loc_5BB2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4875
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4876
		ld		hl, (FPS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4877
		ld		de, 0FFE5h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4878
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4879
		ld		(chkDelPtr2), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4880
		ld		de, 0FFF7h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4881
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4882
		ld		(chkDelPtr1), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4883
		bit		0, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4884
		jr		z, p03loc_5B24
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4885
		res		0, (ix+0)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4886
		call	CpyTo1FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4887
		call	CpyTo2FPS3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4888
		ld		b, 0Ch
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4889
		call	p03sub_5D0A
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4890
		call	FPSub
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4891
		call	CkOP1FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4892
		jr		nz, p03loc_5B05
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4893
p03loc_5AFF:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4894
		set		2, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4895
		jr		p03loc_5B24
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4896
p03loc_5B05:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4897
		call	OP1ToOP5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4898
		call	CpyTo1FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4899
		call	CpyTo2FPS2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4900
		ld		b, 3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4901
		call	p03sub_5D0A
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4902
		call	FPSub
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4903
		call	CkOP1FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4904
		jr		z, p03loc_5AFF
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4905
		call	OP5ToOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4906
		call	fpdiv
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4907
		call	OP1ToOP6
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4908
p03loc_5B24:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4909
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4910
		bit		1, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4911
		jr		nz, p03loc_5B33
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4912
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4913
		or		h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4914
		jr		nz, p03loc_5B44
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4915
		set		1, (ix+0)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4916
p03loc_5B33:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4917
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4918
		ld		hl, (FPS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4919
		ld		de, 0FFF7h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4920
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4921
		ld		(chkDelPtr2), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4922
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4923
		ld		(chkDelPtr1), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4924
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4925
		ld		h, l
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4926
p03loc_5B44:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4927
		bit		0, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4928
		jr		z, p03loc_5B5D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4929
		ld		hl, Ymax
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4930
p03loc_5B4B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4931
		ld		(chkDelPtr2), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4932
		bit		2, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4933
		jr		nz, p03loc_5B8A
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4934
		scf
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4935
		call	p03sub_5C71
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4936
		ld		de, OP1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4937
		jr		p03loc_5B8E
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4938
p03loc_5B5D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4939
		bit		1, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4940
		jr		z, p03loc_5B66
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4941
		ld		hl, Ymin
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4942
		jr		p03loc_5B4B
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4943
p03loc_5B66:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4944
		bit		2, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4945
		jr		z, p03loc_5B6F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4946
		ld		de, Xmax
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4947
		jr		p03loc_5B76
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4948
p03loc_5B6F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4949
		bit		3, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4950
		jr		z, p03loc_5B8A
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4951
		ld		de, Xmin
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4952
p03loc_5B76:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4953
		bit		2, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4954
		jr		nz, p03loc_5B8E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4955
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4956
		ld		(chkDelPtr1), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4957
		or		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4958
		call	p03sub_5C71
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4959
		ld		hl, OP1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4960
		ld		(chkDelPtr2), hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4961
p03loc_5B8A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4962
		ld		de, (chkDelPtr1)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4963
p03loc_5B8E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4964
		bit		1, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4965
		jr		nz, p03loc_5BA5
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4966
		call	CpyToFPS3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4967
		ld		de, (chkDelPtr2)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4968
		call	CpyToFPS2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4969
		set		3, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4970
		jp		p03loc_5A9C
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4971
p03loc_5BA5:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4972
		call	CpyToFPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4973
		ld		de, (chkDelPtr2)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4974
		call	CpyToFPST
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4975
		jp		p03loc_5A9C
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4976
p03loc_5BB2:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4977
		call	p03sub_5A13
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4978
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4979
		call	p03sub_5A13
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4980
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4981
		call	p03sub_5C38
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4982
		jr		z, p03loc_5BD7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4983
		ld		a, (unk_9188)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4984
		cp		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4985
		jr		z, p03loc_5BD7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4986
		ld		hl, (unk_918A)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4987
		bit		0, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4988
		jr		z, p03loc_5BD3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  4989
		ld		e, 3Fh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4990
p03loc_5BCE:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  4991
		call	p03sub_5C4D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4992
		jr		p03loc_5BD7
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4993
p03loc_5BD3:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4994
		ld		e, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4995
		jr		p03loc_5BCE
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  4996
p03loc_5BD7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4997
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4998
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  4999
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5000
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5001
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5002
		ld		h, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5003
		jr		nc, p03loc_5BE1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5004
		dec		h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5005
p03loc_5BE1:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5006
		push	de
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5007
		call	j_ILine
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5008
		pop		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5009
		call	p03sub_5C38
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5010
		jr		z, p03loc_5C33
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5011
		ld		a, (unk_9189)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5012
		cp		d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5013
		jr		z, p03loc_5C33
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5014
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5015
		ld		a, d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5016
		ld		hl, pixWide_m_2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5017
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5018
		jr		z, p03loc_5C33
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5019
		ld		hl, (unk_918A)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5020
		bit		0, l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5021
		jr		z, p03loc_5C07
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5022
		ld		e, 3Fh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5023
p03loc_5C02:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5024
		call	p03sub_5C4D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5025
		jr		p03loc_5C33
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5026
p03loc_5C07:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5027
		ld		e, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5028
		jr		p03loc_5C02
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5029
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5030
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5031
;Not referenced anywhere.
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5032
		call	j_ILine
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5033
		jr		p03loc_5C33
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5034
#endif
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5035
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5036
p03loc_5C10:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5037
		call	FPOPCPLX
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5038
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5039
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5040
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5041
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5042
		jr		nc, p03loc_5C1B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5043
		dec		a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5044
p03loc_5C1B:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5045
		call	j_CPointS
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5046
		jr		p03loc_5C33
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5047
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5048
p03loc_5C20:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5049
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5050
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5051
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5052
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5053
		jr		nc, p03loc_5C28
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5054
		dec		a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5055
p03loc_5C28:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5056
		call	j_CPointS
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5057
		call	FPOPCPLX
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5058
		jr		p03loc_5C33
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5059
p03loc_5C30:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5060
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5061
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5062
		pop		af
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5063
p03loc_5C33:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5064
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5065
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5066
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5067
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5068
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5069
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5070
p03sub_5C38:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  5071
		bit		g_style_active, (iy+sGrFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5072
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5073
		ld		a, (unk_9775)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5074
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5075
		jr		c, p03loc_5C4B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5076
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5077
		jr		nc, p03loc_5C4B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5078
		or		1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5079
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5080
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5081
p03loc_5C4B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5082
		xor		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5083
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5084
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5085
p03sub_5C4D:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5086
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5087
		ld		c, e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5088
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5089
		ld		a, (unk_9775)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5090
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5091
		ld		a, e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5092
		jr		z, p03loc_5C5E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5093
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5094
		jr		nz, p03loc_5C62
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5095
p03loc_5C5C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5096
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5097
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5098
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5099
p03loc_5C5E:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5100
		cp		3Fh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5101
		jr		z, p03loc_5C5C
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5102
p03loc_5C62:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5103
		pop		af
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5104
p03loc_5C63:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5105
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5106
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5107
		ld		d, 3
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5108
		call	j_IPoint
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5109
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5110
		inc		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5111
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5112
		cp		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5113
		jr		nc, p03loc_5C63
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5114
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5115
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5116
p03sub_5C71:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5117
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5118
		rst		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5119
		ld		hl, (FPS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5120
		ld		de, 0FFDCh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5121
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5122
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5123
		ld		hl, 9
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5124
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5125
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5126
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5127
		jr		c, p03loc_5C84
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5128
		ex		de, hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5129
p03loc_5C84:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5130
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5131
		ld		bc, 12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5132
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5133
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5134
		ld		b, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5135
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5136
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5137
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5138
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5139
		jr		z, p03loc_5CCB
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5140
		call	CkOP1FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5141
		jr		z, p03loc_5CD2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5142
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5143
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5144
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5145
		call	Mov9ToOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5146
		call	CkOP2FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5147
		jr		z, p03loc_5CC6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5148
		ld		a, (OP2+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5149
		ld		d, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5150
		ld		a, (OP1+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5151
		add		a, 0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5152
		cp		d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5153
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5154
		jr		nc, p03loc_5CEF
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5155
		sub		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5156
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5157
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5158
		jr		nc, p03loc_5CCB
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5159
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5160
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5161
		bit		3, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5162
		jp		nz, p03loc_5C20
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5163
		bit		1, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5164
		jp		nz, p03loc_5C10
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5165
		jp		p03loc_5C20
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5166
p03loc_5CC6:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5167
		pop		bc
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5168
p03loc_5CC7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5169
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5170
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5171
		jr		p03loc_5CD2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5172
p03loc_5CCB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5173
		ld		bc, 12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5174
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5175
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5176
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5177
		ex		de, hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5178
p03loc_5CD2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5179
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5180
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5181
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5182
		call	page0_C25
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5183
		call	OP6ToOP2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5184
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5185
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5186
		call	c, fpdiv
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5187
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5188
		call	nc, FPMult
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5189
		pop		hl
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  5190
		call	FPAdd_FromHL
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5191
		ld		hl, OP1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5192
		call	j_XYRND
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5193
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5194
p03loc_5CEF:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5195
		sub		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5196
		jr		c, p03loc_5CC7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5197
		sub		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5198
		jr		nc, p03loc_5CF7
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5199
		cpl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5200
p03loc_5CF7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5201
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5202
		ld		a, (OP2+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5203
		ld		d, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5204
		ld		a, (OP1+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5205
		sub		d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5206
		jr		nc, p03loc_5D03
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5207
		cpl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5208
p03loc_5D03:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5209
		sub		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5210
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5211
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5212
		jr		c, p03loc_5CD2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5213
		jr		p03loc_5CCB
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5214
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5215
p03sub_5D0A:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5216
		call	CkOP1FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5217
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5218
		call	CkOP2FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5219
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5220
		ld		a, (OP1+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5221
		ld		hl, 8484h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5222
		sub		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5223
		jr		c, p03loc_5D32
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5224
		sub		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5225
		ret		c
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5226
p03loc_5D1E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5227
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5228
		pop		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5229
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5230
		ld		a, d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5231
		and		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5232
		jr		z, p03loc_5D29
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5233
		ld		a, e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5234
		and		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5235
		jr		nz, p03loc_5D37
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5236
p03loc_5D29:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5237
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5238
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5239
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5240
		jp		nc, OP2Set0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5241
		jp		OP1Set0
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5242
p03loc_5D32:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5243
		sub		0F5h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5244
		ret		nc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5245
		jr		p03loc_5D1E
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5246
p03loc_5D37:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5247
		pop		af
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5248
p03loc_5D38:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5249
		ld		de, 24h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5250
		call	DeallocFPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5251
		jp		p03loc_5C30
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5252
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5253
XRootY:	call	CkOP1FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5254
		jr		z, p03loc_5D6C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5255
		set		1, (iy+1Eh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5256
		set		2, (iy+1Eh)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5257
		call	OP1ExOP2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5258
		jr		p03loc_5D5B
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5259
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5260
YToX:	res		1, (iy+1Eh)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5261
		res		2, (iy+1Eh)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5262
p03loc_5D5B:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5263
		call	page0_FB5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5264
		call	CkOP1FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5265
		jr		nz, p03loc_5D6F
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5266
		call	CkOP2FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5267
		jr		z, p03loc_5D6C
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5268
		call	ckop2pos
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5269
		ret		z
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5270
p03loc_5D6C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5271
		jp		ErrDomain
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5272
p03loc_5D6F:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5273
		call	CkOP2FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5274
		jp		z, OP1Set1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5275
		xor		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5276
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5277
		call	OP2ToOP6
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5278
		call	CkOP1Pos
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5279
		jr		z, p03loc_5DDF
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5280
		call	PUSHMCPLXO1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5281
		ld		a, (OP2+1)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5282
		cp		75h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5283
		jp		c, j_BCALL_4EAF
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5284
		call	OP2ToOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5285
		call	GETEXP
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5286
		jr		nc, p03loc_5D9D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5287
		ld		a, (iy+1Eh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5288
		xor		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5289
		ld		(iy+1Eh), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5290
		call	fprecip
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5291
p03loc_5D9D:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5292
		call	j_ToFrac
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5293
		jr		c, p03loc_5DB3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5294
		ld		hl, 8484h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5295
		call	CKOdd
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5296
		jr		nz, p03loc_5DC1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5297
		bit		2, (iy+1Eh)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5298
		jp		z, j_BCALL_4EAF
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5299
		jr		p03loc_5DD6
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5300
p03loc_5DB3:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5301
		ld		d, 0Ch
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5302
		call	Page0Call_39C9
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  5303
		ld		hl, OP1+1
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  5304
		call	CKDoInt
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5305
		jp		nz, j_BCALL_4EAF
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5306
p03loc_5DC1:
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  5307
		ld		hl, OP1+1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5308
		call	CKOdd
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5309
		jr		nz, p03loc_5DD2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5310
		bit		2, (iy+1Eh)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5311
		jp		nz, j_BCALL_4EAF
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5312
		jr		p03loc_5DD6
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5313
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5314
p03loc_5DD2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5315
		pop		af
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5316
		or		80h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5317
		push	af
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5318
p03loc_5DD6:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5319
		call	PopRealO2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5320
		call	PopRealO1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5321
		call	ClrOP1S
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5322
p03loc_5DDF:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5323
		call	OP1ToOP6
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5324
		call	OP2ToOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5325
		bit		1, (iy+1Eh)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5326
		call	nz, fprecip
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5327
		rst		8
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5328
		call	OP1ExOP6
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5329
		ld		a, (OP2+1)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5330
		cp		82h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5331
		jr		nc, p03loc_5E1D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5332
		ld		hl, OP2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5333
		bit		7, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5334
		jr		nz, p03loc_5E1D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5335
		inc		hl
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  5336
		call	CKDoInt
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5337
		jr		nz, p03loc_5E1D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5338
		ld		a, (OP2+1)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5339
		cp		80h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5340
		ld		a, (OP2M)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5341
		call	z, ShRAcc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5342
		rst		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5343
		jr		p03loc_5E18
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5344
p03loc_5E12:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5345
		daa
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5346
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5347
		call	FPMult
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5348
		pop		af
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5349
p03loc_5E18:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5350
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5351
		jr		nz, p03loc_5E12
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5352
		jr		p03loc_5E38
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5353
p03loc_5E1D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5354
		ld		c, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5355
		call	Page0Call_3861
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5356
		call	CkOP1FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5357
		jr		nz, p03loc_5E2C
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5358
		call	OP1Set1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5359
		jr		p03loc_5E38
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5360
p03loc_5E2C:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5361
		call	OP6ToOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5362
		call	page0_CFA
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5363
		call	LJNORND
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5364
		call	Page0Call_3867
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5365
p03loc_5E38:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5366
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5367
		ld		(OP1), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5368
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5369
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5370
p03sub_5E3D:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5371
		call	p03sub_67B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5372
		bit		0, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5373
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5374
		cp		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5375
		ret		nz
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5376
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5377
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5378
		call	p03sub_7053
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5379
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5380
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5381
		call	p03sub_65F5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5382
		call	p03sub_6AF7
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5383
		ld		hl, (fOutDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5384
		ld		a, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5385
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5386
		jr		nz, p03loc_5E65
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5387
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5388
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5389
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5390
		call	SetXXXXOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5391
		call	OP2ToOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5392
		jr		p03loc_5E79
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5393
p03loc_5E65:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5394
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5395
		ld		(OP6), bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5396
		ld		(iMathPtr1), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5397
		ld		hl, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5398
		ld		(OP6M), hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5399
		call	j_LSUM
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5400
		call	p03sub_6AF7
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5401
p03loc_5E79:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5402
		call	j_LogX
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5403
		ld		hl, p03loc_6AFE
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5404
		call	page0_EC1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5405
		call	Plus1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5406
		call	int
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5407
		rst		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5408
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5409
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5410
		ld		(OP6), hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5411
		call	j_LLOW
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5412
		rst		18h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5413
		call	p03sub_6B07
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5414
		jr		z, p03loc_5EA5
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5415
		call	OP1ToOP3
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5416
		call	CpyTo2FPS2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5417
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5418
		jr		nc, p03loc_5EA8
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5419
		call	OP3ToOP1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5420
p03loc_5EA5:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5421
		call	CpyO1ToFPS2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5422
p03loc_5EA8:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5423
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5424
		ld		(OP6), hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5425
		call	j_LHIGH
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5426
		call	PopRealO2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5427
		call	OP1ToOP5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5428
		call	FPSub
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5429
		call	PopRealO2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5430
		call	fpdiv
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5431
		call	p03sub_6B07
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5432
		jr		z, p03loc_5ED1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5433
		call	OP1ToOP3
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5434
		call	CpyTo2FPS4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5435
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5436
		jr		c, p03loc_5ED4
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5437
		call	OP3ToOP1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5438
p03loc_5ED1:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5439
		call	CpyO1ToFPS4
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5440
p03loc_5ED4:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5441
		call	OP5ToOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5442
		call	CpyTo2FPS4
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5443
		rst		30h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5444
		call	p03sub_6B07
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5445
		set		7, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5446
		set		1, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5447
		set		4, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5448
		jr		z, p03loc_5EF9
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5449
		call	OP1ToOP3
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5450
		call	CpyTo2FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5451
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5452
		ret		c
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5453
		call	OP3ToOP1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5454
p03loc_5EF9:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5455
		jp		CpyO1ToFPS1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5456
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5457
p03sub_5EFC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5458
		ld		(curPlotNumber), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5459
		call	p03sub_67B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5460
		bit		0, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5461
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5462
		cp		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5463
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5464
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5465
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5466
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5467
		call	p03sub_7053
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5468
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5469
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5470
		call	p03sub_65F5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5471
		call	p03sub_6AF7
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5472
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5473
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5474
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5475
		ld		(OP6), bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5476
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5477
		jr		nc, p03loc_5F3B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5478
		ld		hl, (YOutDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5479
		ld		(iMathPtr1), hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5480
		call	j_LHIGH
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5481
		call	p03sub_5FEB
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5482
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5483
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5484
		ld		(OP6), hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5485
		call	j_LLOW
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5486
		call	p03sub_6AF7
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5487
		call	p03sub_5FC3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5488
p03loc_5F3B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5489
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5490
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5491
		ld		(OP6), hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5492
		call	j_LHIGH
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5493
		call	p03sub_5FE2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5494
		jr		nz, p03loc_5F53
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5495
		bit		6, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5496
		jr		nz, p03loc_5F53
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5497
		call	p03sub_5FEB
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5498
		jr		p03loc_5F56
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5499
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5500
p03loc_5F53:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5501
		call	p03sub_5F89
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5502
p03loc_5F56:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5503
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5504
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5505
		ld		(OP6), hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5506
		call	j_LLOW
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5507
		call	p03sub_5FE2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5508
		jr		nz, p03loc_5F6E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5509
		bit		6, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5510
		jr		nz, p03loc_5F6E
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5511
		call	p03sub_5FC3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5512
		jr		p03loc_5F71
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5513
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5514
p03loc_5F6E:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5515
		call	p03sub_5FA4
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5516
p03loc_5F71:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5517
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5518
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5519
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5520
		jr		nz, locret_5F88
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5521
		set		2, (iy+1Dh)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5522
		call	SetTblGraphDraw
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5523
		ld		hl, curPlotNumber
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5524
		call	p03sub_640C
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5525
		res		2, (iy+1Dh)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5526
locret_5F88:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5527
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5528
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5529
p03sub_5F89:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5530
		call	OP1ToOP3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5531
		bit		4, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5532
		jr		z, p03loc_5F9C
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5533
		call	CpyTo2FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5534
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5535
		ret		c
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5536
		call	OP3ToOP1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5537
p03loc_5F9C:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5538
		call	CpyO1ToFPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5539
		res		7, (iy+1Ah)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5540
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5541
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5542
p03sub_5FA4:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5543
		call	OP1ToOP3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5544
		bit		4, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5545
		set		4, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5546
		jr		z, p03loc_5FBB
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5547
		call	CpyTo2FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5548
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5549
		ret		nc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5550
		call	OP3ToOP1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5551
p03loc_5FBB:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5552
		call	CpyO1ToFPST
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5553
		res		7, (iy+1Ah)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5554
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5555
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5556
p03sub_5FC3:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5557
		call	OP1ToOP3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5558
		bit		1, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5559
		set		1, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5560
		jr		z, p03loc_5FDA
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5561
		call	CpyTo2FPS2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5562
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5563
		ret		nc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5564
		call	OP3ToOP1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5565
p03loc_5FDA:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5566
		call	CpyO1ToFPS2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5567
		res		7, (iy+1Ah)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5568
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5569
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5570
p03sub_5FE2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5571
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5572
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5573
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5574
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5575
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5576
		push	de
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5577
		cp		5
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5578
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5579
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5580
p03sub_5FEB:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5581
		call	OP1ToOP3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5582
		bit		1, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5583
		jr		z, p03loc_5FFE
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5584
		call	CpyTo2FPS3
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5585
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5586
		ret		c
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5587
		call	OP3ToOP1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5588
p03loc_5FFE:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5589
		call	CpyO1ToFPS3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5590
		res		7, (iy+1Ah)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5591
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5592
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5593
ZmStats:call	j_COPYRNG
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5594
		call	Bit_VertSplit
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5595
		jr		z, p03loc_6019
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  5596
		bit		NEED_RETABLE, (iy+VERTFLAG2)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5597
		call	nz, j_DSPGRTBL
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5598
		res		2, (iy+1Fh)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5599
p03loc_6019:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5600
		ld		hl, 2Dh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5601
		call	AllocFPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5602
		res		4, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5603
		res		1, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5604
		res		7, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5605
		ld		hl, Xscl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5606
		rst		20h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5607
		call	CpyO1ToFPS4
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5608
		ld		hl, Ymin
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5609
		rst		20h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5610
		call	CpyO1ToFPS2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5611
		ld		hl, Ymax
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5612
		rst		20h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5613
		call	CpyO1ToFPS3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5614
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5615
		ld		a, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5616
		call	p03sub_5E3D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5617
		ld		a, 2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5618
		call	p03sub_5E3D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5619
		ld		a, 3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5620
		call	p03sub_5E3D
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5621
		call	p03sub_6B07
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5622
		jr		z, p03loc_60AB
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5623
		ld		b, 5
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5624
p03loc_6057:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5625
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5626
		call	CpyTo1FPS4
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5627
		rst		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5628
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5629
		djnz	p03loc_6057
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5630
		call	p03sub_60BA
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5631
		call	OP1Set0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5632
		rst		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5633
		ld		a, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5634
		call	p03sub_6138
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5635
		call	p03sub_612E
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5636
		ld		a, 2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5637
		call	p03sub_6138
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5638
		call	p03sub_612E
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5639
		ld		a, 3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5640
		call	p03sub_6138
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5641
		call	p03sub_612E
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5642
		call	PopRealO1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5643
		call	OP2Set1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5644
		ld		a, 11h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5645
		ld		(OP2M), a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5646
		ld		a, 70h
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  5647
		ld		(OP2+3), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5648
		call	FPMult
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5649
		call	CpyO1ToFPS3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5650
		ld		hl, 257Fh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5651
		call	CheckSplitFlag
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5652
		jr		z, p03loc_609F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5653
		ld		hl, 807Fh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5654
p03loc_609F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5655
		ld		(OP2+1), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5656
		call	FPMult
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5657
		call	InvOP1S
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5658
		call	CpyO1ToFPS2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5659
p03loc_60AB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5660
		ld		a, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5661
		call	p03sub_5EFC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5662
		ld		a, 2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5663
		call	p03sub_5EFC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5664
		ld		a, 3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5665
		call	p03sub_5EFC
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5666
p03sub_60BA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5667
		bit		4, (iy+1Ah)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5668
		ld		de, 2Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5669
		jp		z, DeallocFPS1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5670
		ld		a, 0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5671
		cp		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5672
		call	p03sub_60E6
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5673
		call	CpyTo1FPS2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5674
		call	CkValidNum
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5675
		ld		a, 2
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5676
		call	j_StoSysTok
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5677
		bit		1, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5678
		ld		a, 0Ch
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5679
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5680
		call	z, FPOPCPLX
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5681
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5682
		call	nz, p03sub_60E6
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5683
		jp		FPOPREAL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5684
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5685
p03sub_60E6:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5686
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5687
		call	CpyTo1FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5688
		call	CpyTo2FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5689
		call	FPSub
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5690
		call	ClrOP1S
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5691
		call	OP2Set1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5692
		ld		a, 7Fh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5693
		ld		(OP2+1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5694
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5695
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5696
		jr		z, p03loc_6104
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5697
		ld		a, 17h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5698
		ld		(OP2M), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5699
p03loc_6104:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5700
		call	FPMult
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5701
		call	p03sub_6B07
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5702
		call	nz, OP1Set0
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5703
		call	CpyTo2FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5704
		call	CpyO1ToFPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5705
		call	InvSub
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5706
		call	CkValidNum
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5707
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5708
		push	af
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5709
		call	j_StoSysTok
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5710
		call	PopRealO1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5711
		call	PopRealO2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5712
		rst		30h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5713
		call	CkValidNum
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5714
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5715
		inc		a
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5716
		call	j_StoSysTok
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5717
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5718
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5719
p03sub_612E:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5720
		call	CpyTo2FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5721
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5722
		ret		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5723
		jp		CpyO1ToFPST
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5724
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5725
p03sub_6138:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5726
		call	p03sub_67B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5727
		bit		0, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5728
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5729
		cp		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5730
		ret		nz
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5731
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5732
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5733
		call	p03sub_7053
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5734
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5735
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5736
		call	p03sub_65F5
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5737
p03sub_614B:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5738
		call	OP1Set0
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5739
		call	p03sub_6B07
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5740
		call	nz, PushRealO1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5741
		ld		hl, Xmax
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5742
		rst		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5743
		ld		hl, Xmin
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5744
		call	Mov9ToOP2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5745
		rst		18h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5746
		call	PushRealO2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5747
		rst		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5748
		rst		18h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5749
		call	FPSub
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5750
		ld		hl, Xscl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5751
		call	Mov9ToOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5752
		call	CkOP2FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5753
		jp		z, ErrStat
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5754
		call	fpdiv
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5755
		call	ClrOP1S
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5756
		rst		18h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5757
		call	j_Ceiling
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5758
		call	CkOP1FP0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5759
		jp		z, ErrStat
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5760
		ld		a, 30h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5761
		call	SetXXOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5762
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5763
		jp		nc, ErrStat
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5764
		call	PopRealO2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5765
		call	cpop1op2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5766
		call	z, Plus1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5767
		call	CpyO1ToFPS3
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5768
		call	j_ConvOP1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5769
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5770
		ld		hl, Xmin
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5771
		rst		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5772
		ld		de, OP3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5773
		call	mov9B2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5774
		call	OP2Set0
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5775
		call	OP4Set0
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5776
		call	p03sub_6B07
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5777
		jr		nz, p03loc_61BA
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5778
		bit		3, (iy+13h)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5779
		call	z, CLine
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5780
p03loc_61BA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5781
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5782
		ld		c, 1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5783
p03loc_61BD:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5784
		ld		hl, (XOutDat)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5785
		call	ldHLind
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5786
p03loc_61C3:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5787
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5788
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5789
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5790
		call	p03sub_62BC
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5791
		call	CpyO1ToFPS1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5792
p03loc_61CC:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5793
		call	FPSMINUS9
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5794
		ex		de, hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5795
		call	OPSet0DE
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5796
		pop		hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5797
p03loc_61D4:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5798
		call	p03sub_6B07
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5799
		jr		nz, p03loc_61DE
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  5800
		call	IsOnInterruptSet
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5801
		jr		nz, p03loc_6224
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5802
p03loc_61DE:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5803
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5804
		ld		de, (XOutDat)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5805
		call	j_GetLToOP1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5806
		call	CpyTo2FPS2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5807
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5808
		jr		c, p03loc_6213
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5809
		call	CpyTo2FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5810
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5811
		jr		nc, p03loc_6213
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5812
		call	OP1Set1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5813
		ld		de, (fOutDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5814
		ld		a, d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5815
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5816
		jr		z, p03loc_620C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5817
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5818
		push	hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5819
		call	j_GetLToOP1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5820
		call	CkOP1Pos
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5821
		jp		nz, ErrStat
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5822
p03loc_620C:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5823
		call	CpyTo2FPST
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5824
		rst		30h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5825
		call	CpyO1ToFPST
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5826
p03loc_6213:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5827
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5828
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5829
		ld		a, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5830
		or		l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5831
		jr		nz, p03loc_61D4
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5832
		call	p03sub_6B07
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5833
		jr		nz, p03loc_626B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5834
		bit		3, (iy+13h)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5835
		jr		z, p03loc_6227
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5836
p03loc_6224:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5837
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5838
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5839
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5840
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5841
p03loc_6227:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5842
		call	CpyTo4FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5843
		call	CpyTo3FPS2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5844
		call	OP2Set0
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5845
		call	OP3ToOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5846
		call	CLine
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5847
		call	CpyTo4FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5848
		call	CpyTo3FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5849
		call	OP4ToOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5850
		call	CpyTo1FPS2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5851
		call	CLine
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5852
		call	OP4Set0
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5853
		call	CpyTo3FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5854
		call	CpyTo2FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5855
		call	OP3ToOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5856
		call	CpyO1ToFPS2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5857
		call	CLine
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5858
p03loc_6257:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5859
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5860
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5861
		inc		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5862
		dec		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5863
		jp		nz, p03loc_61C3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5864
		ld		de, 24h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5865
		call	DeallocFPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5866
		call	p03sub_6B07
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5867
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5868
		jp		PopRealO1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5869
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5870
p03loc_626B:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5871
		call	CpyTo1FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5872
		call	CpyTo2FPS4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5873
		call	cpop1op2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5874
		call	nc, CpyO1ToFPS4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5875
		call	CpyTo1FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5876
		call	CpyO1ToFPS2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5877
		jr		p03loc_6257
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  5878
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5879
p03sub_627F:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5880
		call	CpyTo1FPS3
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5881
		call	j_ConvOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5882
		ld		hl, 8E65h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5883
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5884
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5885
		ld		c, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5886
		inc		c
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5887
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5888
		inc		(hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5889
		call	CpyTo1FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5890
		call	CpyO1ToFPS2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5891
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5892
		jp		p03loc_61BD
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5893
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5894
p03sub_6298:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5895
		ld		a, (unk_8E65)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5896
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5897
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5898
		ld		c, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5899
		ld		(unk_8E65), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5900
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5901
		call	CpyTo1FPS2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5902
		call	CpyO1ToFPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5903
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5904
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5905
		dec		c
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5906
		call	p03sub_62BC
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5907
		call	CpyO1ToFPS2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5908
		ld		hl, (XOutDat)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5909
		call	ldHLind
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5910
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5911
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5912
		jp		p03loc_61CC
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5913
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5914
p03sub_62BC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5915
		ld		a, c
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5916
		call	SetXXOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5917
		ld		hl, Xscl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5918
		call	Mov9ToOP2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5919
		ld		hl, OP2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5920
		res		7, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5921
		call	FPMult
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5922
		ld		hl, Xmin
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  5923
		jp		FPAdd_FromHL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5924
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5925
p03loc_62D4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5926
		set		4, (iy+3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5927
		jr		p03loc_62DE
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5928
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5929
p03loc_62DA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5930
		res		4, (iy+3)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5931
p03loc_62DE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5932
		res		3, (iy+1Dh)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5933
p03loc_62E2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5934
		ld		b, d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5935
		ld		hl, (XOutDat)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5936
		call	ldHLind
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5937
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5938
		ld		de, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5939
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5940
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5941
		bit		2, (iy+1Dh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5942
		jr		nz, p03loc_6306
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5943
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5944
		sbc		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5945
		jr		nz, p03loc_62FE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5946
		res		4, (iy+3)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5947
p03loc_62FE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5948
		rst		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5949
		rst		18h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5950
p03loc_6300:
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  5951
		call	IsOnInterruptSet
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5952
		jp		nz, p03loc_639A
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5953
p03loc_6306:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5954
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5955
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5956
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5957
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5958
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5959
		bit		3, (iy+1Dh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5960
		jr		z, p03loc_633D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5961
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5962
		call	p03sub_6AD6
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5963
		bit		2, (iy+1Dh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5964
		jr		z, p03loc_6338
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5965
		bit		6, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5966
		jr		z, p03loc_632C
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5967
		call	p03sub_5FEB
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5968
		call	OP3ToOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5969
		call	p03sub_5FC3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5970
		jr		p03loc_6335
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5971
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5972
p03loc_632C:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5973
		call	p03sub_5F89
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5974
		call	OP3ToOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5975
		call	p03sub_5FA4
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5976
p03loc_6335:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5977
		jp		p03loc_638D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5978
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5979
p03loc_6338:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5980
		call	PUSHMCPLXO1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5981
		jr		p03loc_634E
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5982
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5983
p03loc_633D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5984
		ld		de, (XOutDat)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5985
		call	j_GetLToOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5986
		rst		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5987
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5988
		ld		de, (YOutDat)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  5989
		call	j_GetLToOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5990
		rst		18h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5991
p03loc_634E:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5992
		call	POINT_STAT_HLP
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5993
		jr		z, p03loc_635B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5994
		bit		4, (iy+3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5995
		jr		nz, p03loc_6373
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5996
		jr		p03loc_638D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  5997
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  5998
p03loc_635B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  5999
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6000
		push	af
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6001
		call	j_STATMARK
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6002
		jr		c, p03loc_636D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6003
		bit		4, (iy+3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6004
		jr		nz, p03loc_6373
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6005
		call	j_DarkPnt
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6006
		jr		p03loc_638D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6007
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6008
p03loc_636D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6009
		bit		4, (iy+3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6010
		jr		z, p03loc_638D
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6011
p03loc_6373:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  6012
		res		plotLoc, (iy+plotFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6013
		call	CpyTo3FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6014
		call	CpyTo4FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6015
		call	CpyO1ToFPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6016
		call	CpyO2ToFPST
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6017
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6018
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6019
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6020
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6021
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6022
		ld		a, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6023
		or		l
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6024
		call	nz, CLine
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6025
p03loc_638D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6026
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6027
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6028
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6029
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6030
		inc		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6031
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6032
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6033
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6034
		sbc		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6035
		jp		nc, p03loc_6300
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6036
p03loc_639A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6037
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6038
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6039
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6040
		bit		2, (iy+1Dh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6041
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6042
		jp		FPOPCPLX
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6043
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6044
nullsub_1:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6045
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6046
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6047
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6048
;Not referenced anywhere.
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  6049
		call	IsOnInterruptSet
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6050
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6051
		pop		hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6052
		call	j_TraceOff
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6053
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6054
#endif
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6055
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6056
POINT_STAT_HLP:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6057
		ld		de, 0FFF7h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6058
		call	j_XYRNDBOTH
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6059
		jr		nz, p03loc_63BD
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6060
		call	p03sub_707D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6061
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6062
		jr		z, p03loc_63C3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6063
p03loc_63BD:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6064
		call	POPMCPLXO1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6065
		or		1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6066
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6067
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6068
p03loc_63C3:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6069
		call	CpyTo1FPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6070
		ld		de, OP1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6071
		call	j_XftoI
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6072
		ld		(curGY+1), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6073
		call	CpyTo1FPST
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6074
		ld		de, OP1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6075
		call	j_YftoI
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6076
		ld		(curGY), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6077
		call	POPMCPLXO1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6078
		xor		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6079
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6080
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6081
p03sub_63E0:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6082
		set		3, (iy+16h)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6083
		res		4, (iy+16h)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6084
		call	p03sub_6AF7
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6085
		ld		hl, (fOutDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6086
		ld		(iMathPtr5), hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6087
		call	j_ORDSTAT
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6088
		res		3, (iy+16h)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6089
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6090
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6091
p03loc_63F9:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6092
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6093
		jp		z, p03loc_62DA
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6094
		jp		p03loc_62D4
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6095
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6096
DRAWSPLOT:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6097
		res		7, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6098
		res		2, (iy+1Dh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6099
		ld		hl, curPlotNumber
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6100
		inc		(hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6101
p03sub_640C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6102
		ld		a, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6103
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6104
		call	p03sub_69E7
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6105
		rst		10h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6106
		call	nc, DelVar
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6107
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6108
		res		3, (iy+13h)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6109
		call	p03sub_67B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6110
		bit		0, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6111
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6112
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6113
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6114
		call	p03sub_7053
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6115
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6116
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6117
		call	p03sub_65F5
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6118
		jr		c, p03loc_63F9
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6119
		cp		3
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  6120
		set		cmp_mod_box, (iy+sGrFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6121
		jr		c, p03loc_6485
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  6122
		res		cmp_mod_box, (iy+sGrFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6123
		jp		z, p03sub_614B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6124
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6125
		jr		z, p03loc_6481
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6126
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6127
		call	p03sub_6AF7
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6128
		call	ldHLind
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6129
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6130
		add		hl, hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6131
		call	p03sub_69E7
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6132
		call	CreateStrng
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6133
		ld		(iMathPtr4), de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6134
		ld		(YOutDat), de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6135
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6136
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6137
		inc		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6138
		push	hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6139
p03loc_645A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6140
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6141
		dec		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6142
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6143
		or		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6144
		jr		z, p03loc_6468
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6145
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6146
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6147
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6148
		call	PUT_INDEX_LST
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6149
		jr		p03loc_645A
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6150
p03loc_6468:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6151
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6152
		ld		de, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6153
		call	HEAP_SORT
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6154
		ld		hl, (iMathPtr4)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6155
		ld		(unk_84E7), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6156
		set		3, (iy+1Dh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6157
		res		4, (iy+3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6158
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6159
		jp		p03loc_62E2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6160
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6161
p03loc_6481:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  6162
		res		cmp_mod_box, (iy+sGrFlags)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6163
p03loc_6485:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6164
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6165
		call	p03sub_63E0
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6166
		call	p03sub_6583
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6167
		rst		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6168
		ld		(ES), de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6169
		rst		8
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6170
		call	CPYTO1ES5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6171
		call	CPYTO3ES2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6172
		call	OP2ToOP4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6173
		call	CLine
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6174
		call	CpyTo2FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6175
		call	OP2ToOP4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6176
		call	CPYTO1ES1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6177
		call	CPYTO3ES4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6178
		call	CLine
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6179
		ld		de, p03loc_65D1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6180
		call	p03sub_6586
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6181
		call	CpyO1ToFPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6182
		call	CPYTO1ES1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6183
		call	CpyTo2FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6184
		call	p03sub_6571
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6185
		ld		de, p03loc_65DA
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6186
		call	p03sub_6586
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6187
		rst		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6188
		rst		8
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6189
		call	CPYTO1ES2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6190
		call	p03sub_6571
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6191
		call	CPYTO1ES2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6192
		call	CpyTo2FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6193
		call	p03sub_657B
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6194
		call	CPYTO1ES1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6195
		call	CPYTO2EST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6196
		call	p03sub_657B
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6197
		call	CpyTo4FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6198
		call	CPYTO2EST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6199
		call	CPYTO1ES3
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6200
		call	OP1ToOP3
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6201
		call	CLine
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6202
		ld		de, p03loc_65E3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6203
		call	p03sub_6586
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6204
		call	CpyO1ToFPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6205
		ld		de, p03loc_65EC
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6206
		call	p03sub_6586
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6207
		call	CpyO1ToFPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6208
		call	CPYTO1ES5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6209
		call	p03sub_6566
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6210
		call	CPYTO1ES4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6211
		call	p03sub_6566
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6212
		call	p03sub_6583
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6213
		call	CpyO1ToFPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6214
		call	CPYTO1ES6
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6215
		call	OP1ToOP6
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6216
		pop		af
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  6217
		ld		(OP6+6), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6218
p03loc_651C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6219
		ld		bc, (OP6)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6220
		dec		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6221
		ld		(OP6), bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6222
		ld		a, c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6223
		or		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6224
		jr		z, p03loc_652E
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6225
		call	p03sub_654A
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6226
		jr		p03loc_651C
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6227
p03loc_652E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6228
		ld		bc, (OP6M)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6229
		inc		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6230
		ld		(OP6M), bc
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  6231
		ld		hl, (OP6+4)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6232
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6233
		sbc		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6234
		jr		c, p03loc_6544
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6235
		call	p03sub_654A
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6236
		jr		p03loc_652E
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6237
p03loc_6544:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6238
		ld		de, 48h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6239
		jp		DeallocFPS1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6240
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6241
p03sub_654A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6242
		ld		(OP6), bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6243
		call	GET_X_INDIRECT
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6244
		call	CpyTo2FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6245
		call	PUSHMCPLXO1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6246
		call	POINT_STAT_HLP
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6247
		ret		nz
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  6248
		ld		a, (OP6+6)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6249
		call	j_STATMARK
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6250
		ret		c
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6251
		call	j_DarkPnt
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6252
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6253
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6254
p03sub_6566:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6255
		call	OP1ToOP3
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6256
		call	CpyTo2FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6257
		call	CpyTo4FPST
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6258
		jr		p03loc_6577
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6259
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6260
p03sub_6571:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6261
		call	CPYTO3ES2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6262
		call	CPYTO4EST
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6263
p03loc_6577:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6264
		call	CLine
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6265
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6266
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6267
p03sub_657B:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6268
		call	CPYTO3ES1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6269
		call	CpyTo4FPST
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6270
		jr		p03loc_6577
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6271
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6272
p03sub_6583:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6273
		ld		de, p03loc_65C8
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6274
p03sub_6586:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6275
		ld		a, (unk_8E64)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6276
		ld		c, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6277
		ld		hl, curPlotNumber
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6278
		and		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6279
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6280
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6281
		jr		z, p03loc_659F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6282
		ld		a, c
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6283
		call	ShRAcc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6284
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6285
		ld		a, 2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6286
		jr		z, p03loc_659F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6287
		ld		a, 3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6288
p03loc_659F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6289
		dec		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6290
		call	CheckSplitFlag
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6291
		jr		z, p03loc_65A7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6292
		add		a, 3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6293
p03loc_65A7:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6294
		call	Bit_VertSplit
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6295
		jr		z, p03loc_65AE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6296
		add		a, 6
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6297
p03loc_65AE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6298
		ld		l, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6299
		ld		h, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6300
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6301
		ld		l, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6302
		ld		h, 0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6303
		call	SetXXXXOP2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6304
		ld		hl, deltaY
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6305
		rst		20h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6306
		call	FPMult
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6307
		ld		hl, Ymax
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6308
		call	Mov9ToOP2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6309
		jp		InvSub
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6310
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6311
p03loc_65C8:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6312
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6313
		.db		17h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6314
		.db		27h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6315
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6316
		.db		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6317
		.db		19h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6318
		.db		6  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6319
		.db		11h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6320
		.db		1Fh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6321
p03loc_65D1:       
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6322
		.db		2  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6323
		.db		11h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6324
		.db		21h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6325
		.db		2  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6326
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6327
		.db		16h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6328
		.db		2  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6329
		.db		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6330
		.db		1Bh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6331
p03loc_65DA:       
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6332
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6333
		.db		1Dh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6334
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6335
		.db		8  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6336
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6337
		.db		1Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6338
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6339
		.db		15h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6340
		.db		23h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6341
p03loc_65E3:       
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6342
		.db		7  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6343
		.db		16h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6344
		.db		26h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6345
		.db		4  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6346
		.db		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6347
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6348
		.db		5  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6349
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6350
		.db		1Eh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6351
p03loc_65EC:       
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6352
		.db		9  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6353
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6354
		.db		28h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6355
		.db		6  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6356
		.db		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6357
		.db		1Ah
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6358
		.db		7  
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6359
		.db		12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6360
		.db		20h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6361
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6362
p03sub_65F5:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6363
		ld		de, 0FFF0h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6364
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6365
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6366
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6367
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6368
		sbc		hl, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6369
		call	ShRAcc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6370
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6371
		ld		a, b
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6372
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6373
		set		6, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6374
		ld		a, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6375
		call	ShRAcc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6376
		jr		z, p03loc_6612
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6377
		res		6, (iy+1Ah)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6378
p03loc_6612:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6379
		ld		de, 0FFF1h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6380
		add		hl, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6381
		call	p03sub_6646
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6382
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6383
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6384
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6385
		jr		z, p03loc_663A
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6386
		cp		2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6387
		push	de
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6388
		jr		c, p03loc_663E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6389
		add		hl, bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6390
		call	p03sub_665C
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6391
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6392
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6393
		ld		a, (fOutDat+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6394
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6395
		jr		z, p03loc_6635
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6396
p03loc_6630:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6397
		sbc		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6398
		jp		nz, ErrDimMismatch
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6399
p03loc_6635:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6400
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6401
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6402
		pop		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6403
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6404
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6405
p03loc_663A:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6406
		push	de
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6407
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6408
		jr		p03loc_6635
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6409
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6410
p03loc_663E:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6411
		call	p03sub_6653
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6412
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6413
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6414
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6415
		jr		p03loc_6630
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6416
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6417
p03sub_6646:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6418
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6419
		call	p03sub_6675
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6420
		ld		(XOutDat), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6421
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6422
p03loc_664D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6423
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6424
		ld		bc, 5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6425
		add		hl, bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6426
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6427
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6428
p03sub_6653:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6429
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6430
		call	p03sub_6675
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6431
		ld		(YOutDat), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6432
		jr		p03loc_664D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6433
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6434
p03sub_665C:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6435
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6436
		ld		a, (hl)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6437
		cp		31h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6438
		jr		nz, p03loc_6668
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6439
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6440
		ld		(fOutDat+1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6441
		jr		p03loc_664D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6442
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6443
p03loc_6668:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6444
		call	p03sub_6675
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6445
p03loc_666B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6446
		ld		(fOutDat), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6447
		jr		p03loc_664D
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6448
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6449
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6450
;Not referenced anywhere.
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6451
		ld		hl, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6452
		jr		p03loc_666B
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6453
#endif
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6454
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6455
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6456
p03sub_6675:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6457
		call	p03sub_6692
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6458
		call	Page0Call_241E
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6459
		jp		c, ErrStatPlot
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6460
		and		1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6461
		cp		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6462
		jp		z, ErrStatPlot
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6463
		set		6, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6464
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6465
		ld		e, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6466
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6467
		ld		d, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6468
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6469
		ld		a, d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6470
		or		e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6471
		jp		z, ErrDimension
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6472
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6473
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6474
p03sub_6692:
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  6475
		ld		de, OP1+1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6476
		ld		a, 5Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6477
		ld		(de), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6478
		inc		de
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  6479
		call	Mov5B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6480
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6481
		ld		(hl), 0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6482
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6483
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6484
INITNEWTRACEP:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6485
		res		7, (iy+1Ah)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6486
		call	j_VALCUR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6487
		ld		(curPlotNumber), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6488
		ld		hl, (unk_8D1F)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6489
		ld		(unk_8E65), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6490
		call	p03sub_67B2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6491
		call	p03sub_65F5
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6492
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6493
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6494
		jr		nz, p03loc_66BC
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6495
p03loc_66BB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6496
		xor		a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6497
p03loc_66BC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6498
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6499
		jr		z, p03loc_66BB
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6500
		ld		hl, 8D1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6501
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6502
		jr		z, p03loc_66CC
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6503
		ld		hl, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6504
		ld		(unk_8E65), hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6505
p03loc_66CC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6506
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6507
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6508
		jp		c, p03loc_6897
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  6509
		set		cmp_mod_box, (iy+sGrFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6510
		jr		z, p03loc_671A
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  6511
		res		cmp_mod_box, (iy+sGrFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6512
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6513
		jr		z, p03loc_671A
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6514
		jp		nc, p03loc_68C5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6515
		set		3, (iy+13h)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6516
		call	p03sub_614B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6517
		jr		p03loc_66EF
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6518
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6519
p03loc_66EC:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6520
		call	p03sub_627F
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6521
p03loc_66EF:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6522
		ld		a, 4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6523
		ld		(unk_8D1E), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6524
		call	nullsub_1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6525
		call	CpyTo1FPST
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6526
		call	j_YPIXSET
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6527
		call	CpyTo2FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6528
		call	CpyTo1FPS2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6529
		call	InvSub
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6530
		call	TimesPt5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6531
		call	CpyTo2FPS2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6532
		rst		30h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6533
p03loc_670D:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6534
		call	j_XPIXSET
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6535
		ld		hl, (curGY)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6536
		ld		(freeSaveY), hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6537
p03loc_6716:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6538
		call	j_LABCOOR
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6539
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6540
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6541
p03loc_671A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6542
		ld		de, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6543
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6544
		jr		z, p03loc_6724
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6545
		ld		(unk_8E65), de
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6546
p03loc_6724:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6547
		ld		(unk_8D1E), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6548
		call	p03sub_63E0
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6549
p03loc_672A:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6550
		call	p03sub_6583
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6551
		call	nullsub_1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6552
		call	j_YPIXSET
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6553
		call	p03sub_6738
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6554
		jr		p03loc_670D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6555
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6556
p03sub_6738:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6557
		call	CpyTo1FPS5
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6558
		ld		hl, (unk_8E65)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6559
		ld		a, l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6560
		or		h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6561
		jr		z, p03loc_674A
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6562
		ld		de, 6
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6563
		call	CpHLDE
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6564
		jr		c, p03loc_6768
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6565
p03loc_674A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6566
		ld		de, (OP1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6567
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6568
		bit		7, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6569
		jr		nz, p03loc_675B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6570
		ld		de, 0FFFCh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6571
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6572
		ld		de, (OP1M)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6573
p03loc_675B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6574
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6575
		ld		b, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6576
		ld		c, l
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6577
		call	GET_X_INDIRECT
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6578
		ld		hl, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6579
		ld		(unk_8D1F), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6580
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6581
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6582
p03loc_6768:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6583
		ld		(unk_8D1F), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6584
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6585
		jp		z, CpyTo1FPS1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6586
		jp		c, CpyTo1FPS4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6587
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6588
		jp		z, CpyTo1FPST
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6589
		jp		c, CpyTo1FPS2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6590
		jp		CpyTo1FPS3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6591
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6592
p03loc_677E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6593
		ld		(unk_8D1F), bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6594
		call	nullsub_1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6595
		ld		l, c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6596
		ld		h, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6597
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6598
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6599
		jr		nz, p03loc_679A
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6600
		call	p03sub_6AD6
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6601
		call	PushRealO2
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6602
		call	j_XPIXSET
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6603
		call	PopRealO1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6604
		jr		p03loc_67A9
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6605
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6606
p03loc_679A:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6607
		push	hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6608
		call	j_GetLToOP1
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6609
		call	j_XPIXSET
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6610
		ld		de, (YOutDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6611
		pop		hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6612
		call	j_GetLToOP1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6613
p03loc_67A9:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6614
		call	j_YPIXSET
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6615
		jp		p03loc_6716
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6616
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6617
p03sub_67AF:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6618
		ld		a, (curPlotNumber)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6619
p03sub_67B2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6620
		add		a, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6621
		ld		e, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6622
		ld		d, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6623
		ld		hl, p03loc_67C7-2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6624
		add		hl, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6625
		call	ldHLind
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6626
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6627
		ld		bc, 0FFF0h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6628
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6629
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6630
		and		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6631
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6632
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6633
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6634
p03loc_67C7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6635
		.dw		92D9h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6636
		.dw		92EAh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6637
		.dw		92FBh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6638
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6639
p03sub_67CD:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6640
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6641
		cp		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6642
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6643
		ld		de, (curGY)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6644
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6645
		call	p03sub_6692
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6646
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6647
		call	CMPPRGNAMLEN
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6648
		ld		c, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6649
		dec		c
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  6650
		ld		hl, OP1+1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6651
		ld		a, (OP1M)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6652
		cp		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6653
		jr		nc, p03loc_67EB
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6654
		inc		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6655
		dec		hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6656
p03loc_67EB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6657
		ld		b, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6658
		set		4, (iy+11h)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6659
		call	j_WRITE_TEXT
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6660
		res		4, (iy+11h)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6661
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6662
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6663
		ld		(curGY), de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6664
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6665
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6666
SPLOTCOORD:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6667
		push	af
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  6668
		set		textEraseBelow, (iy+textFlags)
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  6669
		bit		grfExpr, (iy+traceFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6670
		jr		nz, p03loc_6847
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6671
		ld		hl, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6672
		ld		(penCol), hl
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6673
		ld		a, 'P'
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6674
		call	j_VPutMap
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6675
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6676
		push	af
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6677
		call	j_PUTEQUNO
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6678
		ld		a, ':'
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6679
		call	j_VPutMap
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6680
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6681
		call	p03sub_67B2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6682
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6683
		ld		de, 0FFF1h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6684
		add		hl, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6685
		call	p03sub_67CD
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6686
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6687
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6688
		jr		c, p03loc_683D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6689
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6690
		jr		z, p03loc_6868
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6691
		ld		de, 5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6692
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6693
		ld		a, (hl)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6694
		cp		'1'
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6695
		jr		z, p03loc_6868
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6696
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6697
p03loc_683D:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6698
		ld		a, ','
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6699
		call	j_VPutMap
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6700
		call	p03sub_67CD
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6701
		jr		p03loc_6868
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6702
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6703
p03loc_6847:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  6704
		bit		grfNoCoord, (iy+grfDBFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6705
		jr		z, p03loc_684F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6706
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6707
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6708
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6709
p03loc_684F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6710
		ld		hl, 56h	; 'V'
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6711
		call	Bit_VertSplit
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6712
		jr		z, p03loc_6859
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6713
		ld		l, 26h ; '&'
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6714
p03loc_6859:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6715
		ld		(penCol), hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6716
		call	j_VPUTBLANK
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6717
		ld		a, 'P'
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6718
		call	j_VPutMap
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6719
		pop		af
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6720
		call	j_PUTEQUNO
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6721
p03loc_6868:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6722
		call	p03sub_67AF
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6723
		cp		5
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6724
		jp		z, j_PutXY
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6725
		cp		2
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6726
		jp		c, j_PutXY
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6727
		jr		z, p03loc_687C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6728
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6729
		jp		nz, Page0Call_3501
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6730
p03loc_687C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6731
		jp		Page0Call_3507
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6732
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6733
SPLOTRIGHT:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6734
		call	j_CursorOff
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6735
		call	j_VALCUR
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6736
		call	p03sub_67B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6737
		ld		hl, (unk_8E65)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6738
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6739
		jr		z, p03loc_6893
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6740
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6741
		jr		nc, p03loc_68B6
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6742
p03loc_6893:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6743
		inc		hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6744
p03loc_6894:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6745
		ld		(unk_8E65), hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6746
p03loc_6897:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6747
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6748
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6749
		ld		(unk_8D1E), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6750
		ld		hl, (XOutDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6751
		ld		e, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6752
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6753
		ld		d, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6754
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6755
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6756
		ld		bc, (unk_8E65)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6757
p03loc_68A8:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6758
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6759
		sbc		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6760
		jp		nc, p03loc_677E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6761
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6762
		dec		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6763
		ld		(unk_8E65), bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6764
		jr		p03loc_68A8
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6765
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6766
p03loc_68B6:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6767
		jr		z, p03loc_68BD
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6768
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6769
		jp		nz, p03loc_66EC
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6770
p03loc_68BD:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  6771
		call	Page03_35A3
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6772
		jr		z, p03loc_6907
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6773
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6774
		jr		p03loc_6904
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6775
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6776
p03loc_68C5:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6777
		call	p03sub_69E7
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6778
		call	Page0Call_241E
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6779
		jp		c, ErrStat
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6780
		ld		(unk_84E7), de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6781
		ld		a, 5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6782
		jr		p03loc_6897
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6783
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6784
SPLOTLEFT:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6785
		call	j_CursorOff
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  6786
		call	j_VALCUR
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6787
		call	p03sub_67B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6788
		ld		hl, (unk_8E65)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6789
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6790
		jr		z, p03loc_68EA
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6791
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6792
		jr		nc, p03loc_68F3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6793
p03loc_68EA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6794
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6795
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6796
		ld		a, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6797
		or		l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6798
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6799
		jr		nz, p03loc_6894
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6800
		jr		p03loc_6897
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6801
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6802
p03loc_68F3:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6803
		jr		z, p03loc_68FF
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6804
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6805
		jr		z, p03loc_68FF
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6806
		call	p03sub_6298
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6807
		jp		p03loc_66EF
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6808
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6809
p03loc_68FF:
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  6810
		call	Page03_359D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6811
		jr		z, p03loc_6907
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6812
p03loc_6904:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6813
		ld		(unk_8E65), hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6814
p03loc_6907:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6815
		jp		p03loc_672A
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6816
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  6817
Page03_359D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6818
		dec		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6819
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6820
		call	CpyTo2FPS5
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6821
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6822
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6823
		ld		de, (OP2)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6824
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6825
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6826
		ld		a, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6827
		or		l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6828
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6829
		ret
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  6830
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  6831
Page03_35A3:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6832
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6833
		call	CpyTo2FPS5
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  6834
		ld		de, (OP2+4)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6835
		ld		hl, 5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6836
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6837
		ld		de, (OP2M)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6838
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6839
		sbc		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6840
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6841
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6842
		jp		CpHLDE
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6843
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6844
CMPBOXINFO:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6845
		ld		a, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6846
		ld		(curPlotNumber), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6847
		xor		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6848
		push	af
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6849
p03loc_693A:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6850
		call	p03sub_67AF
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6851
		bit		0, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6852
		ld		hl, curPlotNumber
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6853
		jr		z, p03loc_6952
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6854
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6855
		jr		z, p03loc_694C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6856
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6857
		jr		nz, p03loc_6952
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6858
p03loc_694C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6859
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6860
		call	ShLAcc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6861
		or		(hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6862
		push	af
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6863
p03loc_6952:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6864
		dec		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6865
		jr		nz, p03loc_693A
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6866
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6867
		ld		(unk_8E64), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6868
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6869
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6870
p03sub_695A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6871
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6872
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6873
		ld		a, (curGStyle)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6874
		cp		7Fh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6875
		jr		z, p03loc_6967
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6876
		cp		51h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6877
		jr		nz, p03loc_6987
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6878
p03loc_6967:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6879
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6880
		jp		(hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6881
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6882
p03sub_6969:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6883
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6884
		call	p03sub_67B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6885
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6886
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6887
		jr		c, p03loc_697C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6888
		ld		a, (curGStyle)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6889
		cp		7Fh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6890
		jr		nz, p03loc_697C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6891
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6892
		cp		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6893
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6894
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6895
p03loc_697C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6896
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6897
		bit		0, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6898
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6899
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6900
NEXTPLOT:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6901
		call	p03sub_695A
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6902
p03loc_6983:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6903
		cp		3
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  6904
		jr		nz, Page03_35B5
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6905
p03loc_6987:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6906
		xor		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6907
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6908
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  6909
Page03_35B5:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6910
		inc		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6911
		call	p03sub_6969
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6912
		jr		z, p03loc_6983
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6913
		or		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6914
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6915
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6916
PREVPLOT:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6917
		call	p03sub_695A
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6918
p03loc_6994:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6919
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6920
		jr		z, p03loc_6987
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6921
		dec		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6922
		call	p03sub_6969
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6923
		jr		z, p03loc_6994
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6924
		or		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6925
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6926
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6927
CLRPREVPLOT:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6928
		call	p03sub_67B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6929
		cp		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6930
		jr		z, p03loc_69B4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6931
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6932
		jr		z, p03loc_69AF
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6933
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6934
		jr		nz, p03loc_69BA
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6935
p03loc_69AF:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6936
		ld		de, 36h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6937
		jr		p03loc_69B7
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6938
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6939
p03loc_69B4:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6940
		ld		de, 24h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6941
p03loc_69B7:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6942
		call	DeallocFPS1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6943
p03loc_69BA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6944
		ld		a, (curPlotNumber)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6945
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6946
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6947
p03sub_69BE:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6948
		push	hl
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  6949
		ld		hl, (OP6+8)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6950
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6951
		ld		b, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6952
		ld		c, l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6953
		pop		hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6954
PUT_INDEX_LST:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6955
		ld		de, (iMathPtr4)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6956
		sla		c
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6957
		rl		b
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6958
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6959
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6960
		ld		(hl), e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6961
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6962
		ld		(hl), d
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6963
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6964
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6965
p03sub_69D4:
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  6966
		ld		hl, (OP6+8)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6967
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6968
		ld		b, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6969
		ld		c, l
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6970
GET_INDEX_LST:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6971
		ld		de, (iMathPtr4)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6972
p03sub_69DE:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6973
		sla		c
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6974
		rl		b
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6975
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6976
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6977
		jp		ldHLind
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6978
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6979
p03sub_69E7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6980
		ld		a, (curPlotNumber)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6981
		add		a, 26h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6982
		ld		(OP1+1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6983
		ld		de, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6984
		ld		(OP1M), de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6985
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  6986
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6987
HEAP_SORT:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6988
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6989
		sbc		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6990
		inc		hl
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  6991
		ld		(OP6+4), hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6992
		dec		de
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  6993
		ld		(OP6+8), de
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6994
		sra		h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  6995
		rr		l
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6996
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6997
		inc		hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  6998
p03loc_6A09:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  6999
		ld		de, 2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7000
		call	CpHLDE
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7001
		jr		nc, p03loc_6A3D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7002
		push	hl
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7003
		ld		bc, (OP6+4)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7004
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7005
		call	p03sub_69D4
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7006
		ld		(OP6+6), hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7007
		ld		bc, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7008
		call	p03sub_69D4
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7009
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7010
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7011
		call	p03sub_69BE
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7012
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7013
		dec		hl
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7014
		ld		(OP6+4), hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7015
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7016
		ld		a, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7017
		or		l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7018
		jr		nz, p03loc_6A47
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7019
		ld		bc, 1
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7020
		ld		hl, (OP6+6)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7021
		call	p03sub_69BE
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7022
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7023
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7024
p03loc_6A3D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7025
		dec		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7026
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7027
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7028
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7029
		call	p03sub_69D4
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7030
		ld		(OP6+6), hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7031
p03loc_6A47:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7032
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7033
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7034
		ld		(OP6M), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7035
		add		hl, hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7036
p03loc_6A4D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7037
		ld		(OP6), hl
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7038
		ld		de, (OP6+4)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7039
		call	CpHLDE
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7040
		jr		z, p03loc_6A5B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7041
		jr		nc, p03loc_6AAA
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7042
p03loc_6A5B:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7043
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7044
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7045
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7046
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7047
		call	p03sub_69D4
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7048
		call	j_GETL1TOP2A
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7049
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7050
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7051
		jr		z, p03loc_6A77
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7052
		inc		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7053
		call	p03sub_69D4
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7054
		call	j_GETL1TOP1A
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7055
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7056
		jr		z, p03loc_6A77
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7057
		jr		nc, p03loc_6A7C
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7058
p03loc_6A77:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7059
		call	OP2ToOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7060
		jr		p03loc_6A83
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7061
p03loc_6A7C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7062
		ld		hl, (OP6)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7063
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7064
		ld		(OP6), hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7065
p03loc_6A83:
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7066
		ld		hl, (OP6+6)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7067
		call	j_GETL1TOP2A
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7068
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7069
		jr		c, p03loc_6AA4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7070
		ld		bc, (OP6)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7071
		push	bc
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7072
		call	p03sub_69D4
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7073
		ld		bc, (OP6M)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7074
		call	p03sub_69BE
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7075
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7076
		ld		(OP6M), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7077
		add		hl, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7078
		jr		p03loc_6A4D
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7079
p03loc_6AA4:
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7080
		ld		hl, (OP6+4)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7081
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7082
		jr		p03loc_6A4D
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7083
p03loc_6AAA:
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7084
		ld		hl, (OP6+6)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7085
		ld		bc, (OP6M)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7086
		call	p03sub_69BE
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7087
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7088
		jp		p03loc_6A09
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7089
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7090
p03sub_6AB8:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7091
		call	SetXXXXOP2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7092
		ld		hl, 0FC3h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7093
		rst		20h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7094
		call	InvSub
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7095
		ld		hl, (XOutDat)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7096
		call	ldHLind
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7097
		call	SetXXXXOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7098
		call	fpdiv
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7099
		ld		a, 1Eh
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7100
		call	j_BCALL_4B9D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7101
		jp		InvOP1S
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7102
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7103
p03sub_6AD6:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7104
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7105
		call	p03sub_6AB8
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7106
		rst		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7107
		ld		de, (unk_84E7)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7108
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7109
		bit		2, (iy+1Dh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7110
		ret		nz
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7111
		call	p03sub_69DE
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7112
		ld		de, (XOutDat)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7113
		call	j_GetLToOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7114
		bit		6, (iy+1Ah)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7115
		call	z, OP1ExOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7116
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7117
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7118
p03sub_6AF7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7119
		ld		hl, (XOutDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7120
		ld		(iMathPtr1), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7121
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7122
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7123
p03loc_6AFE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7124
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7125
		.db		7Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7126
		.db		30h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7127
		.db		10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7128
		.db		29h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7129
		.db		99h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7130
		.db		56h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7131
		.db		63h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7132
		.db		98h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7133
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7134
p03sub_6B07:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7135
		bit		7, (iy+1Ah)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7136
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7137
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7138
StoGDB2:xor		a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7139
		ld		(ioData), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7140
		ld		de, 867Eh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7141
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7142
		ld		a, (OP1+1)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7143
		cp		61h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7144
		jp		nz, ErrDataType
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7145
		call	j_FNDDB
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7146
		call	OP4ToOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7147
		ld		a, (OP3M)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7148
		ld		e, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7149
		ld		d, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7150
		ld		hl, (OP3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7151
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7152
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7153
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7154
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7155
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7156
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7157
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7158
		inc		hl
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7159
		ld		de, 57h
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7160
		call	IsFunctionMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7161
		jr		nz, p03loc_6B4D
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7162
		call	IsParametricMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7163
		jr		nz, p03loc_6B4D
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7164
		ld		de, 49h
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7165
		call	IsFuncMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7166
		jr		nz, p03loc_6B4D
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7167
		ld		de, 93h
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7168
p03loc_6B4D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7169
		add		hl, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7170
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7171
		ld		a, (OP1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7172
		cp		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7173
		jr		nz, p03loc_6B62
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7174
		call	CreateGDB
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7175
		ld		(chkDelPtr1), de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7176
		ld		(chkDelPtr3), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7177
		jr		p03loc_6B73
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7178
p03loc_6B62:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7179
		ld		(OP1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7180
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7181
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7182
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7183
		ld		hl, (chkDelPtr3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7184
		bit		6, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7185
		call	nz, SetTblGraphDraw
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7186
		call	CHKDELA
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7187
p03loc_6B73:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7188
		ld		hl, (chkDelPtr1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7189
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7190
		ld		(hl), c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7191
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7192
		ld		(hl), b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7193
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7194
		ld		(hl), 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7195
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7196
		ld		a, (iy+2)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7197
		ld		(hl), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7198
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7199
		ld		a, (iy+4)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7200
		res		7, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7201
		ld		(hl), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7202
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7203
		ld		a, (iy+0Fh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7204
		ld		(hl), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7205
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7206
		ld		a, (iy+18h)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7207
		ld		(hl), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7208
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7209
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7210
		ld		hl, Xmin
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7211
		ld		bc, 36h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7212
		ldir
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7213
		call	p03sub_6D9F
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7214
		ldir
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7215
		call	IsRecursiveMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7216
		jr		z, p03loc_6BAD
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7217
		ld		hl, w02
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7218
		call	mov9B2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7219
p03loc_6BAD:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7220
		call	p03sub_6DC1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7221
		ldir
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7222
		ld		(chkDelPtr1), de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7223
		xor		a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7224
p03loc_6BB7:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7225
		call	j_NEXTEQ
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7226
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7227
		jr		nz, p03loc_6BCC
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7228
		ld		hl, 867Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7229
		rst		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7230
		rst		10h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7231
		call	Page0Call_240B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7232
		ld		a, (ioData)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7233
		ld		(hl), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7234
		jp		FPOPCPLX
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7235
p03loc_6BCC:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7236
		push	af
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7237
p03loc_6BCD:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7238
		call	Page0Call_241E
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7239
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7240
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7241
		call	Page0Call_240A
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7242
		ld		e, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7243
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7244
		ld		d, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7245
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7246
		ld		b, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7247
		call	Page0Call_3519
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7248
		ld		d, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7249
		ld		a, (ioData)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7250
		cp		d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7251
		jr		nc, p03loc_6BE8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7252
		ld		a, d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7253
		ld		(ioData), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7254
p03loc_6BE8:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7255
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7256
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7257
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7258
		ld		hl, (chkDelPtr1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7259
		ld		(hl), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7260
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7261
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7262
		ld		c, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7263
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7264
		ld		b, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7265
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7266
		inc		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7267
		inc		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7268
		ldir
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7269
		ld		(chkDelPtr1), de
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7270
		call	IsParametricMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7271
		jr		z, p03loc_6C0D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7272
		ld		hl, OP1M
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7273
		bit		0, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7274
		jr		nz, p03loc_6C0D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7275
		set		0, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7276
		jr		p03loc_6BCD
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7277
p03loc_6C0D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7278
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7279
		jr		p03loc_6BB7
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7280
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7281
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7282
;Not referenced anywhere.
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7283
		ld		hl, (chkDelPtr3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7284
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7285
		ld		e, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7286
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7287
		ld		d, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7288
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7289
		dec		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7290
		call	DelVarNoArc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7291
		jp		ErrSyntax
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7292
#endif
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7293
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7294
RclGDB2:ld		a, (OP1+1)
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7295
		cp		61h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7296
		jp		nz, ErrDataType
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7297
		call	CkOP1Real
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7298
		cp		1Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7299
		jp		z, ErrUndefined
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7300
		ld		hl, (chkDelPtr1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7301
		ld		e, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7302
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7303
		ld		d, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7304
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7305
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7306
		res		1, (iy+1Eh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7307
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7308
		jr		nz, p03loc_6C60
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7309
		ld		a, 10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7310
		ld		c, 4Ch
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7311
		ld		b, 1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7312
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7313
		bit		4, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7314
		jr		nz, p03loc_6C83
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7315
		add		a, a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7316
		ld		c, 5Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7317
		ld		b, 12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7318
		bit		5, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7319
		jr		nz, p03loc_6C83
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7320
		add		a, a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7321
		ld		b, 24h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7322
		bit		6, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7323
		jr		nz, p03loc_6C83
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7324
		add		a, a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7325
		ld		c, 96h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7326
		ld		b, 9
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7327
		jr		p03loc_6C83
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7328
p03loc_6C60:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7329
		set		1, (iy+1Eh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7330
		ld		a, 10h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7331
		ld		c, 39h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7332
		ld		b, 1Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7333
		bit		4, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7334
		jr		nz, p03loc_6C83
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7335
		add		a, a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7336
		ld		c, 54h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7337
		ld		b, 12h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7338
		bit		5, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7339
		jr		nz, p03loc_6C83
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7340
		add		a, a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7341
		ld		b, 24h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7342
		bit		6, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7343
		jr		nz, p03loc_6C83
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7344
		add		a, a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7345
		ld		c, 66h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7346
		ld		b, 6
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7347
p03loc_6C83:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7348
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7349
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7350
		ld		b, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7351
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7352
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7353
		sbc		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7354
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7355
		ld		c, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7356
		ld		b, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7357
		sbc		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7358
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7359
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7360
		ld		a, (iy+2)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7361
		ld		c, a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7362
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7363
		and		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7364
		or		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7365
		ld		(iy+2),	a
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7366
		call	j_FNDDB
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7367
		ld		de, (OP3)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7368
		call	FPOPCPLX
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7369
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7370
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7371
		ld		a, (OP3M)
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7372
		call	IsParametricMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7373
		jr		z, p03loc_6CB4
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7374
		srl		a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7375
p03loc_6CB4:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7376
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7377
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7378
		sbc		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7379
		jr		c, p03loc_6CD0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7380
		jr		z, p03loc_6CD0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7381
		push	bc
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7382
		ld		(OP3+5), hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7383
		ld		hl, p03loc_6D97
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7384
		call	pushErrorHandleR
29
1c4ed1f8d543 Eliminate all the unnecessary OPx equates.
brandonlw
parents: 27
diff changeset
  7385
		ld		hl, (OP3+5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7386
		call	ErrNotEnoughMem
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7387
		call	popErrorHandleR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7388
		pop		bc
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7389
p03loc_6CD0:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7390
		call	SetTblGraphDraw
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7391
		bit		4, b
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7392
		push	bc
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7393
		call	nz, j_SetFuncM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7394
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7395
		bit		5, b
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7396
		push	bc
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7397
		call	nz, j_SetPolM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7398
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7399
		bit		6, b
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7400
		push	bc
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7401
		call	nz, j_SetParM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7402
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7403
		bit		7, b
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7404
		push	bc
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7405
		call	nz, j_SetSeqM
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7406
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7407
		ld		a, 5
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7408
		call	j_AllEq
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7409
		ld		hl, (chkDelPtr1)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7410
		call	p03sub_6E19
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7411
		jr		nz, p03loc_6CFD
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7412
		inc		hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7413
p03loc_6CFD:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7414
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7415
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7416
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7417
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7418
		ld		(iy+4),	a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7419
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7420
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7421
		res		7, a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7422
		call	p03sub_6E19
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7423
		jr		z, p03loc_6D0F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7424
		and		1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7425
p03loc_6D0F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7426
		ld		(iy+0Fh), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7427
		call	p03sub_6E19
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7428
		jr		nz, p03loc_6D25
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7429
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7430
		ld		a, (hl)
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  7431
		res		grfExpr, (iy+traceFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7432
		bit		0, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7433
		jr		z, p03loc_6D25
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  7434
		set		grfExpr, (iy+traceFlags)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7435
p03loc_6D25:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7436
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7437
		ld		de, Xmin
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7438
		ld		bc, 36h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7439
		ldir
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7440
		call	p03sub_6E19
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7441
		jr		z, p03loc_6D47
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7442
		call	IsFuncMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7443
		jr		nz, p03loc_6D58
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7444
		call	IsRecursiveMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7445
		jr		z, p03loc_6D47
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7446
		ld		de, PlotStart
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7447
		ld		bc, 2Dh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7448
		ldir
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7449
		jr		p03loc_6D64
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7450
p03loc_6D47:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7451
		call	p03sub_6D9E
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7452
		ex		de, hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7453
		ldir
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7454
		call	IsRecursiveMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7455
		jr		z, p03loc_6D58
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7456
		ld		de, w02
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7457
		call	mov9B2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7458
p03loc_6D58:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7459
		call	p03sub_6E19
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7460
		jr		nz, p03loc_6D64
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7461
		ex		de, hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7462
		call	p03sub_6DC1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7463
		ex		de, hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7464
		ldir
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7465
p03loc_6D64:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7466
		ld		(chkDelPtr1), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7467
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7468
		pop		bc
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7469
p03loc_6D69:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7470
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7471
		ld		hl, (chkDelPtr1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7472
		inc		a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7473
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7474
		call	Page0Call_385B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7475
		ld		hl, (chkDelPtr1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7476
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7477
		inc		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7478
		call	p03sub_6DE3
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7479
		call	IsParametricMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7480
		jr		z, p03loc_6D91
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7481
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7482
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7483
		call	Page0Call_385B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7484
		ld		hl, OP1M
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7485
		set		0, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7486
		ld		hl, (chkDelPtr1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7487
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7488
		inc		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7489
		call	p03sub_6DE3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7490
p03loc_6D91:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7491
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7492
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7493
		cp		b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7494
		jr		nz, p03loc_6D69
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7495
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7496
p03loc_6D97:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7497
		pop		bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7498
		ld		(iy+2),	c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7499
		jp		JErrorNo
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7500
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7501
p03sub_6D9E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7502
		ex		de, hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7503
p03sub_6D9F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7504
		ld		hl, XresO
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7505
		ld		bc, 9
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7506
		call	IsFuncMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7507
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7508
		ld		hl, ThetaMin
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7509
		ld		bc, 1Bh
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7510
		call	IsFunctionMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7511
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7512
		ld		hl, TminPar
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7513
		call	IsParametricMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7514
		ret		nz
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7515
		ld		bc, 51h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7516
		ld		hl, PlotStart
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7517
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7518
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7519
p03sub_6DC1:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7520
		ld		bc, 6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7521
		ld		hl, polar1LineType
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7522
		call	IsFunctionMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7523
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7524
		ld		hl, para1LineType
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7525
		call	IsParametricMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7526
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7527
		ld		bc, 0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7528
		ld		hl, y1LineType
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7529
		call	IsFuncMode
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7530
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7531
		ld		bc, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7532
		ld		hl, secULineType
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7533
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7534
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7535
p03sub_6DE3:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7536
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7537
		call	p03sub_6E19
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7538
		jr		z, p03loc_6DF5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7539
		ld		a, (OP1M)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7540
		cp		82h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7541
		jr		nz, p03loc_6DF5
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7542
		call	Create0Equ
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7543
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7544
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7545
p03loc_6DF5:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7546
		ld		e, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7547
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7548
		ld		d, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7549
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7550
		ld		(chkDelPtr1), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7551
		ex		de, hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7552
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7553
		call	CreateEqu
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7554
		inc		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7555
		inc		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7556
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7557
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7558
		ld		a, b
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7559
		or		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7560
		jr		z, p03loc_6E11
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7561
		ld		hl, (chkDelPtr1)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7562
		ldir
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7563
		ld		(chkDelPtr1), hl
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7564
p03loc_6E11:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7565
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7566
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7567
		bit		5, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7568
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7569
		set		5, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7570
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7571
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7572
p03sub_6E19:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7573
		bit		1, (iy+1Eh)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7574
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7575
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7576
CircCmd:call	j_PDspGrph
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7577
		call	IsOnInterruptSet
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7578
		jr		z, p03loc_6E2A
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7579
p03loc_6E26:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7580
		call	j_TraceOff
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7581
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7582
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7583
p03loc_6E2A:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7584
		call	p03sub_6E2F
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7585
		jr		p03loc_6E26
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7586
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7587
p03sub_6E2F:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  7588
		bit		useFastCirc, (iy+plotFlag3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7589
		jr		z, p03loc_6E39
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7590
		call	j_DrawCirc2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7591
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7592
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7593
p03loc_6E39:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7594
		ld		hl, (FPS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7595
		ld		(inputDat), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7596
		call	OP1Set0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7597
		rst		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7598
		ld		a, 60h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7599
		ld		(OP1M), a
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  7600
		bit		trigDeg, (iy+trigFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7601
		call	z, DToR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7602
		rst		18h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7603
		set		5, (iy+3)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7604
		ld		b, 3Dh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7605
p03loc_6E56:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7606
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7607
		ld		hl, (inputDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7608
		ld		de, 0FFF7h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7609
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7610
		rst		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7611
		inc		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7612
		inc		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7613
		call	mov9B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7614
		ld		hl, p03loc_6ED3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7615
		call	pushErrorHandleR
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7616
		call	j_PtoR
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7617
		call	OP1ToOP4
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7618
		ld		hl, (inputDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7619
		ld		de, 0FFEEh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7620
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7621
		rst		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7622
		rst		30h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7623
		call	OP4ToOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7624
		call	OP1ToOP4
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7625
		ld		hl, (inputDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7626
		ld		de, 0FFE5h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7627
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7628
		rst		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7629
		rst		30h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7630
		call	OP4ToOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7631
		call	popErrorHandleR
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7632
p03loc_6E8E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7633
		bit		5, (iy+3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7634
		jr		z, p03loc_6E9D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7635
		call	PUSHMCPLXO1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7636
		res		5, (iy+3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7637
		jr		p03loc_6EB4
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7638
p03loc_6E9D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7639
		ld		de, OP3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7640
		call	CPYFPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7641
		inc		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7642
		inc		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7643
		call	mov9B2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7644
		call	CpyO1ToFPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7645
		ld		de, OP2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7646
		call	CpyToFPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7647
		call	CLine
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7648
p03loc_6EB4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7649
		ld		hl, (inputDat)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7650
		rst		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7651
		inc		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7652
		inc		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7653
		call	mov9B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7654
		rst		30h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7655
		ld		de, (inputDat)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7656
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7657
		pop		bc
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7658
		call	IsOnInterruptSet
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7659
		jr		nz, p03loc_6ECD
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7660
		djnz	p03loc_6E56
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7661
p03loc_6ECD:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7662
		ld		de, 3Fh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7663
		jp		DeallocFPS1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7664
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7665
p03loc_6ED3:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7666
		ld		a, 20h ; ' '
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7667
		ld		(OP1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7668
		ld		(OP2), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7669
		jr		p03loc_6E8E
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7670
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7671
GrphCirc:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7672
		ld		hl, (FPS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7673
		ld		(EQS), hl
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7674
		ld		hl, 5Ah
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7675
		call	AllocFPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7676
		ld		de, (EQS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7677
		ld		hl, 8E6Ah
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7678
		call	Mov18B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7679
		ld		hl, Xmin
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7680
		call	Mov18B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7681
		ld		hl, Ymin
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7682
		call	Mov18B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7683
		ld		hl, deltaX
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7684
		call	p03sub_6F88
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7685
		ld		hl, p03loc_6F91
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7686
		call	pushErrorHandleR
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7687
		call	OP1Set0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7688
		ld		de, 8E6Ah
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7689
		call	MovFrOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7690
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7691
		ld		de, Xmin
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7692
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7693
		ld		hl, p03loc_6F97
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7694
		call	mov9B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7695
		ld		de, Ymin
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7696
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7697
		ld		hl, p03loc_6FA0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7698
		call	mov9B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7699
		ld		de, deltaX
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7700
		call	p03sub_6F88
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7701
		ld		bc, (curGY2)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7702
		call	j_VtoWHLDE
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7703
		rst		18h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7704
		call	PushRealO4
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7705
		ld		bc, (curGY)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7706
		call	j_VtoWHLDE
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7707
		call	CpyTo2FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7708
		call	FPSub
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7709
		call	FPSquare
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7710
		call	OP1ToOP5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7711
		call	OP4ToOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7712
		call	CpyTo2FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7713
		call	FPSub
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7714
		call	FPSquare
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7715
		call	OP5ToOP2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7716
		rst		30h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7717
		call	j_SqRoot
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7718
		rst		18h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7719
		call	p03sub_6E2F
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7720
		call	popErrorHandleR
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7721
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7722
p03sub_6F6D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7723
		ld		hl, (EQS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7724
		ld		(FPS), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7725
		ld		de, 8E6Ah
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7726
		call	Mov18B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7727
		ld		de, Xmin
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7728
		call	Mov18B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7729
		ld		de, Ymin
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7730
		call	Mov18B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7731
		ld		de, deltaX
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7732
p03sub_6F88:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7733
		call	Mov18B
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7734
Mov18B:	call	mov9B2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7735
		jp		mov9B2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7736
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7737
p03loc_6F91:
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7738
		call	p03sub_6F6D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7739
		jp		JErrorNo
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7740
p03loc_6F97:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7741
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7742
		.db		81h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7743
		.db		57h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7744
		.db		96h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7745
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7746
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7747
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7748
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7749
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7750
p03loc_6FA0:       
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7751
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7752
		.db		81h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7753
		.db		28h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7754
		.db		52h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7755
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7756
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7757
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7758
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7759
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7760
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7761
		.db		7Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7762
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7763
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7764
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7765
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7766
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7767
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7768
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7769
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7770
		.db		7Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7771
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7772
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7773
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7774
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7775
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7776
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7777
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7778
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7779
		.db		80h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7780
		.db		21h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7781
		.db		73h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7782
		.db		90h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7783
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7784
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7785
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7786
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7787
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7788
		.db		80h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7789
		.db		21h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7790
		.db		73h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7791
		.db		90h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7792
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7793
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7794
		.db		0  
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7795
		.db		0  
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7796
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  7797
Page03_35D9:
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  7798
		call	IsOP1Num
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7799
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7800
		ld		hl, (FPS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7801
		ld		de, 0FFF7h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7802
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7803
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7804
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7805
		jr		nz, p03loc_6FE2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7806
		call	CpyO1ToFPS1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7807
		jp		CpyO1ToFPST
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7808
p03loc_6FE2:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7809
		call	OP1ToOP5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7810
		call	CpyTo2FPS1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7811
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7812
		jp		c, CpyO5ToFPS1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7813
		call	OP5ToOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7814
		call	CpyTo1FPST
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7815
		call	cpop1op2
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7816
		ret		nc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7817
		call	OP5ToOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7818
		jp		CpyO1ToFPST
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7819
p03loc_6FFE:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7820
		scf
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7821
ZOOMXYCMD:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7822
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7823
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7824
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7825
		ld		a, 1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7826
		call	Page0Call_3537
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7827
		call	PushRealO5
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7828
		jr		p03loc_7016
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7829
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  7830
Page03_35DF:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7831
		push	de
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7832
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7833
		push	hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7834
		call	j_RclX
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7835
		rst		18h
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7836
		call	j_RclY
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7837
p03loc_7016:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7838
		call	OP1ToOP5
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7839
		ld		hl, Ymin
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7840
		pop		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7841
		pop		af
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7842
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7843
		call	Page0Call_3543
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7844
		call	OP4ToOP2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7845
		call	PopRealO5
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7846
		call	PUSHMCPLXO1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7847
		ld		hl, Xmin
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7848
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7849
		pop		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7850
		call	Page0Call_3543
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  7851
Page03_35E5:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7852
		call	j_COPYRNG
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7853
		ld		de, Xmin
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7854
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7855
		ld		hl, OP4
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7856
		call	mov9B2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7857
		call	PopRealO2
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7858
		call	PopRealO1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7859
		ld		de, Ymin
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7860
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7861
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7862
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7863
		jp		mov9B2
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7864
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7865
p03sub_7053:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7866
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7867
		ld		de, 0FFF1h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7868
		add		hl, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7869
		call	p03sub_7070
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7870
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7871
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7872
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7873
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7874
		jr		c, p03loc_706C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7875
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7876
		ld		a, (hl)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7877
		cp		'1'
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7878
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7879
		call	p03sub_7070
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7880
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7881
p03loc_706C:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7882
		call	p03sub_7070
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7883
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7884
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7885
p03sub_7070:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7886
		push	hl
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7887
		call	p03sub_6692
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7888
		call	j_Find_Parse_Formula
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7889
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7890
		ld		bc, 5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7891
		add		hl, bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7892
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7893
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7894
p03sub_707D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7895
		ld		hl, (FPS)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7896
		ld		de, 0FFF7h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7897
		add		hl, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7898
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7899
p03sub_7084:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7900
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7901
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7902
		ex		de, hl
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7903
		call	j_CheckXY
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7904
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7905
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  7906
Page03_35EB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7907
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7908
		jp		z, GrphCirc
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7909
		cp		8Fh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7910
		jp		z, ZmStats
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7911
		cp		9Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7912
		jp		z, StoGDB2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7913
		cp		9Bh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7914
		jp		z, RclGDB2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7915
		cp		0A5h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7916
		jp		z, CircCmd
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7917
		cp		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7918
		jp		z, ZOOMXYCMD
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7919
		cp		89h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7920
		jp		z, p03loc_6FFE
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7921
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7922
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7923
p03loc_70AE:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7924
		call	p03sub_748F
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  7925
InitInfStatEditorContext:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7926
		ld		a, (keyExtend)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7927
		call	p03sub_7CBB
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7928
		jr		z, p03loc_70BF
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7929
		set		4, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7930
		set		4, (iy+1Ch)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7931
p03loc_70BF:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7932
		ld		(unk_8D0A), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7933
		ld		hl, p03loc_7650
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  7934
		call	AppInitEnoughMem50
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  7935
		set		grfSplitOverride, (iy+sGrFlags)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7936
p03loc_70CC:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7937
		call	p03sub_71FC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7938
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7939
		ld		e, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7940
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7941
		ld		d, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7942
		ex		de, hl
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  7943
		ld		a, 74h
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  7944
		bit		localizeHookActive, (iy+hookflags3)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7945
		call	nz, j_call_character_hook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7946
		ld		de, OP3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7947
		call	Mov8B
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7948
		call	Mov8B
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  7949
		call	Page03_3711
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7950
		call	j_ClrWindow
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7951
		call	p03sub_722B
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7952
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7953
		ld		(curRow), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7954
p03loc_70F4:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7955
		call	p03sub_74AD
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7956
		ld		hl, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7957
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7958
		ld		(unk_8D0B), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7959
		call	p03sub_7264
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7960
		call	p03sub_7316
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7961
		jp		nz, p03loc_710B
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7962
		call	p03loc_45E3
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  7963
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7964
p03loc_710B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7965
		res		6, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7966
		set		5, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7967
		cp		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7968
		jr		z, p03loc_7132
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7969
		res		5, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7970
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7971
		jr		z, p03loc_7132
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7972
		cp		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7973
		jr		nz, p03loc_7129
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7974
		set		1, (iy+18h)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7975
		jr		p03loc_7132
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7976
p03loc_7129:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7977
		cp		9
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7978
		jp		nz, p03loc_71CB
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7979
		set		6, (iy+1Ch)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7980
p03loc_7132:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7981
		set		7, (iy+1Ch)
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  7982
		call	Page03_37AD
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7983
		set		6, (iy+5)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7984
		call	j_CATALOGCHK
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7985
		ld		hl, 84C9h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7986
		bit		5, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7987
		jr		nz, p03loc_7152
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7988
		bit		6, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7989
		jr		nz, p03loc_7152
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7990
		ld		hl, 84CCh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  7991
p03loc_7152:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7992
		ld		(editBtm), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7993
		ld		(editTail), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7994
		ld		a, (unk_8D0B)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  7995
		call	j_CMP_STATPTR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7996
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7997
		bit		6, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7998
		jr		z, p03loc_716E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  7999
		ld		a, (hl)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8000
		cp		5Eh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8001
		jr		z, p03loc_7174
32
263488c56ee1 More cleanup.
brandonlw
parents: 29
diff changeset
  8002
		call	CancelAlpha
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8003
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8004
p03loc_716E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8005
		bit		5, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8006
		jr		z, p03loc_7185
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8007
p03loc_7174:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8008
		ld		de, nameBuff
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  8009
		call	Mov5B
32
263488c56ee1 More cleanup.
brandonlw
parents: 29
diff changeset
  8010
		call	CancelAlpha
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  8011
		call	Page03_37A7
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8012
		ld		bc, 2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8013
		jr		p03loc_7191
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8014
p03loc_7185:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8015
		call	j_NameToBuf
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8016
		call	j_RstrSomeFlags
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  8017
		call	Page03_37A7
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8018
		call	j_CurNameLength
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8019
p03loc_7191:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8020
		ld		hl, (editBtm)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8021
		sbc		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8022
		ld		(editTail), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8023
		ld		hl, nameBuff
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8024
		add		hl, bc
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8025
		dec		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8026
		ld		de, (editBtm)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8027
		dec		de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8028
		lddr
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8029
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8030
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8031
p03sub_71A6:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8032
		push	af
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8033
		sub		52h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8034
		ld		hl, p03loc_7AD2
40
ba7bd14b7d7b Minor cleanup
brandonlw
parents: 39
diff changeset
  8035
		call	ldHLind_AWord
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8036
		pop		af
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8037
		cp		58h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8038
		jr		c, p03loc_71BA
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8039
		cp		5Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8040
		jr		z, p03loc_71BE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8041
		jr		p03loc_71C2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8042
p03loc_71BA:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8043
		ld		a, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8044
		jr		p03loc_71C4
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8045
p03loc_71BE:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8046
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8047
		jr		p03loc_71C4
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8048
p03loc_71C2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8049
		ld		a, 2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8050
p03loc_71C4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8051
		ld		(unk_97A1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8052
		ld		(unk_979F), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8053
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8054
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8055
p03loc_71CB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8056
		ld		a, (unk_8D0B)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8057
		call	p03sub_71A6
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8058
		ld		(unk_97A3), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8059
		ld		a, (unk_8D0B)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8060
		cp		58h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8061
		jr		z, p03loc_71DF
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8062
		res		4, (iy+1Ch)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8063
p03loc_71DF:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8064
		set		appCurWord, (iy+appFlags)
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8065
		res		appTextSave, (iy+appFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8066
		call	CanAlphIns
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8067
		bit		4, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8068
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8069
		res		4, (iy+1Ch)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8070
		call	p03sub_7CBB
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8071
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8072
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8073
		jp		p03loc_7D84
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8074
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8075
p03sub_71FC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8076
		ld		a, (unk_8D0A)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8077
		sla	a
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8078
		sla	a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8079
		ld		e, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8080
		ld		d, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8081
		ld		hl, p03loc_78AF
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8082
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8083
		ld		e, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8084
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8085
		ld		d, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8086
		ld		(unk_9700), de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8087
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8088
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8089
p03sub_7212:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8090
		push	ix
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8091
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8092
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8093
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8094
		jr		z, p03loc_7235
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8095
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8096
		jr		z, p03loc_7235
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8097
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8098
		ld		de, 0FFFDh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8099
p03loc_7225:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8100
		add		ix, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8101
		djnz	p03loc_7225
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8102
		jr		p03loc_7235
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8103
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8104
p03sub_722B:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8105
		push	ix
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8106
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8107
		res		5, (iy+1Dh)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8108
p03loc_7235:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8109
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8110
		ld		(curRow), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8111
p03loc_723A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8112
		sub		a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8113
		ld		(curCol), a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8114
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8115
		ld		hl, winBtm
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8116
		cp		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8117
		jr		nc, p03loc_7261
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8118
		ld		a, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8119
		ld		(unk_8D0B), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8120
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8121
		jr		z, p03loc_725E
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8122
		call	p03sub_7278
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8123
		ld		de, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8124
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8125
		ld		hl, curRow
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8126
		inc		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8127
		jr		p03loc_723A
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8128
p03loc_725E:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8129
		call	j_EraseEOW2
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8130
p03loc_7261:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8131
		pop		ix
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8132
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8133
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8134
p03sub_7264:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8135
		push	hl
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8136
		sub		47h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8137
		ld		e, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8138
		ld		a, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8139
		jr		c, p03loc_7273
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8140
		ld		d, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8141
		ld		hl, p03loc_765D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8142
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8143
		ld		a, (hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8144
p03loc_7273:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8145
		ld		(unk_8D0B+1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8146
		pop		hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8147
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8148
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8149
p03sub_7278:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8150
		call	p03sub_7264
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8151
		call	setTitle
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8152
		call	p03sub_4D49
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8153
		ld		a, (ix+0)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8154
		cp		5Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8155
		ret		z
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8156
		cp		5Bh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8157
		jp		nc, p03loc_72BC
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8158
		cp		54h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8159
		jr		z, p03loc_7295
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8160
		ld		a, 3Ah
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8161
		call	j_PutC
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8162
p03loc_7295:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8163
		ld		a, (ix+0)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8164
		cp		52h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8165
		jp		c, p03loc_72D9
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8166
		call	p03sub_71A6
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8167
		push	ix
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8168
		call	p03sub_7D48
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8169
		pop		ix
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8170
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8171
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8172
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8173
;Not referenced anywhere.
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8174
		ld		a, (unk_89F5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8175
		push	af
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8176
		set		textInverse, (iy+textFlags)
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8177
		set		preClrForMode, (iy+newDispF)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8178
		call	p03sub_4D49
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8179
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8180
		ld		(unk_89F5), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8181
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8182
#endif
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8183
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8184
p03loc_72BC:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8185
		ld		a, ' '
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8186
		call	j_PutC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8187
		ld		hl, p03loc_7A64
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8188
		ld		a, 71h
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8189
		bit		localizeHookActive, (iy+hookflags3)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8190
		call	nz, j_call_character_hook
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8191
		call	p03sub_4D49
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8192
		ret		c
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8193
		ld		a, (curRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8194
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8195
		ld		(curRow), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8196
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8197
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8198
p03loc_72D9:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8199
		bit		5, (iy+1Dh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8200
		ret		nz
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8201
		call	Rcl_StatVar
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8202
		ld		a, (ix+0)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8203
		cp		51h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8204
		jr		nz, p03loc_72F1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8205
		call	CkOP1Real
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8206
		cp		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8207
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8208
		jp		p03loc_7DBC
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8209
p03loc_72F1:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8210
		call	CkOP1Real
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8211
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8212
		jp		z, p03loc_7DBC
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8213
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8214
		jr		z, p03loc_7301
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8215
		cp		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8216
		jr		nz, p03loc_7308
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8217
p03loc_7301:
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  8218
		ld		hl, OP1+1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8219
		call	j_RstrSomeFlags
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8220
		ret
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8221
p03loc_7308:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8222
		cp		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8223
		jr		nz, p03loc_7310
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8224
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8225
		ld		(OP1), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8226
p03loc_7310:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8227
		call	j_setNumWindow
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8228
		jp		p03loc_4587
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8229
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8230
p03sub_7316:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8231
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8232
		ld		a, (unk_8D0B+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8233
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8234
		ld		a, b
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8235
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8236
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8237
p03loc_731D:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8238
		cp		kApp
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8239
		jp		z, p03loc_70AE
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8240
		bit		7, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8241
		jp		nz, Page0Call_342F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8242
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8243
		jr		z, p03loc_7332
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8244
		cp		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8245
		jp		nz, p03loc_7395
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8246
p03loc_7332:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8247
		call	p03sub_7316
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8248
		jr		nz, p03loc_7343
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8249
		call	IsEditEmpty
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8250
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8251
		call	ParseAndStoreSysVar
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8252
		call	DisplayEditSysVar
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8253
		jr		p03loc_7366
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8254
p03loc_7343:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8255
		cp		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8256
		jr		z, p03loc_7356
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8257
		push	ix
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8258
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8259
		ld		a, (ix+3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8260
		pop		ix
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8261
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8262
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8263
		jr		p03loc_7366
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8264
p03loc_7356:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8265
		ld		a, (unk_8D0B+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8266
		cp		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8267
		jp		z, p03loc_75C0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8268
		cp		7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8269
		jp		z, p03loc_75C0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8270
		jp		p03loc_7D23
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8271
p03loc_7366:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8272
		call	p03sub_74B9
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8273
		call	p03sub_7474
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8274
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8275
		ld		a, (ix+3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8276
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8277
		jr		z, p03loc_7392
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8278
		ld		de, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8279
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8280
		ld		(unk_9700), ix
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8281
		call	p03sub_4987
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8282
		jr		c, p03loc_738F
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8283
		ld		(curCol), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8284
p03loc_7387:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8285
		ld		a, (ix+0)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8286
		call	p03sub_7278
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8287
		jr		p03loc_7392
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8288
p03loc_738F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8289
		ld		(curRow), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8290
p03loc_7392:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8291
		jp		p03loc_70F4
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8292
p03loc_7395:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8293
		cp		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8294
		jr		nz, p03loc_73D7
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8295
		call	p03sub_7316
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8296
		jr		z, p03loc_73AD
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8297
		push	ix
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8298
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8299
		ld		a, (ix+0FDh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8300
		pop		ix
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8301
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8302
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8303
		jr		p03loc_73B7
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8304
p03loc_73AD:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8305
		call	IsEditEmpty
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8306
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8307
		call	ParseAndStoreSysVar
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8308
		call	DisplayEditSysVar
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8309
p03loc_73B7:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8310
		call	p03sub_74B9
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8311
		call	p03sub_7474
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8312
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8313
		ld		a, (ix+0FDh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8314
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8315
		jr		z, p03loc_7392
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8316
		ld		de, 0FFFDh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8317
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8318
		ld		(unk_9700), ix
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  8319
		call	Page03_3789
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8320
		jr		nc, p03loc_738F
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8321
		jr		p03loc_7387
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8322
p03loc_73D7:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8323
		bit		enableQueue, (iy+rclFlag)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8324
		jr		nz, p03loc_73E0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8325
		cp		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8326
		ret		z
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8327
p03loc_73E0:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8328
		call	p03sub_7316
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8329
		jp		z, CallCommon
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8330
		jp		p03loc_7D84
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8331
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8332
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8333
;Not referenced anywhere.
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8334
		cp		9
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8335
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8336
		cp		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8337
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8338
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8339
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8340
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8341
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8342
		cp		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8343
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8344
		cp		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8345
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8346
		cp		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8347
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8348
		cp		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8349
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8350
		cp		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8351
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8352
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8353
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8354
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8355
#endif
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8356
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  8357
Page03_3465:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8358
		call	CanAlphIns
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8359
		bit		5, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8360
		jr		nz, p03loc_7426
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8361
		bit		6, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8362
		jr		nz, p03loc_7426
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8363
		ld		hl, nameBuff
43
486c42a314bc First pass at the rest of page 0 cleanup.
brandonlw
parents: 42
diff changeset
  8364
		ld		de, OP1+1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8365
		ld		bc, 5
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8366
		ldir
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8367
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8368
		ld		(OP1), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8369
p03loc_7426:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8370
		ld		hl, p03loc_746C
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8371
		call	pushErrorHandleR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8372
		ld		a, (unk_8D0B)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8373
		call	STO_STATVAR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8374
		ld		de, OP1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8375
		ld		a, (de)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8376
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8377
		jr		nz, p03loc_7457
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8378
		inc		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8379
		ld		a, (de)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8380
		cp		31h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8381
		jr		z, p03loc_7457
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8382
		cp		5Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8383
		jr		z, p03loc_7450
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8384
		ld		a, 5Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8385
		ld		(de), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8386
		inc		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8387
		ld		hl, nameBuff
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8388
		ld		bc, 5
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8389
		ldir
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8390
p03loc_7450:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8391
		rst		10h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8392
		ld		hl, 0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8393
		call	c, CreateRList
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8394
p03loc_7457:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8395
		call	popErrorHandleR
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8396
		bit		monAbandon, (iy+monFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8397
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8398
		ld		hl, 92C5h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8399
		bit		2, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8400
		jp		z, p03loc_7366
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8401
		res		2, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8402
		jp		p03loc_73B7
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8403
p03loc_746C:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8404
		bit		monAbandon, (iy+monFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8405
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8406
		jp		JError
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8407
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8408
p03sub_7474:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8409
		ld		a, 8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8410
		ld		(winBtm), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8411
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8412
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8413
p03sub_747A:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8414
		set		monAbandon, (iy+monFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8415
		ld		hl, p03loc_748A
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8416
		call	pushErrorHandleR
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8417
		call	Page0Call_3435
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8418
		call	popErrorHandleR
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8419
p03loc_748A:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8420
		res		monAbandon, (iy+monFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8421
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8422
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8423
p03sub_748F:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8424
		call	p03sub_74B9
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8425
		call	p03sub_7316
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8426
		jr		z, p03loc_74A0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8427
		bit		7, (iy+1Ch)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8428
		call	nz, p03sub_747A
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8429
		jr		p03loc_74A3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8430
p03loc_74A0:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8431
		call	p03sub_4B7F
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8432
p03loc_74A3:
41
9ef17625274f Finished _newContext and other page 0 cleanup. Still lots left to go...
brandonlw
parents: 40
diff changeset
  8433
		call	ResetPromptEditFlag
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8434
		call	p03sub_7474
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8435
		res		grfSplitOverride, (iy+sGrFlags)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8436
p03sub_74AD:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8437
		res		1, (iy+18h)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8438
		res		7, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8439
		res		6, (iy+1Ch)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8440
p03sub_74B9:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8441
		res		appCurWord, (iy+appFlags)
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8442
		set		appTextSave, (iy+appFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8443
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8444
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8445
p03loc_74C2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8446
		jp		numPPutAway
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8447
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  8448
Page03_346B:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8449
		call	OP1Set0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8450
		ld		a, 3Dh
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8451
		call	j_CMP_STATPTR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8452
		ex		de, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8453
		ld		a, 9
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8454
p03loc_74D0:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8455
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8456
		sub		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8457
		jr		nz, p03loc_74D0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8458
		ld		hl, 957Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8459
		ld		(OP1+1), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8460
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8461
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8462
		ld		(OP1), a
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8463
		ld		hl, 31h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8464
		ld		(OP1+1), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8465
		call	MovFrOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8466
		call	MovFrOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8467
		call	MovFrOP1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8468
		ld		a, 5Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8469
		ld		(OP1+1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8470
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8471
		ld		(OP1M), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8472
		call	MovFrOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8473
		call	MovFrOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8474
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8475
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8476
		ld		(OP1M), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8477
		call	MovFrOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8478
		call	MovFrOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8479
		call	ZeroOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8480
		ld		hl, p03loc_5C02
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8481
		ld		(OP1), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8482
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8483
		ld		a, 1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8484
		ld		(OP1M), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8485
		call	MovFrOP1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8486
		ld		(iy+1Ch), 0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8487
		call	ZeroOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8488
		call	MovFrOP1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8489
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8490
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8491
IsInfStatContext:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8492
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8493
		ld		a, (mcxCurApp)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8494
		cp		kInfStat
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8495
		ld		a, b
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8496
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8497
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  8498
Page03_3471:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8499
		push	bc
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8500
		ld		a, (unk_89F5)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8501
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8502
		ld		a, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8503
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8504
		ld		a, (ix+5)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8505
		ld		(curCol), a
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8506
		jr		nc, p03loc_756F
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8507
		bit		localizeHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8508
		jr		z, p03loc_755C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8509
		ld		h, (ix+0Dh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8510
		ld		l, (ix+0Eh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8511
		ld		a, 0
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8512
		call	j_call_character_hook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8513
		jr		z, p03loc_7561
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8514
p03loc_755C:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8515
		ld		a, (ix+6)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8516
		and		0Fh
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8517
p03loc_7561:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8518
		ld		b, a
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8519
		set		textInverse, (iy+textFlags)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8520
		ld		a, ' '
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8521
p03loc_7568:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8522
		call	j_PutC
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8523
		djnz	p03loc_7568
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8524
		jr		p03loc_75B1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8525
p03loc_756F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8526
		ld		l, (ix+9)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8527
		ld		h, (ix+0Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8528
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8529
		and		(ix+0Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8530
		cp		(ix+0Bh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8531
		jr		nz, p03loc_7584
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8532
		set		textInverse, (iy+textFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8533
		jr		p03loc_7588
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8534
p03loc_7584:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8535
		set		preClrForMode, (iy+newDispF)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8536
p03loc_7588:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8537
		bit		localizeHookActive, (iy+hookflags3)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8538
		jr		z, p03loc_759B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8539
		ld		h, (ix+0Dh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8540
		ld		l, (ix+0Eh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8541
		ld		a, 1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8542
		call	j_call_character_hook
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8543
		jr		z, p03loc_75B1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8544
p03loc_759B:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8545
		ld		l, (ix+7)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8546
		ld		h, (ix+8)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8547
		ld		de, OP1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8548
p03loc_75A4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8549
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8550
		ld		(de), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8551
		inc		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8552
		inc		de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8553
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8554
		jr		nz, p03loc_75A4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8555
		ld		hl, OP1
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8556
		call	j_putsm
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8557
p03loc_75B1:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8558
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8559
		ld		(curRow), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8560
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8561
		ld		(unk_89F5), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8562
		pop		bc
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8563
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8564
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8565
p03sub_75BB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8566
		set		5, (iy+1Ch)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8567
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8568
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8569
p03loc_75C0:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8570
		ld		hl, (unk_97A3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8571
		ld		de, (unk_979F)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8572
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8573
		sbc		hl, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8574
		call	nz, p03sub_75BB
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8575
		ld		hl, p03loc_7639
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8576
		call	pushErrorHandleR
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8577
		call	p03sub_7C6C
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8578
		call	PopRealO1
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8579
		res		grfSplitOverride, (iy+sGrFlags)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8580
		call	p03sub_7474
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8581
		call	p03sub_74B9
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8582
		call	j_ClrScrnFull
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8583
		ld		a, (unk_8D0A)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8584
		and		0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8585
		cp		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8586
		jr		nz, p03loc_75FD
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8587
		ld		b, 19h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8588
		ld		a, (nameBuff)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8589
		call	j_TwoVarSet
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8590
		res		2, (iy+1Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8591
		jr		p03loc_760E
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8592
p03loc_75FD:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8593
		ld		d, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8594
		ld		e, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8595
		ld		hl, p03loc_7C5D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8596
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8597
		ld		e, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8598
		ld		a, (nameBuff)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8599
		call	j_ExTest_INT
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8600
		call	CHKERRBREAK
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8601
p03loc_760E:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8602
		call	popErrorHandleR
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8603
		bit		5, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8604
		jr		z, p03loc_7621
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8605
		ld		a, kGraph
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8606
		call	newContext
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8607
		ld		a, kGraph
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8608
		jp		sendKPress
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  8609
p03loc_7621:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8610
		bit		7, (iy+9)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8611
		call	nz, Page0Call_344D
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8612
		bit		grfSplit, (iy+sGrFlags)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8613
		call	nz, j_GrBufCpy
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8614
		set		6, (iy+1Ch)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8615
		ld		a, appStart
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8616
		call	newContext
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8617
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8618
p03loc_7639:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  8619
		res		statsValid, (iy+statFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8620
		res		7, (iy+9)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8621
		res		7, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8622
		jp		JError
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8623
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8624
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8625
;Not referenced anywhere.
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8626
		ld		hl, (mcxMain)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8627
		ld		de, p03loc_731D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8628
		or		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8629
		sbc		hl, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8630
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8631
#endif
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8632
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8633
p03loc_7650:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8634
		.dw		p03loc_731D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8635
		.dw		p03loc_74C2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8636
		.dw		p03sub_748F
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  8637
		.dw		j_numRedisp
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8638
		.dw		p03loc_7DC7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8639
		.dw		p03loc_4B90
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8640
		.db		0Ah
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8641
p03loc_765D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8642
		.db		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8643
		.db		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8644
		.db		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8645
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8646
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8647
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8648
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8649
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8650
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8651
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8652
		.db		9
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8653
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8654
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8655
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8656
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8657
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8658
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8659
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8660
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8661
		.db		7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8662
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8663
		.db		0FFh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8664
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8665
		.db		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8666
p03loc_7675:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8667
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8668
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8669
		.db		3Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8670
		.dw		aA
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8671
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8672
		.dw		p03loc_79CC
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8673
		.db		4Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8674
		.dw		p03loc_79CE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8675
		.db		47h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8676
		.dw		aFreq
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8677
		.db		52h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8678
		.dw		p03loc_7A44
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8679
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8680
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8681
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8682
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8683
p03loc_768D:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8684
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8685
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8686
		.db		3Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8687
		.dw		aA
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8688
		.db		4Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8689
		.dw		aList
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8690
		.db		47h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8691
		.dw		aFreq
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8692
		.db		52h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8693
		.dw		p03loc_7A44
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8694
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8695
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8696
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8697
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8698
p03loc_76A2:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8699
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8700
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8701
		.db		4Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8702
		.dw		aList1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8703
		.db		4Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8704
		.dw		aList2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8705
		.db		48h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8706
		.dw		aFreq1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8707
		.db		49h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8708
		.dw		aFreq2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8709
		.db		53h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8710
		.dw		a1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8711
		.db		59h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8712
		.dw		aPooled
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8713
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8714
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8715
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8716
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8717
p03loc_76BD:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8718
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8719
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8720
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8721
		.dw		a1_2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8722
		.db		40h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8723
		.dw		a2_0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8724
		.db		4Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8725
		.dw		aList1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8726
		.db		4Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8727
		.dw		aList2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8728
		.db		48h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8729
		.dw		aFreq1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8730
		.db		49h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8731
		.dw		aFreq2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8732
		.db		53h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8733
		.dw		a1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8734
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8735
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8736
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8737
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8738
p03loc_76DB:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8739
		.db		41h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8740
		.dw		aPa
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8741
		.db		42h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8742
		.dw		aX
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8743
		.db		43h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8744
		.dw		aN_0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8745
		.db		54h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8746
		.dw		aProp
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8747
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8748
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8749
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8750
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8751
p03loc_76ED:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8752
		.db		44h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8753
		.dw		aX1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8754
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8755
		.dw		aN1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8756
		.db		45h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8757
		.dw		aX2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8758
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8759
		.dw		aN2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8760
		.db		55h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8761
		.dw		aP1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8762
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8763
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8764
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8765
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8766
p03loc_7702:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8767
		.db		4Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8768
		.dw		aObserved
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8769
		.db		50h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8770
		.dw		aExpected
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8771
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8772
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8773
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8774
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8775
p03loc_770E:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8776
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8777
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8778
		.db		4Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8779
		.dw		aList1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8780
		.db		4Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8781
		.dw		aList2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8782
		.db		48h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8783
		.dw		aFreq1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8784
		.db		49h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8785
		.dw		aFreq2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8786
		.db		56h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8787
		.dw		a1_0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8788
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8789
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8790
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8791
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8792
p03loc_7726:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8793
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8794
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8795
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8796
		.dw		p03loc_79CC
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8797
		.db		4Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8798
		.dw		aList
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8799
		.db		47h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8800
		.dw		aFreq
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8801
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8802
		.dw		aCLevel
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8803
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8804
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8805
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8806
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8807
p03loc_773B:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8808
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8809
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8810
		.db		4Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8811
		.dw		aList
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8812
		.db		47h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8813
		.dw		aFreq
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8814
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8815
		.dw		aCLevel
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8816
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8817
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8818
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8819
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8820
p03loc_774D:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8821
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8822
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8823
		.db		4Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8824
		.dw		aList1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8825
		.db		4Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8826
		.dw		aList2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8827
		.db		48h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8828
		.dw		aFreq1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8829
		.db		49h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8830
		.dw		aFreq2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8831
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8832
		.dw		aCLevel
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8833
		.db		59h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8834
		.dw		aPooled
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8835
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8836
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8837
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8838
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8839
p03loc_7768:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8840
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8841
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8842
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8843
		.dw		a1_2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8844
		.db		40h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8845
		.dw		a2_0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8846
		.db		4Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8847
		.dw		aList1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8848
		.db		4Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8849
		.dw		aList2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8850
		.db		48h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8851
		.dw		aFreq1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8852
		.db		49h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8853
		.dw		aFreq2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8854
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8855
		.dw		aCLevel
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8856
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8857
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8858
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8859
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8860
p03loc_7786:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8861
		.db		42h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8862
		.dw		aX
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8863
		.db		43h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8864
		.dw		aN_0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8865
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8866
		.dw		aCLevel
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8867
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8868
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8869
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8870
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8871
p03loc_7795:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8872
		.db		44h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8873
		.dw		aX1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8874
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8875
		.dw		aN1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8876
		.db		45h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8877
		.dw		aX2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8878
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8879
		.dw		aN2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8880
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8881
		.dw		aCLevel
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8882
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8883
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8884
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8885
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8886
p03loc_77AA:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8887
		.db		4Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8888
		.dw		aXlist
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8889
		.db		4Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8890
		.dw		aYlist
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8891
		.db		47h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8892
		.dw		aFreq
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8893
		.db		57h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8894
		.dw		p03loc_7A54
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8895
		.db		51h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8896
		.dw		aRegEQ_03
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8897
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8898
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8899
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8900
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8901
p03loc_77BF:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8902
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8903
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8904
		.db		3Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8905
		.dw		aA
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8906
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8907
		.dw		p03loc_79CC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8908
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8909
		.dw		p03loc_7A3D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8910
		.db		2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8911
		.dw		aN
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8912
		.db		52h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8913
		.dw		p03loc_7A44
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8914
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8915
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8916
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8917
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8918
p03loc_77D7:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8919
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8920
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8921
		.db		3Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8922
		.dw		aA
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8923
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8924
		.dw		p03loc_7A3D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8925
		.db		6
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8926
		.dw		aSx
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8927
		.db		2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8928
		.dw		aN
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8929
		.db		52h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8930
		.dw		p03loc_7A44
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8931
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8932
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8933
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8934
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8935
p03loc_77EF:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8936
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8937
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8938
		.db		2Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8939
		.dw		a1_1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8940
		.db		2Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8941
		.dw		aSx1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8942
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8943
		.dw		aN1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8944
		.db		2Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8945
		.dw		a2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8946
		.db		2Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8947
		.dw		aSx2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8948
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8949
		.dw		aN2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8950
		.db		53h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8951
		.dw		a1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8952
		.db		59h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8953
		.dw		aPooled
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8954
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8955
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8956
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8957
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8958
p03loc_7810:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8959
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8960
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8961
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8962
		.dw		a1_2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8963
		.db		40h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8964
		.dw		a2_0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8965
		.db		2Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8966
		.dw		a1_1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8967
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8968
		.dw		aN1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8969
		.db		2Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8970
		.dw		a2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8971
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8972
		.dw		aN2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8973
		.db		53h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8974
		.dw		a1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8975
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8976
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8977
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8978
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8979
p03loc_782E:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8980
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8981
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8982
		.db		2Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8983
		.dw		aSx1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8984
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8985
		.dw		aN1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8986
		.db		2Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8987
		.dw		aSx2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8988
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8989
		.dw		aN2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8990
		.db		56h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8991
		.dw		a1_0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8992
		.db		5Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8993
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  8994
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8995
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  8996
p03loc_7846:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8997
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8998
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  8999
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9000
		.dw		p03loc_79CC
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9001
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9002
		.dw		p03loc_7A3D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9003
		.db		2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9004
		.dw		aN
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9005
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9006
		.dw		aCLevel
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9007
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9008
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9009
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9010
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9011
p03loc_785B:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9012
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9013
		.dw		aInpt
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9014
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9015
		.dw		p03loc_7A3D
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9016
		.db		6
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9017
		.dw		aSx
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9018
		.db		2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9019
		.dw		aN
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9020
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9021
		.dw		aCLevel
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9022
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9023
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9024
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9025
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9026
p03loc_7870:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9027
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9028
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9029
		.db		2Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9030
		.dw		a1_1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9031
		.db		2Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9032
		.dw		aSx1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9033
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9034
		.dw		aN1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9035
		.db		2Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9036
		.dw		a2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9037
		.db		2Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9038
		.dw		aSx2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9039
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9040
		.dw		aN2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9041
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9042
		.dw		aCLevel
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9043
		.db		59h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9044
		.dw		aPooled
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9045
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9046
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9047
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9048
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9049
p03loc_7891:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9050
		.db		58h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9051
		.dw		aInpt
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9052
		.db		3Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9053
		.dw		a1_2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9054
		.db		40h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9055
		.dw		a2_0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9056
		.db		2Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9057
		.dw		a1_1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9058
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9059
		.dw		aN1
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9060
		.db		2Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9061
		.dw		a2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9062
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9063
		.dw		aN2
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9064
		.db		46h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9065
		.dw		aCLevel
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9066
		.db		5Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9067
		.dw		aCalculate
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9068
		.db		0FFh
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9069
		.dw		0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9070
p03loc_78AF:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9071
		.dw		p03loc_7675
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9072
		.dw		p03loc_792B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9073
		.dw		p03loc_768D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9074
		.dw		p03loc_7932
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9075
		.dw		p03loc_76BD
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9076
		.dw		p03loc_7945
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9077
		.dw		p03loc_76A2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9078
		.dw		p03loc_7939
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9079
		.dw		p03loc_76DB
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9080
		.dw		p03loc_7951
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9081
		.dw		p03loc_76ED
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9082
		.dw		p03loc_795D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9083
		.dw		p03loc_7726
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9084
		.dw		p03loc_797D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9085
		.dw		p03loc_773B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9086
		.dw		p03loc_7987
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9087
		.dw		p03loc_7768
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9088
		.dw		p03loc_799C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9089
		.dw		p03loc_774D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9090
		.dw		p03loc_7991
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9091
		.dw		p03loc_7786
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9092
		.dw		p03loc_79A7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9093
		.dw		p03loc_7795
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9094
		.dw		p03loc_79B2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9095
		.dw		p03loc_7702
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9096
		.dw		p03loc_7969
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9097
		.dw		p03loc_770E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9098
		.dw		p03loc_7971
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9099
		.dw		p03loc_77AA
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9100
		.dw		p03loc_79BD
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9101
		.dw		p03loc_77AA
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9102
		.dw		p03loc_79BD
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9103
		.dw		p03loc_77BF
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9104
		.dw		p03loc_792B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9105
		.dw		p03loc_77D7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9106
		.dw		p03loc_7932
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9107
		.dw		p03loc_7810
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9108
		.dw		p03loc_7945
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9109
		.dw		p03loc_77EF
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9110
		.dw		p03loc_7939
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9111
		.dw		p03loc_76DB
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9112
		.dw		p03loc_7951
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9113
		.dw		p03loc_76ED
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9114
		.dw		p03loc_795D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9115
		.dw		p03loc_7846
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9116
		.dw		p03loc_797D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9117
		.dw		p03loc_785B
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9118
		.dw		p03loc_7987
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9119
		.dw		p03loc_7891
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9120
		.dw		p03loc_799C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9121
		.dw		p03loc_7870
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9122
		.dw		p03loc_7991
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9123
		.dw		p03loc_7786
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9124
		.dw		p03loc_79A7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9125
		.dw		p03loc_7795
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9126
		.dw		p03loc_79B2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9127
		.dw		p03loc_7702
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9128
		.dw		p03loc_7969
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9129
		.dw		p03loc_782E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9130
		.dw		p03loc_7971
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9131
		.dw		p03loc_77AA
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9132
		.dw		p03loc_79BD
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9133
p03loc_792B:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9134
		.asc	'Z-Test',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9135
p03loc_7932:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9136
		.asc	'T-Test',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9137
p03loc_7939:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9138
		.asc	'2-SampTTest',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9139
p03loc_7945:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9140
		.asc	'2-SampZTest',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9141
p03loc_7951:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9142
		.asc	'1-PropZTest',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9143
p03loc_795D:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9144
		.asc	'2-PropZTest',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9145
p03loc_7969:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9146
		.asc	0D9h,12h,'-Test',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9147
p03loc_7971:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9148
		.asc	'2-Samp',0DAh,'Test',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9149
p03loc_797D:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9150
		.asc	'ZInterval',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9151
p03loc_7987:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9152
		.asc	'TInterval',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9153
p03loc_7991:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9154
		.asc	'2-SampTInt',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9155
p03loc_799C:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9156
		.asc	'2-SampZInt',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9157
p03loc_79A7:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9158
		.asc	'1-PropZInt',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9159
p03loc_79B2:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9160
		.asc	'2-PropZInt',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9161
p03loc_79BD:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9162
		.asc	'LinRegTTest',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9163
aA:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9164
		.db		0C3h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9165
		.db		80h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9166
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9167
p03loc_79CC:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9168
		.db		0C7h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9169
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9170
p03loc_79CE:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9171
aList:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9172
		.asc	'List',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9173
aFreq:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9174
		.asc	'Freq',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9175
aList1:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9176
		.asc	'List1',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9177
aList2:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9178
		.asc	'List2',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9179
aFreq1:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9180
		.asc	'Freq1',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9181
aFreq2:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9182
		.asc	'Freq2',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9183
aN1:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9184
		.asc	'n1',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9185
a1_1:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9186
		.db		0CBh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9187
		.db		31h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9188
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9189
aSx1:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9190
		.asc	'Sx1',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9191
aN2:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9192
		.asc	'n2',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9193
a2:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9194
		.db		0CBh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9195
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9196
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9197
aSx2:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9198
		.asc	'Sx2',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9199
a1_2:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9200
		.db		0C7h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9201
		.db		31h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9202
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9203
a2_0:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9204
		.db		0C7h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9205
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9206
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9207
aPa:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9208
		.db		70h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9209
		.db		80h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9210
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9211
aX:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9212
		.asc	'x',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9213
aN_0:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9214
		.asc	'n',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9215
aX1:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9216
		.asc	'x1',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9217
aX2:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9218
		.asc	'x2',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9219
aCLevel:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9220
		.asc	'C-Level',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9221
aObserved:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9222
		.asc	'Observed',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9223
aExpected:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9224
		.asc	'Expected',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9225
aXlist:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9226
		.asc	'Xlist',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9227
aYlist:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9228
		.asc	'Ylist',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9229
p03loc_7A3D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9230
		.asc		0CBh,0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9231
aN:		.asc	'n',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9232
aSx:	.asc	'Sx',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9233
p03loc_7A44:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9234
		.asc		0C3h,0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9235
a1:		.asc		0C3h,'1',0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9236
aProp:	.asc	'prop',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9237
aP1:	.asc	'p1',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9238
a1_0:	.asc		0C7h,'1',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9239
p03loc_7A54:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9240
		.asc		0BCh,' ',026h,' ',0C5h,0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9241
aCalculate:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9242
		.asc	'Calculate',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9243
p03loc_7A64:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9244
aDraw:	.asc 'Draw',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9245
aInpt:	.asc 'Inpt',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9246
aPooled:.asc 'Pooled',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9247
aYes:	.asc 'Yes',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9248
aNo:	.asc 'No',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9249
aData:	.asc 'Data',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9250
aStats:	.asc 'Stats',0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9251
p03loc_7A87:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9252
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9253
		.db		0C3h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9254
		.db		80h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9255
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9256
p03loc_7A8B:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9257
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9258
		.db		0C3h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9259
		.db		80h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9260
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9261
p03loc_7A8F:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9262
		.db		3Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9263
		.db		0C3h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9264
		.db		80h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9265
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9266
p03loc_7A93:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9267
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9268
		.db		0C3h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9269
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9270
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9271
p03loc_7A97:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9272
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9273
		.db		0C3h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9274
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9275
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9276
p03loc_7A9B:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9277
		.db		3Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9278
		.db		0C3h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9279
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9280
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9281
p03loc_7A9F:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9282
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9283
		.db		70h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9284
		.db		80h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9285
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9286
p03loc_7AA3:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9287
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9288
		.db		70h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9289
		.db		80h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9290
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9291
p03loc_7AA7:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9292
		.db		3Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9293
		.db		70h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9294
		.db		80h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9295
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9296
p03loc_7AAB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9297
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9298
		.db		70h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9299
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9300
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9301
p03loc_7AAF:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9302
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9303
		.db		70h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9304
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9305
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9306
p03loc_7AB3:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9307
		.db		3Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9308
		.db		70h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9309
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9310
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9311
p03loc_7AB7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9312
		.db		18h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9313
		.db		0C7h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9314
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9315
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9316
p03loc_7ABB:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9317
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9318
		.db		0C7h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9319
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9320
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9321
p03loc_7ABF:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9322
		.db		3Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9323
		.db		0C7h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9324
		.db		32h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9325
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9326
p03loc_7AC3:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9327
		.db		18h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9328
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9329
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9330
p03loc_7AC6:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9331
		.db		3Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9332
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9333
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9334
p03loc_7AC9:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9335
		.db		3Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9336
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9337
		.db		0
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9338
aRegEQ_03:
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9339
		.asc 'RegEQ',0
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9340
p03loc_7AD2:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9341
		.dw		p03loc_7AE6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9342
		.dw		p03loc_7B13
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9343
		.dw		p03loc_7B40
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9344
		.dw		p03loc_7B6D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9345
		.dw		p03loc_7B9A
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9346
		.dw		p03loc_7BC7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9347
		.dw		p03loc_7BF4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9348
		.dw		p03loc_7C12
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9349
		.dw		p03loc_7C4E
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9350
		.dw		p03loc_7C30
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9351
p03loc_7AE6:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9352
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9353
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9354
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9355
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9356
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9357
		.db		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9358
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9359
		.dw		p03loc_7A87
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9360
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9361
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9362
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9363
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9364
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9365
		.db		7Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9366
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9367
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9368
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9369
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9370
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9371
		.db		7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9372
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9373
		.dw		p03loc_7A8F
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9374
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9375
		.db		8Ah 
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9376
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9377
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9378
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9379
		.db		7Eh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9380
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9381
		.db		1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9382
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9383
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9384
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9385
		.db		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9386
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9387
		.dw		p03loc_7A8B
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9388
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9389
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9390
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9391
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9392
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9393
		.db		7Fh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9394
p03loc_7B13:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9395
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9396
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9397
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9398
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9399
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9400
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9401
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9402
		.dw		p03loc_7A93
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9403
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9404
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9405
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9406
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9407
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9408
		.db		80h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9409
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9410
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9411
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9412
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9413
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9414
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9415
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9416
		.dw		p03loc_7A9B
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9417
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9418
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9419
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9420
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9421
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9422
		.db		81h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9423
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9424
		.db		1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9425
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9426
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9427
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9428
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9429
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9430
		.dw		p03loc_7A97
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9431
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9432
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9433
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9434
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9435
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9436
		.db		82h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9437
p03loc_7B40:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9438
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9439
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9440
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9441
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9442
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9443
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9444
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9445
		.dw		p03loc_7A9F
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9446
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9447
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9448
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9449
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9450
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9451
		.db		83h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9452
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9453
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9454
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9455
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9456
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9457
		.db		9
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9458
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9459
		.dw		p03loc_7AA7
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9460
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9461
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9462
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9463
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9464
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9465
		.db		84h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9466
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9467
		.db		1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9468
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9469
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9470
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9471
		.db		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9472
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9473
		.dw		p03loc_7AA3
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9474
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9475
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9476
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9477
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9478
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9479
		.db		85h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9480
p03loc_7B6D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9481
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9482
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9483
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9484
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9485
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9486
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9487
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9488
		.dw		p03loc_7AAB
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9489
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9490
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9491
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9492
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9493
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9494
		.db		86h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9495
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9496
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9497
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9498
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9499
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9500
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9501
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9502
		.dw		p03loc_7AB3
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9503
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9504
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9505
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9506
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9507
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9508
		.db		87h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9509
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9510
		.db		1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9511
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9512
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9513
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9514
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9515
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9516
		.dw		p03loc_7AAF
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9517
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9518
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9519
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9520
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9521
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9522
		.db		88h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9523
p03loc_7B9A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9524
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9525
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9526
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9527
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9528
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9529
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9530
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9531
		.dw		p03loc_7AB7
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9532
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9533
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9534
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9535
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9536
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9537
		.db		89h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9538
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9539
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9540
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9541
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9542
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9543
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9544
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9545
		.dw		p03loc_7ABF
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9546
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9547
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9548
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9549
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9550
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9551
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9552
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9553
		.db		1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9554
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9555
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9556
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9557
		.db		0Ch
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9558
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9559
		.dw		p03loc_7ABB
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9560
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9561
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9562
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9563
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9564
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9565
		.db		8Bh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9566
p03loc_7BC7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9567
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9568
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9569
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9570
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9571
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9572
		.db		7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9573
		.db		2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9574
		.dw		p03loc_7AC3
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9575
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9576
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9577
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9578
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9579
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9580
		.db		8Ch
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9581
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9582
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9583
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9584
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9585
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9586
		.db		0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9587
		.db		2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9588
		.dw		p03loc_7AC9
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9589
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9590
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9591
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9592
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9593
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9594
		.db		8Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9595
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9596
		.db		1
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9597
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9598
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9599
		.db		5
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9600
		.db		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9601
		.db		2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9602
		.dw		p03loc_7AC6
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9603
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9604
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9605
		.db		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9606
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9607
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9608
		.db		8Eh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9609
p03loc_7BF4:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9610
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9611
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9612
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9613
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9614
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9615
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9616
		.db		4
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9617
		.dw		aData
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9618
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9619
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9620
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9621
		.db		8
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9622
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9623
		.db		77h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9624
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9625
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9626
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9627
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9628
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9629
		.db		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9630
		.db		5
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9631
		.dw		aStats
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9632
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9633
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9634
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9635
		.db		8
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9636
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9637
		.db		78h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9638
p03loc_7C12:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9639
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9640
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9641
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9642
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9643
		.db		7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9644
		.db		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9645
		.db		2
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9646
		.dw		aNo
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9647
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9648
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9649
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9650
		.db		4
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9651
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9652
		.db		79h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9653
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9654
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9655
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9656
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9657
		.db		7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9658
		.db		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9659
		.db		3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9660
		.dw		aYes
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9661
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9662
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9663
		.db		4
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9664
		.db		4
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9665
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9666
		.db		7Ah
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9667
p03loc_7C30:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9668
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9669
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9670
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9671
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9672
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9673
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9674
		.db		9
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9675
		.dw		aCalculate
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9676
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9677
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9678
		.db		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9679
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9680
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9681
		.db		7Bh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9682
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9683
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9684
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9685
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9686
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9687
		.db		0Bh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9688
		.db		4
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9689
		.dw		aDraw
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9690
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9691
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9692
		.db		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9693
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9694
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9695
		.db		7Ch
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9696
p03loc_7C4E:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9697
		.db		0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9698
		.db		0
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9699
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9700
		.db		0FEh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9701
		.db		6
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9702
		.db		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9703
		.db		9
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9704
		.dw		aCalculate
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9705
		.db		0Ch
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9706
		.db		8Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9707
		.db		20h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9708
		.db		20h
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9709
		.db		0FEh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9710
		.db		7Bh
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9711
p03loc_7C5D:
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9712
		.db		22h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9713
		.db		23h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9714
		.db		24h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9715
		.db		2Dh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9716
		.db		25h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9717
		.db		26h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9718
		.db		28h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9719
		.db		2Fh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9720
		.db		29h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9721
		.db		30h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9722
		.db		2Ah
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9723
		.db		2Bh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9724
		.db		27h
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9725
		.db		2Eh
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9726
		.db		22h
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9727
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9728
p03sub_7C6C:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9729
		call	p03sub_71FC
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9730
		push	ix
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9731
		ld		ix, (unk_9700)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9732
		ld		a, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9733
		ld		(nameBuff), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9734
p03loc_7C7A:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9735
		ld		a, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9736
		ld		(unk_8D0B), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9737
		inc		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9738
		jr		z, p03loc_7C8D
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9739
		call	p03sub_7C90
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9740
		ld		de, 3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9741
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9742
		jr		p03loc_7C7A
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9743
p03loc_7C8D:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9744
		pop		ix
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9745
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9746
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9747
p03sub_7C90:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9748
		call	p03sub_7264
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9749
		call	OP1Set0
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9750
		ld		a, (ix+0)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9751
		cp		5Ah
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9752
		ret		z
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9753
		cp		5Bh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9754
		jr		z, p03loc_7CD7
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9755
		cp		52h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9756
		jp		c, p03loc_7CDF
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9757
		cp		58h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9758
		jr		c, p03loc_7CC0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9759
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9760
		bit		2, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9761
		jr		z, p03loc_7CB3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9762
p03loc_7CB0:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9763
		call	OP1Set1
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9764
p03loc_7CB3:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9765
		ld		hl, nameBuff
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9766
		inc		(hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9767
		call	PushRealO1
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9768
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9769
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9770
p03sub_7CBB:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9771
		bit		3, (iy+1Ch)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9772
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9773
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9774
p03loc_7CC0:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9775
		ld		a, (unk_8A0C)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9776
		and		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9777
		jr		z, p03loc_7CB3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9778
		push	af
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9779
		call	OP1Set1
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9780
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9781
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9782
		jr		z, p03loc_7CB3
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9783
		ld		a, 80h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9784
		ld		(OP1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9785
		jr		p03loc_7CB3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9786
p03loc_7CD7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9787
		bit		5, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9788
		jr		nz, p03loc_7CB0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9789
		jr		p03loc_7CB3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9790
p03loc_7CDF:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9791
		call	Rcl_StatVar
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9792
		ld		a, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9793
		cp		51h ; 'Q'
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9794
		jr		nz, p03loc_7CF1
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9795
		call	CkOP1Real
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9796
		cp		3
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9797
		ret		nz
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9798
		jr		p03loc_7CB3
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9799
p03loc_7CF1:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9800
		call	CkOP1Real
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9801
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9802
		jr		z, p03loc_7CFC
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9803
		cp		0Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9804
		jr		nz, p03loc_7D19
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9805
p03loc_7CFC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9806
		ld		a, (OP1+1)
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9807
		cp		31h
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9808
		ret		z
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9809
		cp		5Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9810
		jr		z, p03loc_7D14
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9811
		ld		hl, 847Dh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9812
		ld		de, 847Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9813
		ld		bc, 5
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9814
		lddr
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9815
		ld		a, 5Dh
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9816
		ld		(de), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9817
p03loc_7D14:
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  9818
		call	j_Find_Parse_Formula
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9819
		jr		p03loc_7CB3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9820
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9821
p03loc_7D19:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9822
		cp		0Eh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9823
		jr		nz, p03loc_7D21
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9824
		xor		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9825
		ld		(OP1), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9826
p03loc_7D21:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9827
		jr		p03loc_7CB3
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9828
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9829
p03loc_7D23:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9830
		ld		ix, (unk_97A3)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9831
		call	p03sub_7D60
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9832
		bit		4, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9833
		jr		z, p03sub_7D48
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9834
		ld		hl, 8D0Ah
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9835
		res		4, (hl)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9836
		call	p03sub_7CBB
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9837
		jr		z, p03loc_7D3C
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9838
		set		4, (hl)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9839
p03loc_7D3C:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9840
		call	p03sub_74B9
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9841
		call	p03sub_7474
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  9842
		call	j_ClrScrn
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9843
		jp		p03loc_70CC
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9844
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9845
p03sub_7D48:
19
271dfee8e3ad Set all known flags -- I'm amazed this actually worked.
brandonlw
parents: 17
diff changeset
  9846
		res		saIndic, (iy+newIndicFlags)
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9847
		ld		a, (unk_97A1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9848
		ld		b, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9849
		ld		ix, (unk_979F)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9850
p03loc_7D54:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9851
		or		a
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  9852
		call	Page03_3471
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9853
		ld		de, 0Fh
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9854
		add		ix, de
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9855
		djnz	p03loc_7D54
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9856
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9857
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9858
p03sub_7D60:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9859
		res		4, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9860
		ld		l, (ix+9)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9861
		ld		h, (ix+0Ah)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9862
		ld		a, (hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9863
		and		(ix+0Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9864
		cp		(ix+0Bh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9865
		ret		z
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9866
		ld		a, (ix+0Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9867
		cp		8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9868
		jr		nz, p03loc_7D7D
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9869
		set		4, (iy+1Ch)
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9870
p03loc_7D7D:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9871
		cpl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9872
		and		(hl)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9873
		or		(ix+0Bh)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9874
		ld		(hl), a
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9875
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9876
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9877
p03loc_7D84:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9878
		ld		ix, (unk_97A3)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9879
		cp		1
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9880
		jr		z, p03loc_7D91
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9881
		cp		2
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9882
		jp		nz, Page0Call_3453
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9883
p03loc_7D91:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9884
		dec		a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9885
		ld		e, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9886
		ld		d, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9887
		add		ix, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9888
		ld		a, (ix+0)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9889
		ld		(unk_97A2), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9890
		ld		a, (unk_97A2)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9891
		ld		l, a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9892
		ld		h, 0
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9893
		ld		e, l
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9894
		ld		d, h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9895
		add		hl, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9896
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9897
		add		hl, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9898
		add		hl, hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9899
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9900
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9901
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9902
		ld		de, (unk_979F)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9903
		add		hl, de
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9904
		ld		(unk_97A3), hl
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9905
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9906
		pop		ix
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9907
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9908
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9909
#ifndef DEVIATE_FROM_ORIGINAL_FILE
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9910
;Not referenced anywhere.
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9911
		cp		9
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9912
		ret		z
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9913
		ret
46
09e7d89fba35 Yeah, so page 3 was all sorts of wrong, still had hard-coded addresses I hadn't
brandonlw
parents: 43
diff changeset
  9914
#endif
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9915
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9916
p03loc_7DBC:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9917
		ld		de, (OP1+1)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9918
		ld		a, e
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9919
		ld		e, d
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9920
		ld		d, a
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  9921
		call	j_PutTokString
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9922
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9923
p03loc_7DC7:
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9924
		ld		hl, 92C5h
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9925
		res		2, (hl)
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  9926
		call	Page03_3477
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9927
		call	p03sub_7316
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9928
		jp		z, numError02
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9929
		bit		7, (iy+1Ch)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9930
		ret		z
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  9931
		call	j_BufToTop
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  9932
		call	Page03_37AD
27
5220b6f6c984 More page 0 cleanup.
brandonlw
parents: 23
diff changeset
  9933
		call	IsBasicProgZero
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9934
		jp		nz, p03loc_4A6F
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  9935
		call	j_fdispEOL
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9936
		ret
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9937
17
41d98670c2d3 Fix the page 0 labels to have the proper address in their name.
brandonlw
parents: 16
diff changeset
  9938
Page03_3477:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9939
		call	p03sub_74B9
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9940
		ld		a, (winLeftEdge)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9941
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9942
		ld		hl, (curRow)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9943
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9944
		ld		hl, (unk_8D0B)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9945
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9946
		ld		a, (unk_97A1)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9947
		push	af
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9948
		ld		hl, (unk_979F)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9949
		push	hl
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9950
		set		5, (iy+1Dh)
16
27ca02d0d8aa Give meaningful names to the page 0 calls we know about so far.
brandonlw
parents: 11
diff changeset
  9951
		call	j_ZifRclHandler
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9952
		jr		nz, p03loc_7E15
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9953
		ld		hl, (promptRow)
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9954
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9955
		ld		a, 7
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9956
		ld		(winBtm), a
7
89b82476a75f Get rid of (most) of the godawful IDA comments.
brandonlw
parents: 6
diff changeset
  9957
p03loc_7E15:
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9958
		call	p03sub_7212
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9959
		res		5, (iy+1Dh)
4
59f60baeaf6a Initial commit
brandonlw
parents:
diff changeset
  9960
		call	p03sub_7474
8
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9961
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9962
		ld		(unk_979F), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9963
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9964
		ld		(unk_97A1), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9965
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9966
		ld		(unk_8D0B), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9967
		pop		hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9968
		ld		(curRow), hl
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9969
		pop		af
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9970
		ld		(winLeftEdge), a
795326a8c258 More formatting cleanup.
brandonlw
parents: 7
diff changeset
  9971
		ret