Final Fantasy VI:ROM map/Assembly C05

From Data Crystal
Jump to navigation Jump to search

C0/5044 unknow

C0/5044:	AC0308  	LDY $0803
C0/5047:	C220    	REP #$20      (16 bit accum./memory)
C0/5049:	B96D08  	LDA $086D,Y
C0/504C:	4A      	LSR A
C0/504D:	4A      	LSR A
C0/504E:	4A      	LSR A
C0/504F:	4A      	LSR A
C0/5050:	E220    	SEP #$20      (8 bit accum./memory)
C0/5052:	8523    	STA $23
C0/5054:	3A      	DEC A
C0/5055:	2587    	AND $87
C0/5057:	8521    	STA $21
C0/5059:	3A      	DEC A
C0/505A:	2587    	AND $87
C0/505C:	851F    	STA $1F
C0/505E:	A523    	LDA $23
C0/5060:	1A      	INC A
C0/5061:	2587    	AND $87
C0/5063:	8525    	STA $25
C0/5065:	641E    	STZ $1E
C0/5067:	6420    	STZ $20
C0/5069:	6422    	STZ $22
C0/506B:	6424    	STZ $24
C0/506D:	C220    	REP #$20      (16 bit accum./memory)
C0/506F:	B96A08  	LDA $086A,Y
C0/5072:	4A      	LSR A
C0/5073:	4A      	LSR A
C0/5074:	4A      	LSR A
C0/5075:	4A      	LSR A
C0/5076:	29FF00  	AND #$00FF
C0/5079:	E220    	SEP #$20      (8 bit accum./memory)
C0/507B:	3A      	DEC A
C0/507C:	2586    	AND $86
C0/507E:	851A    	STA $1A
C0/5080:	1A      	INC A
C0/5081:	2586    	AND $86
C0/5083:	851B    	STA $1B
C0/5085:	1A      	INC A
C0/5086:	2586    	AND $86
C0/5088:	851C    	STA $1C
C0/508A:	A97F    	LDA #$7F
C0/508C:	48      	PHA
C0/508D:	AB      	PLB
C0/508E:	7B      	TDC 
C0/508F:	AA      	TAX
C0/5090:	A8      	TAY
C0/5091:	E210    	SEP #$10      (8 bit index registers)
C0/5093:	A41A    	LDY $1A
C0/5095:	B11E    	LDA ($1E),Y
C0/5097:	85A3    	STA $A3
C0/5099:	B120    	LDA ($20),Y
C0/509B:	85A6    	STA $A6
C0/509D:	B122    	LDA ($22),Y
C0/509F:	85A9    	STA $A9
C0/50A1:	B124    	LDA ($24),Y
C0/50A3:	85AC    	STA $AC
C0/50A5:	A41B    	LDY $1B
C0/50A7:	B11E    	LDA ($1E),Y
C0/50A9:	85A4    	STA $A4
C0/50AB:	B120    	LDA ($20),Y
C0/50AD:	85A7    	STA $A7
C0/50AF:	B122    	LDA ($22),Y
C0/50B1:	85AA    	STA $AA
C0/50B3:	B124    	LDA ($24),Y
C0/50B5:	85AD    	STA $AD
C0/50B7:	A41C    	LDY $1C
C0/50B9:	B11E    	LDA ($1E),Y
C0/50BB:	85A5    	STA $A5
C0/50BD:	B120    	LDA ($20),Y
C0/50BF:	85A8    	STA $A8
C0/50C1:	B122    	LDA ($22),Y
C0/50C3:	85AB    	STA $AB
C0/50C5:	B124    	LDA ($24),Y
C0/50C7:	85AE    	STA $AE
C0/50C9:	A97E    	LDA #$7E
C0/50CB:	48      	PHA
C0/50CC:	AB      	PLB
C0/50CD:	A6A7    	LDX $A7
C0/50CF:	BD0076  	LDA $7600,X
C0/50D2:	85B6    	STA $B6
C0/50D4:	BD0077  	LDA $7700,X
C0/50D7:	85B7    	STA $B7
C0/50D9:	A6AA    	LDX $AA
C0/50DB:	BD0076  	LDA $7600,X
C0/50DE:	85B8    	STA $B8
C0/50E0:	BD0077  	LDA $7700,X
C0/50E3:	85B9    	STA $B9
C0/50E5:	C210    	REP #$10      	(16 bit index registers)
C0/50E7:	7B      	TDC 
C0/50E8:	48      	PHA
C0/50E9:	AB      	PLB
C0/50EA:	60      	RTS

C0/50EB unknow

C0/50EB:	A600    	LDX $00		(from C0/BF91)
C0/50ED:	BF0080E6	LDA $E68000,X  (character and townspeople palettes)
C0/50F1:	9F00737E	STA $7E7300,X
C0/50F5:	9F00757E	STA $7E7500,X
C0/50F9:	E8      	INX
C0/50FA:	E00001  	CPX #$0100
C0/50FD:	D0EE    	BNE $50ED
C0/50FF:	60      	RTS

C0/5100 unknow

C0/5100:	000C    	
C0/5102:	1824     

C0/5104 set portrait palette for display

C0/5104:	AFB81E00	LDA $001EB8    (load event bits)	
C0/5108:	2940    	AND #$40       (is bit needed to properly display character portraits set?)
C0/510A:	D001    	BNE $510D      (branch if so)
C0/510C:	60      	RTS
C0/510D:	AD9507  	LDA $0795
C0/5110:	C220    	REP #$20      (16 bit accum./memory)
C0/5112:	EB      	XBA
C0/5113:	4A      	LSR A
C0/5114:	4A      	LSR A
C0/5115:	4A      	LSR A
C0/5116:	AA      	TAX
C0/5117:	7B      	TDC 
C0/5118:	E220    	SEP #$20      (8 bit accum./memory)
C0/511A:	A97E    	LDA #$7E
C0/511C:	48      	PHA
C0/511D:	AB      	PLB            (bank = 7E)
C0/511E:	A400    	LDY $00
C0/5120:	BF6058ED	LDA $ED5860,X  (character portrait palettes)
C0/5124:	99E075  	STA $75E0,Y
C0/5127:	E8      	INX
C0/5128:	C8      	INY 
C0/5129:	C02000  	CPY #$0020
C0/512C:	D0F2    	BNE $5120
C0/512E:	7B      	TDC 
C0/512F:	48      	PHA
C0/5130:	AB      	PLB            (bank = 00)
C0/5131:	9C0B42  	STZ $420B      (turn off DMA)
C0/5134:	A20070  	LDX #$7000
C0/5137:	8E1621  	STX $2116
C0/513A:	A980    	LDA #$80
C0/513C:	8D1521  	STA $2115
C0/513F:	A909    	LDA #$09
C0/5141:	8D0043  	STA $4300
C0/5144:	A918    	LDA #$18
C0/5146:	8D0143  	STA $4301      (register address is $2118)
C0/5149:	A20000  	LDX #$0000     (LDX $00..., or even better, TDC TAX)
C0/514C:	8E0243  	STX $4302
C0/514F:	A900    	LDA #$00       (if previous was TDC TAX, A is already 00 here...)
C0/5151:	8D0443  	STA $4304      (source is 00/0000)
C0/5154:	8D0743  	STA $4307      (source is 00/1000)
C0/5157:	A20010  	LDX #$1000
C0/515A:	8E0543  	STX $4305
C0/515D:	A901    	LDA #$01       (INC A...)
C0/515F:	8D0B42  	STA $420B
C0/5162:	9C0B42  	STZ $420B      (turn off DMA)
C0/5165:	A941    	LDA #$41
C0/5167:	8D0043  	STA $4300
C0/516A:	AD9507  	LDA $0795
C0/516D:	0A      	ASL A
C0/516E:	AA      	TAX
C0/516F:	C221    	REP #$21
C0/5171:	BFBA51C0	LDA $C051BA,X
C0/5175:	852A    	STA $2A
C0/5177:	7B      	TDC 
C0/5178:	E220    	SEP #$20      (8 bit accum./memory)
C0/517A:	A600    	LDX $00
C0/517C:	BFDA51C0	LDA $C051DA,X
C0/5180:	C221    	REP #$21
C0/5182:	EB      	XBA
C0/5183:	4A      	LSR A
C0/5184:	4A      	LSR A
C0/5185:	4A      	LSR A
C0/5186:	18      	CLC
C0/5187:	652A    	ADC $2A
C0/5189:	8D0243  	STA $4302
C0/518C:	7B      	TDC 
C0/518D:	E220    	SEP #$20      (8 bit accum./memory)
C0/518F:	A9ED    	LDA #$ED
C0/5191:	8D0443  	STA $4304
C0/5194:	A02000  	LDY #$0020
C0/5197:	8C0543  	STY $4305      (source is ED/0020, #$20 bytes into menu graphics)
C0/519A:	BFF351C0	LDA $C051F3,X
C0/519E:	C221    	REP #$21
C0/51A0:	0A      	ASL A
C0/51A1:	0A      	ASL A
C0/51A2:	0A      	ASL A
C0/51A3:	0A      	ASL A
C0/51A4:	18      	CLC
C0/51A5:	690070  	ADC #$7000
C0/51A8:	8D1621  	STA $2116
C0/51AB:	7B      	TDC 
C0/51AC:	E220    	SEP #$20      (8 bit accum./memory)
C0/51AE:	A901    	LDA #$01
C0/51B0:	8D0B42  	STA $420B      (turn on channel 1 of DMA)
C0/51B3:	E8      	INX
C0/51B4:	E01900  	CPX #$0019
C0/51B7:	D0C3    	BNE $517C
C0/51B9:	60      	RTS

C0/51BA unknow

C0/51BA:	00 1D    	
C0/51BC:	20 20   	
C0/51BE:	40 23     	
C0/51C0:	60 26     	
C0/51C2:	80 29    	
C0/51C4:	A0 2C 
C0/51C6: 	C0 2F  	
C0/51C8:	E0 32   	
C0/51CA:	00 36    	
C0/51CC:	20 39 
C0/51CE:	40 3C  
C0/51D0:	60 3F     	
C0/51D2:	80 42	
C0/51D4:	A0 45    	
C0/51D6:	C0 48      	
C0/51D8:	E0 4B  

C0/51DA unknow

C0/51DA:	00 01 02 03 08    		    	
C0/51DF:	10 11 12 13 09 	
C0/51E4:	04 05 06 07 0A     	
C0/51E9:	14 15 16 17 0B	
C0/51EE:	0D 0E 0F 18 0C  	

C0/51F3 unknow

C0/51F3:	00 01 02 03 04  		
C0/51F8:	10 11 12 13 14    
C0/51FD:	20 21 22 23 24  	
C0/5202:	30 31 32 33 34  	
C0/5207:	40 41 42 43 44   	

C0/520C unknow

C0/520C:	A400    	LDY $00
C0/520E:	B96808  	LDA $0868,Y
C0/5211:	29F8    	AND #$F8
C0/5213:	0901    	ORA #$01
C0/5215:	996808  	STA $0868,Y
C0/5218:	C221    	REP #$21
C0/521A:	98      	TYA
C0/521B:	692900  	ADC #$0029
C0/521E:	A8      	TAY
C0/521F:	7B      	TDC 
C0/5220:	E220    	SEP #$20      (8 bit accum./memory)
C0/5222:	C09002  	CPY #$0290
C0/5225:	D0E7    	BNE $520E
C0/5227:	60      	RTS

C0/5228 unknow

C0/5228:	A600    	LDX $00        (from C0/BE8D)
C0/522A:	BFA0E0C0	LDA $C0E0A0,X
C0/522E:	9DE01E  	STA $1EE0,X    (set presence bits)
C0/5231:	E8      	INX
C0/5232:	E08000  	CPX #$0080
C0/5235:	D0F3    	BNE $522A
C0/5237:	60      	RTS

C0/5238 unknow

C0/5238:	A400    	LDY $00
C0/523A:	641B    	STZ $1B
C0/523C:	CC0308  	CPY $0803
C0/523F:	F02E    	BEQ $526F
C0/5241:	BE8D08  	LDX $088D,Y
C0/5244:	EC8200  	CPX $0082
C0/5247:	D026    	BNE $526F
C0/5249:	B96708  	LDA $0867,Y
C0/524C:	1021    	BPL $526F
C0/524E:	B97C08  	LDA $087C,Y
C0/5251:	301C    	BMI $526F
C0/5253:	B96808  	LDA $0868,Y
C0/5256:	29E0    	AND #$E0
C0/5258:	C980    	CMP #$80
C0/525A:	F013    	BEQ $526F
C0/525C:	B98C08  	LDA $088C,Y
C0/525F:	29C0    	AND #$C0
C0/5261:	D00C    	BNE $526F
C0/5263:	20E17C  	JSR $7CE1
C0/5266:	BE7A08  	LDX $087A,Y
C0/5269:	A51B    	LDA $1B
C0/526B:	9F00207E	STA $7E2000,X
C0/526F:	E61B    	INC $1B
C0/5271:	E61B    	INC $1B
C0/5273:	C221    	REP #$21
C0/5275:	98      	TYA
C0/5276:	692900  	ADC #$0029
C0/5279:	A8      	TAY
C0/527A:	7B      	TDC 
C0/527B:	E220    	SEP #$20      (8 bit accum./memory)
C0/527D:	C0B007  	CPY #$07B0
C0/5280:	D0BA    	BNE $523C
C0/5282:	AC0308  	LDY $0803
C0/5285:	8C0442  	STY $4204
C0/5288:	A929    	LDA #$29
C0/528A:	8D0642  	STA $4206
C0/528D:	A5B8    	LDA $B8
C0/528F:	2904    	AND #$04
C0/5291:	F006    	BEQ $5299
C0/5293:	A5B2    	LDA $B2
C0/5295:	C902    	CMP #$02
C0/5297:	F00E    	BEQ $52A7
C0/5299:	20E17C  	JSR $7CE1
C0/529C:	BE7A08  	LDX $087A,Y
C0/529F:	AD1442  	LDA $4214
C0/52A2:	0A      	ASL A
C0/52A3:	9F00207E	STA $7E2000,X
C0/52A7:	60      	RTS

C0/52A8 unknow

C0/52A8:	A600    	LDX $00
C0/52AA:	9EF70A  	STZ $0AF7,X
C0/52AD:	E8      	INX
C0/52AE:	E0D803  	CPX #$03D8
C0/52B1:	D0F7    	BNE $52AA
C0/52B3:	9C8F07  	STZ $078F
C0/52B6:	C220    	REP #$20      (16 bit accum./memory)
C0/52B8:	A582    	LDA $82
C0/52BA:	0A      	ASL A
C0/52BB:	AA      	TAX
C0/52BC:	BF121AC4	LDA $C41A12,X	(Pointers to NPC data)
C0/52C0:	851E    	STA $1E
C0/52C2:	BF101AC4	LDA $C41A10,X	(Pointers to NPC data)
C0/52C6:	AA      	TAX
C0/52C7:	7B      	TDC 
C0/52C8:	E220    	SEP #$20      (8 bit accum./memory)
C0/52CA:	A09002  	LDY #$0290
C0/52CD:	E41E    	CPX $1E
C0/52CF:	D003    	BNE $52D4
C0/52D1:	4C3454  	JMP $5434
C0/52D4:	BF101AC4	LDA $C41A10,X
C0/52D8:	998908  	STA $0889,Y
C0/52DB:	BF111AC4	LDA $C41A11,X
C0/52DF:	998A08  	STA $088A,Y
C0/52E2:	BF121AC4	LDA $C41A12,X
C0/52E6:	2903    	AND #$03
C0/52E8:	998B08  	STA $088B,Y
C0/52EB:	BF121AC4	LDA $C41A12,X
C0/52EF:	291C    	AND #$1C
C0/52F1:	4A      	LSR A
C0/52F2:	998008  	STA $0880,Y
C0/52F5:	998108  	STA $0881,Y
C0/52F8:	BF121AC4	LDA $C41A12,X
C0/52FC:	2920    	AND #$20
C0/52FE:	0A      	ASL A
C0/52FF:	0A      	ASL A
C0/5300:	997C08  	STA $087C,Y
C0/5303:	C220    	REP #$20      (16 bit accum./memory)
C0/5305:	BF121AC4	LDA $C41A12,X
C0/5309:	4A      	LSR A
C0/530A:	4A      	LSR A
C0/530B:	4A      	LSR A
C0/530C:	4A      	LSR A
C0/530D:	4A      	LSR A
C0/530E:	4A      	LSR A
C0/530F:	E220    	SEP #$20      (8 bit accum./memory)
C0/5311:	DA      	PHX
C0/5312:	5A      	PHY
C0/5313:	20C1BA  	JSR $BAC1
C0/5316:	7A      	PLY
C0/5317:	FA      	PLX
C0/5318:	C900    	CMP #$00
C0/531A:	F002    	BEQ $531E
C0/531C:	A9C0    	LDA #$C0
C0/531E:	996708  	STA $0867,Y
C0/5321:	BF141AC4	LDA $C41A14,X
C0/5325:	2980    	AND #$80
C0/5327:	996808  	STA $0868,Y
C0/532A:	C220    	REP #$20      (16 bit accum./memory)
C0/532C:	BF141AC4	LDA $C41A14,X
C0/5330:	297F00  	AND #$007F
C0/5333:	0A      	ASL A
C0/5334:	0A      	ASL A
C0/5335:	0A      	ASL A
C0/5336:	0A      	ASL A
C0/5337:	996A08  	STA $086A,Y
C0/533A:	BF151AC4	LDA $C41A15,X
C0/533E:	293F00  	AND #$003F
C0/5341:	0A      	ASL A
C0/5342:	0A      	ASL A
C0/5343:	0A      	ASL A
C0/5344:	0A      	ASL A
C0/5345:	996D08  	STA $086D,Y
C0/5348:	7B      	TDC 
C0/5349:	E220    	SEP #$20      (8 bit accum./memory)
C0/534B:	996908  	STA $0869,Y
C0/534E:	996C08  	STA $086C,Y
C0/5351:	996F08  	STA $086F,Y
C0/5354:	997008  	STA $0870,Y
C0/5357:	998708  	STA $0887,Y
C0/535A:	BF151AC4	LDA $C41A15,X
C0/535E:	29C0    	AND #$C0
C0/5360:	4A      	LSR A
C0/5361:	4A      	LSR A
C0/5362:	4A      	LSR A
C0/5363:	4A      	LSR A
C0/5364:	4A      	LSR A
C0/5365:	4A      	LSR A
C0/5366:	997508  	STA $0875,Y
C0/5369:	BF161AC4	LDA $C41A16,X
C0/536D:	997808  	STA $0878,Y
C0/5370:	997908  	STA $0879,Y
C0/5373:	BF171AC4	LDA $C41A17,X
C0/5377:	290F    	AND #$0F
C0/5379:	197C08  	ORA $087C,Y
C0/537C:	997C08  	STA $087C,Y
C0/537F:	BF171AC4	LDA $C41A17,X
C0/5383:	2930    	AND #$30
C0/5385:	0A      	ASL A
C0/5386:	0A      	ASL A
C0/5387:	998C08  	STA $088C,Y
C0/538A:	BF171AC4	LDA $C41A17,X
C0/538E:	29C0    	AND #$C0
C0/5390:	4A      	LSR A
C0/5391:	196808  	ORA $0868,Y
C0/5394:	996808  	STA $0868,Y
C0/5397:	BF181AC4	LDA $C41A18,X
C0/539B:	2903    	AND #$03
C0/539D:	997F08  	STA $087F,Y
C0/53A0:	DA      	PHX
C0/53A1:	AA      	TAX
C0/53A2:	BF2D58C0	LDA $C0582D,X
C0/53A6:	997708  	STA $0877,Y
C0/53A9:	997608  	STA $0876,Y
C0/53AC:	FA      	PLX
C0/53AD:	BF181AC4	LDA $C41A18,X
C0/53B1:	2904    	AND #$04
C0/53B3:	0A      	ASL A
C0/53B4:	0A      	ASL A
C0/53B5:	0A      	ASL A
C0/53B6:	197C08  	ORA $087C,Y
C0/53B9:	997C08  	STA $087C,Y
C0/53BC:	BF181AC4	LDA $C41A18,X
C0/53C0:	2918    	AND #$18
C0/53C2:	4A      	LSR A
C0/53C3:	4A      	LSR A
C0/53C4:	851A    	STA $1A
C0/53C6:	B96808  	LDA $0868,Y
C0/53C9:	29F9    	AND #$F9
C0/53CB:	051A    	ORA $1A
C0/53CD:	996808  	STA $0868,Y
C0/53D0:	BF181AC4	LDA $C41A18,X
C0/53D4:	29E0    	AND #$E0
C0/53D6:	F01E    	BEQ $53F6
C0/53D8:	4A      	LSR A
C0/53D9:	4A      	LSR A
C0/53DA:	4A      	LSR A
C0/53DB:	4A      	LSR A
C0/53DC:	4A      	LSR A
C0/53DD:	198C08  	ORA $088C,Y
C0/53E0:	998C08  	STA $088C,Y
C0/53E3:	BF181AC4	LDA $C41A18,X
C0/53E7:	2903    	AND #$03
C0/53E9:	0A      	ASL A
C0/53EA:	0A      	ASL A
C0/53EB:	0A      	ASL A
C0/53EC:	198C08  	ORA $088C,Y
C0/53EF:	0920    	ORA #$20
C0/53F1:	998C08  	STA $088C,Y
C0/53F4:	8000    	BRA $53F6
C0/53F6:	C220    	REP #$20      (16 bit accum./memory)
C0/53F8:	A582    	LDA $82
C0/53FA:	998D08  	STA $088D,Y
C0/53FD:	7B      	TDC 
C0/53FE:	E220    	SEP #$20      (8 bit accum./memory)
C0/5400:	7B      	TDC 
C0/5401:	997E08  	STA $087E,Y
C0/5404:	998608  	STA $0886,Y
C0/5407:	998208  	STA $0882,Y
C0/540A:	B96808  	LDA $0868,Y
C0/540D:	0901    	ORA #$01
C0/540F:	996808  	STA $0868,Y
C0/5412:	DA      	PHX
C0/5413:	20E17C  	JSR $7CE1
C0/5416:	201756  	JSR $5617
C0/5419:	FA      	PLX
C0/541A:	EE8F07  	INC $078F
C0/541D:	C221    	REP #$21
C0/541F:	98      	TYA
C0/5420:	692900  	ADC #$0029
C0/5423:	A8      	TAY
C0/5424:	8A      	TXA
C0/5425:	18      	CLC
C0/5426:	690900  	ADC #$0009
C0/5429:	AA      	TAX
C0/542A:	7B      	TDC 
C0/542B:	E220    	SEP #$20      (8 bit accum./memory)
C0/542D:	E41E    	CPX $1E
C0/542F:	F003    	BEQ $5434
C0/5431:	4CD452  	JMP $52D4
C0/5434:	C0B007  	CPY #$07B0
C0/5437:	F017    	BEQ $5450
C0/5439:	B96708  	LDA $0867,Y
C0/543C:	293F    	AND #$3F
C0/543E:	996708  	STA $0867,Y
C0/5441:	C221    	REP #$21
C0/5443:	98      	TYA
C0/5444:	692900  	ADC #$0029
C0/5447:	A8      	TAY
C0/5448:	7B      	TDC 
C0/5449:	E220    	SEP #$20      (8 bit accum./memory)
C0/544B:	C0B007  	CPY #$07B0
C0/544E:	D0E9    	BNE $5439
C0/5450:	204A71  	JSR $714A
C0/5453:	60      	RTS

C0/5454 unknow

C0/5454:	AD8F07  	LDA $078F
C0/5457:	F024    	BEQ $547D
C0/5459:	A09002  	LDY #$0290
C0/545C:	7B      	TDC 
C0/545D:	48      	PHA
C0/545E:	B96808  	LDA $0868,Y
C0/5461:	29E0    	AND #$E0
C0/5463:	C980    	CMP #$80
C0/5465:	D005    	BNE $546C
C0/5467:	5A      	PHY
C0/5468:	207E54  	JSR $547E
C0/546B:	7A      	PLY
C0/546C:	C221    	REP #$21
C0/546E:	98      	TYA
C0/546F:	692900  	ADC #$0029
C0/5472:	A8      	TAY
C0/5473:	7B      	TDC 
C0/5474:	E220    	SEP #$20      (8 bit accum./memory)
C0/5476:	68      	PLA
C0/5477:	1A      	INC A
C0/5478:	CD8F07  	CMP $078F
C0/547B:	D0E0    	BNE $545D
C0/547D:	60      	RTS

C0/547E unknow

C0/547E:	B97C08  	LDA $087C,Y		(from C0/5468)
C0/5481:	0910    	ORA #$10
C0/5483:	997C08  	STA $087C,Y
C0/5486:	B97908  	LDA $0879,Y
C0/5489:	C220    	REP #$20      (16 bit accum./memory)
C0/548B:	0A      	ASL A
C0/548C:	AA      	TAX
C0/548D:	BFF2D0C0	LDA $C0D0F2,X
C0/5491:	852A    	STA $2A
C0/5493:	7B      	TDC 
C0/5494:	E220    	SEP #$20      (8 bit accum./memory)
C0/5496:	BF3CD2C0	LDA $C0D23C,X
C0/549A:	852C    	STA $2C
C0/549C:	B98908  	LDA $0889,Y
C0/549F:	0A      	ASL A
C0/54A0:	7B      	TDC 
C0/54A1:	2A      	ROL A
C0/54A2:	851B    	STA $1B
C0/54A4:	B96808  	LDA $0868,Y
C0/54A7:	29FE    	AND #$FE
C0/54A9:	051B    	ORA $1B
C0/54AB:	996808  	STA $0868,Y
C0/54AE:	B98908  	LDA $0889,Y
C0/54B1:	297F    	AND #$7F
C0/54B3:	EB      	XBA
C0/54B4:	C220    	REP #$20      (16 bit accum./memory)
C0/54B6:	4A      	LSR A
C0/54B7:	4A      	LSR A
C0/54B8:	4A      	LSR A
C0/54B9:	18      	CLC
C0/54BA:	690070  	ADC #$7000
C0/54BD:	853B    	STA $3B
C0/54BF:	7B      	TDC 
C0/54C0:	E220    	SEP #$20      (8 bit accum./memory)
C0/54C2:	B98C08  	LDA $088C,Y
C0/54C5:	2918    	AND #$18
C0/54C7:	4A      	LSR A
C0/54C8:	4A      	LSR A
C0/54C9:	4A      	LSR A
C0/54CA:	1A      	INC A
C0/54CB:	851B    	STA $1B
C0/54CD:	B97C08  	LDA $087C,Y
C0/54D0:	2920    	AND #$20
C0/54D2:	D05F    	BNE $5533
C0/54D4:	A941    	LDA #$41
C0/54D6:	8D0043  	STA $4300
C0/54D9:	A980    	LDA #$80
C0/54DB:	8D1521  	STA $2115
C0/54DE:	A918    	LDA #$18
C0/54E0:	8D0143  	STA $4301
C0/54E3:	A63B    	LDX $3B
C0/54E5:	862D    	STX $2D
C0/54E7:	A00200  	LDY #$0002
C0/54EA:	9C0B42  	STZ $420B      (turn off DMA)
C0/54ED:	A62D    	LDX $2D
C0/54EF:	8E1621  	STX $2116
C0/54F2:	A62A    	LDX $2A
C0/54F4:	8E0243  	STX $4302
C0/54F7:	A52C    	LDA $2C
C0/54F9:	8D0443  	STA $4304
C0/54FC:	A24000  	LDX #$0040
C0/54FF:	8E0543  	STX $4305
C0/5502:	A901    	LDA #$01
C0/5504:	8D0B42  	STA $420B
C0/5507:	C221    	REP #$21
C0/5509:	A52D    	LDA $2D
C0/550B:	690001  	ADC #$0100
C0/550E:	852D    	STA $2D
C0/5510:	A52A    	LDA $2A
C0/5512:	18      	CLC
C0/5513:	694000  	ADC #$0040
C0/5516:	852A    	STA $2A
C0/5518:	7B      	TDC 
C0/5519:	E220    	SEP #$20      (8 bit accum./memory)
C0/551B:	652C    	ADC $2C
C0/551D:	852C    	STA $2C
C0/551F:	88      	DEY 
C0/5520:	D0C8    	BNE $54EA
C0/5522:	C221    	REP #$21
C0/5524:	A53B    	LDA $3B
C0/5526:	692000  	ADC #$0020
C0/5529:	853B    	STA $3B
C0/552B:	7B      	TDC 
C0/552C:	E220    	SEP #$20      (8 bit accum./memory)
C0/552E:	C61B    	DEC $1B
C0/5530:	D0B1    	BNE $54E3
C0/5532:	60      	RTS

C0/5533 unknow

C0/5533:	A941    	LDA #$41		(is this function ever called?)
C0/5535:	8D0043  	STA $4300
C0/5538:	A980    	LDA #$80
C0/553A:	8D1521  	STA $2115
C0/553D:	A918    	LDA #$18
C0/553F:	8D0143  	STA $4301
C0/5542:	A63B    	LDX $3B
C0/5544:	862D    	STX $2D
C0/5546:	A00400  	LDY #$0004
C0/5549:	9C0B42  	STZ $420B      (turn off DMA)
C0/554C:	A62D    	LDX $2D
C0/554E:	8E1621  	STX $2116
C0/5551:	A62A    	LDX $2A
C0/5553:	8E0243  	STX $4302
C0/5556:	A52C    	LDA $2C
C0/5558:	8D0443  	STA $4304
C0/555B:	A28000  	LDX #$0080
C0/555E:	8E0543  	STX $4305
C0/5561:	A901    	LDA #$01
C0/5563:	8D0B42  	STA $420B
C0/5566:	C221    	REP #$21
C0/5568:	A52D    	LDA $2D
C0/556A:	690001  	ADC #$0100
C0/556D:	852D    	STA $2D
C0/556F:	A52A    	LDA $2A
C0/5571:	18      	CLC
C0/5572:	698000  	ADC #$0080
C0/5575:	852A    	STA $2A
C0/5577:	7B      	TDC 
C0/5578:	E220    	SEP #$20      	(8 bit accum./memory)
C0/557A:	652C    	ADC $2C
C0/557C:	852C    	STA $2C
C0/557E:	88      	DEY 
C0/557F:	D0C8    	BNE $5549
C0/5581:	C221    	REP #$21
C0/5583:	A53B    	LDA $3B
C0/5585:	694000  	ADC #$0040
C0/5588:	853B    	STA $3B
C0/558A:	7B      	TDC 
C0/558B:	E220    	SEP #$20      	(8 bit accum./memory)
C0/558D:	C61B    	DEC $1B
C0/558F:	D0B1    	BNE $5542
C0/5591:	60      	RTS

C0/5592 unknow

C0/5592:	A600    	LDX $00
C0/5594:	C220    	REP #$20      	(16 bit accum./memory)
C0/5596:	BDF710  	LDA $10F7,X
C0/5599:	C9B007  	CMP #$07B0
C0/559C:	F007    	BEQ $55A5
C0/559E:	E8      	INX
C0/559F:	E8      	INX
C0/55A0:	E02E00  	CPX #$002E
C0/55A3:	D0F1    	BNE $5596
C0/55A5:	98      	TYA
C0/55A6:	9DF710  	STA $10F7,X
C0/55A9:	7B      	TDC 
C0/55AA:	E220    	SEP #$20      	(8 bit accum./memory)
C0/55AC:	8A      	TXA
C0/55AD:	998F08  	STA $088F,Y
C0/55B0:	60      	RTS

C0/55B1 unknow

C0/55B1:	B98F08  	LDA $088F,Y
C0/55B4:	AA      	TAX
C0/55B5:	C220    	REP #$20      	(16 bit accum./memory)
C0/55B7:	A9B007  	LDA #$07B0
C0/55BA:	9DF710  	STA $10F7,X
C0/55BD:	7B      	TDC 
C0/55BE:	E220    	SEP #$20      	(8 bit accum./memory)
C0/55C0:	60      	RTS

C0/55C1 unknow

C0/55C1:	A400    	LDY $00
C0/55C3:	BB      	TYX
C0/55C4:	B96708  	LDA $0867,Y
C0/55C7:	2940    	AND #$40
C0/55C9:	F014    	BEQ $55DF
C0/55CB:	C220    	REP #$20      	(16 bit accum./memory)
C0/55CD:	98      	TYA
C0/55CE:	9DF710  	STA $10F7,X
C0/55D1:	7B      	TDC 
C0/55D2:	E220    	SEP #$20      	(8 bit accum./memory)
C0/55D4:	8A      	TXA
C0/55D5:	998F08  	STA $088F,Y
C0/55D8:	E8      	INX
C0/55D9:	E8      	INX
C0/55DA:	E03000  	CPX #$0030
C0/55DD:	F00F    	BEQ $55EE
C0/55DF:	C221    	REP #$21
C0/55E1:	98      	TYA
C0/55E2:	692900  	ADC #$0029
C0/55E5:	A8      	TAY
C0/55E6:	7B      	TDC 
C0/55E7:	E220    	SEP #$20      	(8 bit accum./memory)
C0/55E9:	C0B007  	CPY #$07B0
C0/55EC:	D0D6    	BNE $55C4
C0/55EE:	60      	RTS

C0/55EF unknow

C0/55EF:	C220    	REP #$20      	(from only C0/5613, 16 bit accum./memory)
C0/55F1:	9C4800  	STZ $0048
C0/55F4:	9C4900  	STZ $0049
C0/55F7:	A600    	LDX $00
C0/55F9:	A9B007  	LDA #$07B0
C0/55FC:	9DF710  	STA $10F7,X
C0/55FF:	E8      	INX
C0/5600:	E8      	INX
C0/5601:	E03000  	CPX #$0030						
C0/5604:	D0F6    	BNE $55FC
C0/5606:	7B      	TDC 
C0/5607:	E220    	SEP #$20      	(8 bit accum./memory)
C0/5609:	60      	RTS

C0/560A unknow

C0/560A:	206A56  	JSR $566A		(from only C0/BF7F)
C0/560D:	20B156  	JSR $56B1
C0/5610:	207F56  	JSR $567F
C0/5613:	20EF55  	JSR $55EF      (JMP fool!)
C0/5616:	60      	RTS

C0/5617 unknow

C0/5617:	B98108  	LDA $0881,Y		(from C0/5416, C0/7A56, C0/7A8B)
C0/561A:	29CF    	AND #$CF
C0/561C:	0920    	ORA #$20
C0/561E:	998108  	STA $0881,Y
C0/5621:	BE7A08  	LDX $087A,Y
C0/5624:	BF00007F	LDA $7F0000,X
C0/5628:	AA      	TAX
C0/5629:	BF00767E	LDA $7E7600,X
C0/562D:	2907    	AND #$07
C0/562F:	998808  	STA $0888,Y
C0/5632:	C901    	CMP #$01
C0/5634:	F013    	BEQ $5649
C0/5636:	C902    	CMP #$02
C0/5638:	F01A    	BEQ $5654
C0/563A:	C903    	CMP #$03
C0/563C:	F021    	BEQ $565F
C0/563E:	B98008  	LDA $0880,Y
C0/5641:	29CF    	AND #$CF
C0/5643:	0930    	ORA #$30
C0/5645:	998008  	STA $0880,Y
C0/5648:	60      	RTS

C0/5649 unknow

C0/5649:	B98008  	LDA $0880,Y		(from C0/5634)
C0/564C:	29CF    	AND #$CF
C0/564E:	0920    	ORA #$20
C0/5650:	998008  	STA $0880,Y
C0/5653:	60      	RTS

C0/5654 unknow

C0/5654:	B98008  	LDA $0880,Y		(from C0/5638)
C0/5657:	29CF    	AND #$CF
C0/5659:	0920    	ORA #$20
C0/565B:	998008  	STA $0880,Y
C0/565E:	60      	RTS

C0/565F unknow

C0/565F:	B98008  	LDA $0880,Y		(from C0/563C)
C0/5662:	29CF    	AND #$CF
C0/5664:	0920    	ORA #$20
C0/5666:	998008  	STA $0880,Y
C0/5669:	60      	RTS

C0/566A unknow

C0/566A:	A20020  	LDX #$2000		(from C0/560A)
C0/566D:	8E8121  	STX $2181
C0/5670:	9C8321  	STZ $2183
C0/5673:	A20040  	LDX #$4000
C0/5676:	A9FF    	LDA #$FF
C0/5678:	8D8021  	STA $2180
C0/567B:	CA      	DEX
C0/567C:	D0FA    	BNE $5678
C0/567E:	60      	RTS

C0/567F unknow

C0/567F:	9C0B42  	STZ $420B		(from C0/5610)
C0/5682:	A980    	LDA #$80
C0/5684:	8D1521  	STA $2115
C0/5687:	A20072  	LDX #$7200
C0/568A:	8E1621  	STX $2116
C0/568D:	A941    	LDA #$41
C0/568F:	8D0043  	STA $4300
C0/5692:	A918    	LDA #$18
C0/5694:	8D0143  	STA $4301
C0/5697:	A20030  	LDX #$3000
C0/569A:	8E0243  	STX $4302
C0/569D:	A9D8    	LDA #$D8
C0/569F:	8D0443  	STA $4304      (D8/3000)
C0/56A2:	8D0743  	STA $4307      (D8/1C00)
C0/56A5:	A2001C  	LDX #$1C00
C0/56A8:	8E0543  	STX $4305
C0/56AB:	A901    	LDA #$01
C0/56AD:	8D0B42  	STA $420B
C0/56B0:	60      	RTS

C0/56B1 unknow

C0/56B1:	9C8100  	STZ $0081		(from C0/560D)
C0/56B4:	A980    	LDA #$80
C0/56B6:	8D1521  	STA $2115
C0/56B9:	A20060  	LDX #$6000
C0/56BC:	8E1621  	STX $2116
C0/56BF:	A909    	LDA #$09
C0/56C1:	8D0043  	STA $4300
C0/56C4:	A918    	LDA #$18
C0/56C6:	8D0143  	STA $4301
C0/56C9:	A28100  	LDX #$0081
C0/56CC:	8E0243  	STX $4302
C0/56CF:	A900    	LDA #$00
C0/56D1:	8D0443  	STA $4304      (00/0081)
C0/56D4:	8D0743  	STA $4307      (00/2000)
C0/56D7:	A20020  	LDX #$2000
C0/56DA:	8E0543  	STX $4305
C0/56DD:	A901    	LDA #$01
C0/56DF:	8D0B42  	STA $420B
C0/56E2:	60      	RTS

C0/56E3 unknow

C0/56E3:	A97E    	LDA #$7E		(from C0/BF94)
C0/56E5:	48      	PHA
C0/56E6:	AB      	PLB
C0/56E7:	A400    	LDY $00
C0/56E9:	7B      	TDC 
C0/56EA:	A21000  	LDX #$0010
C0/56ED:	990078  	STA $7800,Y
C0/56F0:	C8      	INY 
C0/56F1:	CA      	DEX
C0/56F2:	D0F9    	BNE $56ED
C0/56F4:	1A      	INC A
C0/56F5:	C00001  	CPY #$0100
C0/56F8:	D0F0    	BNE $56EA
C0/56FA:	A400    	LDY $00
C0/56FC:	A600    	LDX $00
C0/56FE:	BF1C57C0	LDA $C0571C,X
C0/5702:	990079  	STA $7900,Y
C0/5705:	BF2C57C0	LDA $C0572C,X
C0/5709:	99007A  	STA $7A00,Y
C0/570C:	C8      	INY 
C0/570D:	E8      	INX
C0/570E:	E01000  	CPX #$0010
C0/5711:	D0EB    	BNE $56FE
C0/5713:	C00001  	CPY #$0100
C0/5716:	D0E4    	BNE $56FC
C0/5718:	7B      	TDC 
C0/5719:	48      	PHA
C0/571A:	AB      	PLB
C0/571B:	60      	RTS

C0/571C unknow

C0/571C:	FE
C0/571D:	FE
C0/571E:	FE
C0/571F:	FE
C0/5720:	FB
C0/5721:	FB
C0/5722:	FB
C0/5723:	FB
C0/5724:	EF
C0/5725:	EF
C0/5726:	EF
C0/5727:	EF
C0/5728:	BF
C0/5729:	BF
C0/572A:	BF
C0/572B:	BF
C0/572C:	01
C0/572D:	01
C0/572E:	01
C0/572F:	01
C0/5730:	04
C0/5731:	04
C0/5732:	04
C0/5733:	04
C0/5734:	10
C0/5735:	10
C0/5736:	10
C0/5737:	10
C0/5738:	40
C0/5739:	40
C0/573A:	40
C0/573B:	40

C0/573C unknow

C0/573C:	64DC    	STZ $DC
C0/573E:	A918    	LDA #$18
C0/5740:	85DE    	STA $DE
C0/5742:	A5DC    	LDA $DC
C0/5744:	C5DD    	CMP $DD
C0/5746:	9003    	BCC $574B
C0/5748:	4C0158  	JMP $5801 	(could use brl)
C0/574B:	AA      	TAX
C0/574C:	C220    	REP #$20      (16 bit accum./memory)
C0/574E:	BD0308  	LDA $0803,X
C0/5751:	85DA    	STA $DA
C0/5753:	A8      	TAY
C0/5754:	B97108  	LDA $0871,Y
C0/5757:	3017    	BMI $5770
C0/5759:	B96908  	LDA $0869,Y
C0/575C:	18      	CLC
C0/575D:	797108  	ADC $0871,Y
C0/5760:	996908  	STA $0869,Y
C0/5763:	E220    	SEP #$20      (8 bit accum./memory)
C0/5765:	7B      	TDC 
C0/5766:	796B08  	ADC $086B,Y
C0/5769:	996B08  	STA $086B,Y
C0/576C:	C220    	REP #$20      (16 bit accum./memory)
C0/576E:	801C    	BRA $578C
C0/5770:	B97108  	LDA $0871,Y
C0/5773:	4502    	EOR $02
C0/5775:	851A    	STA $1A
C0/5777:	B96908  	LDA $0869,Y
C0/577A:	18      	CLC
C0/577B:	E51A    	SBC $1A
C0/577D:	996908  	STA $0869,Y
C0/5780:	E220    	SEP #$20      (8 bit accum./memory)
C0/5782:	B96B08  	LDA $086B,Y
C0/5785:	E500    	SBC $00
C0/5787:	996B08  	STA $086B,Y
C0/578A:	C220    	REP #$20      (16 bit accum./memory)
C0/578C:	B97308  	LDA $0873,Y
C0/578F:	3015    	BMI $57A6
C0/5791:	B96C08  	LDA $086C,Y
C0/5794:	18      	CLC
C0/5795:	797308  	ADC $0873,Y
C0/5798:	996C08  	STA $086C,Y
C0/579B:	E220    	SEP #$20      (8 bit accum./memory)
C0/579D:	7B      	TDC 
C0/579E:	796E08  	ADC $086E,Y
C0/57A1:	996E08  	STA $086E,Y
C0/57A4:	801A    	BRA $57C0
C0/57A6:	B97308  	LDA $0873,Y
C0/57A9:	4502    	EOR $02
C0/57AB:	851A    	STA $1A
C0/57AD:	B96C08  	LDA $086C,Y
C0/57B0:	18      	CLC
C0/57B1:	E51A    	SBC $1A
C0/57B3:	996C08  	STA $086C,Y
C0/57B6:	E220    	SEP #$20      (8 bit accum./memory)
C0/57B8:	B96E08  	LDA $086E,Y
C0/57BB:	E500    	SBC $00
C0/57BD:	996E08  	STA $086E,Y
C0/57C0:	7B      	TDC 
C0/57C1:	E220    	SEP #$20      (8 bit accum./memory)
C0/57C3:	B98708  	LDA $0887,Y
C0/57C6:	293F    	AND #$3F
C0/57C8:	F00C    	BEQ $57D6
C0/57CA:	B98708  	LDA $0887,Y
C0/57CD:	AA      	TAX
C0/57CE:	3A      	DEC A
C0/57CF:	998708  	STA $0887,Y
C0/57D2:	BFAD59C0	LDA $C059AD,X
C0/57D6:	996F08  	STA $086F,Y
C0/57D9:	203958  	JSR $5839
C0/57DC:	B96908  	LDA $0869,Y
C0/57DF:	D020    	BNE $5801
C0/57E1:	B96A08  	LDA $086A,Y
C0/57E4:	290F    	AND #$0F
C0/57E6:	D019    	BNE $5801
C0/57E8:	B96C08  	LDA $086C,Y
C0/57EB:	D014    	BNE $5801
C0/57ED:	B96D08  	LDA $086D,Y
C0/57F0:	290F    	AND #$0F
C0/57F2:	D00D    	BNE $5801
C0/57F4:	7B      	TDC 
C0/57F5:	997108  	STA $0871,Y
C0/57F8:	997208  	STA $0872,Y
C0/57FB:	997308  	STA $0873,Y
C0/57FE:	997408  	STA $0874,Y
C0/5801:	E6DC    	INC $DC
C0/5803:	E6DC    	INC $DC
C0/5805:	C6DE    	DEC $DE
C0/5807:	F003    	BEQ $580C
C0/5809:	4C4257  	JMP $5742	
C0/580C:	60      	RTS

C0/580D unknow

C0/580D:	0405    	TSB $05
C0/580F:	0403    	TSB $03
C0/5811:	6E6F6E  	ROR $6E6F
C0/5814:	6F010201	ADC $010201
C0/5818:	002E    	BRK #$2E
C0/581A:	2F2E2F04	AND $042F2E
C0/581E:	0504    	ORA $04
C0/5820:	0347    	ORA $47,S
C0/5822:	48      	PHA
C0/5823:	4746    	EOR [$46]
C0/5825:	0102    	ORA ($02,X)
C0/5827:	0100    	ORA ($00,X)
C0/5829:	0708    	ORA [$08]
C0/582B:	0706    	ORA [$06]
C0/582D:	0447    	TSB $47
C0/582F:	0107    	ORA ($07,X)
C0/5831:	0000    	BRK #$00
C0/5833:	3228    	AND ($28)
C0/5835:	0000    	BRK #$00
C0/5837:	0000    	BRK #$00
C0/5839:	B98C08  	LDA $088C,Y
C0/583C:	2920    	AND #$20
C0/583E:	F003    	BEQ $5843
C0/5840:	4CE458  	JMP $58E4
C0/5843:	CC0308  	CPY $0803
C0/5846:	D00D    	BNE $5855
C0/5848:	A5B9    	LDA $B9
C0/584A:	C9FF    	CMP #$FF
C0/584C:	F007    	BEQ $5855
C0/584E:	2940    	AND #$40
C0/5850:	F003    	BEQ $5855
C0/5852:	7B      	TDC 
C0/5853:	8003    	BRA $5858
C0/5855:	B97F08  	LDA $087F,Y
C0/5858:	0A      	ASL A
C0/5859:	0A      	ASL A
C0/585A:	851A    	STA $1A
C0/585C:	B96808  	LDA $0868,Y
C0/585F:	2960    	AND #$60
C0/5861:	F003    	BEQ $5866
C0/5863:	4CAD58  	JMP $58AD
C0/5866:	B96808  	LDA $0868,Y
C0/5869:	2901    	AND #$01
C0/586B:	F03D    	BEQ $58AA
C0/586D:	A5B8    	LDA $B8
C0/586F:	29C0    	AND #$C0
C0/5871:	F00A    	BEQ $587D
C0/5873:	BE7108  	LDX $0871,Y
C0/5876:	F012    	BEQ $588A
C0/5878:	BE7308  	LDX $0873,Y
C0/587B:	D01A    	BNE $5897
C0/587D:	BE7108  	LDX $0871,Y
C0/5880:	F008    	BEQ $588A
C0/5882:	B96A08  	LDA $086A,Y
C0/5885:	4A      	LSR A
C0/5886:	4A      	LSR A
C0/5887:	4A      	LSR A
C0/5888:	8013    	BRA $589D
C0/588A:	BE7308  	LDX $0873,Y
C0/588D:	F01B    	BEQ $58AA
C0/588F:	B96D08  	LDA $086D,Y
C0/5892:	4A      	LSR A
C0/5893:	4A      	LSR A
C0/5894:	4A      	LSR A
C0/5895:	8006    	BRA $589D
C0/5897:	A546    	LDA $46
C0/5899:	4A      	LSR A
C0/589A:	4A      	LSR A
C0/589B:	8000    	BRA $589D
C0/589D:	2903    	AND #$03
C0/589F:	18      	CLC
C0/58A0:	651A    	ADC $1A
C0/58A2:	AA      	TAX
C0/58A3:	BF1D58C0	LDA $C0581D,X
C0/58A7:	997708  	STA $0877,Y
C0/58AA:	4C3759  	JMP $5937
C0/58AD:	C960    	CMP #$60
C0/58AF:	F027    	BEQ $58D8
C0/58B1:	BE7108  	LDX $0871,Y
C0/58B4:	F008    	BEQ $58BE
C0/58B6:	B96A08  	LDA $086A,Y
C0/58B9:	4A      	LSR A
C0/58BA:	4A      	LSR A
C0/58BB:	4A      	LSR A
C0/58BC:	800B    	BRA $58C9
C0/58BE:	BE7308  	LDX $0873,Y
C0/58C1:	F006    	BEQ $58C9
C0/58C3:	B96D08  	LDA $086D,Y
C0/58C6:	4A      	LSR A
C0/58C7:	4A      	LSR A
C0/58C8:	4A      	LSR A
C0/58C9:	2903    	AND #$03
C0/58CB:	18      	CLC
C0/58CC:	651A    	ADC $1A
C0/58CE:	AA      	TAX
C0/58CF:	BF0D58C0	LDA $C0580D,X
C0/58D3:	997708  	STA $0877,Y
C0/58D6:	805F    	BRA $5937
C0/58D8:	A51A    	LDA $1A
C0/58DA:	AA      	TAX
C0/58DB:	BF1D58C0	LDA $C0581D,X
C0/58DF:	997708  	STA $0877,Y
C0/58E2:	8053    	BRA $5937
C0/58E4:	B96808  	LDA $0868,Y
C0/58E7:	2960    	AND #$60
C0/58E9:	4A      	LSR A
C0/58EA:	4A      	LSR A
C0/58EB:	4A      	LSR A
C0/58EC:	4A      	LSR A
C0/58ED:	4A      	LSR A
C0/58EE:	AA      	TAX
C0/58EF:	A545    	LDA $45
C0/58F1:	4A      	LSR A
C0/58F2:	4A      	LSR A
C0/58F3:	E00000  	CPX #$0000
C0/58F6:	F004    	BEQ $58FC
C0/58F8:	4A      	LSR A
C0/58F9:	CA      	DEX
C0/58FA:	80F7    	BRA $58F3
C0/58FC:	AA      	TAX
C0/58FD:	B98C08  	LDA $088C,Y
C0/5900:	2918    	AND #$18
C0/5902:	D004    	BNE $5908
C0/5904:	641B    	STZ $1B
C0/5906:	801F    	BRA $5927
C0/5908:	C908    	CMP #$08
C0/590A:	D00B    	BNE $5917
C0/590C:	8A      	TXA
C0/590D:	2901    	AND #$01
C0/590F:	F002    	BEQ $5913
C0/5911:	A940    	LDA #$40
C0/5913:	851B    	STA $1B
C0/5915:	8010    	BRA $5927
C0/5917:	C910    	CMP #$10
C0/5919:	D007    	BNE $5922
C0/591B:	8A      	TXA
C0/591C:	2901    	AND #$01
C0/591E:	851B    	STA $1B
C0/5920:	8005    	BRA $5927
C0/5922:	8A      	TXA
C0/5923:	2903    	AND #$03
C0/5925:	851B    	STA $1B
C0/5927:	B98C08  	LDA $088C,Y
C0/592A:	2907    	AND #$07
C0/592C:	AA      	TAX
C0/592D:	BF3158C0	LDA $C05831,X
C0/5931:	18      	CLC
C0/5932:	651B    	ADC $1B
C0/5934:	997708  	STA $0877,Y
C0/5937:	60      	RTS

C0/5938 unknow

C0/5938:	AC0308  	LDY $0803
C0/593B:	B96808  	LDA $0868,Y
C0/593E:	2960    	AND #$60
C0/5940:	D05C    	BNE $599E
C0/5942:	B96708  	LDA $0867,Y
C0/5945:	1057    	BPL $599E
C0/5947:	C220    	REP #$20      (16 bit accum./memory)
C0/5949:	A5B4    	LDA $B4
C0/594B:	C9F800  	CMP #$00F8
C0/594E:	D023    	BNE $5973
C0/5950:	ADDC03  	LDA $03DC
C0/5953:	8DF803  	STA $03F8
C0/5956:	ADDE03  	LDA $03DE
C0/5959:	8DFA03  	STA $03FA
C0/595C:	AD9C04  	LDA $049C
C0/595F:	8DBC04  	STA $04BC
C0/5962:	AD9E04  	LDA $049E
C0/5965:	8DBE04  	STA $04BE
C0/5968:	A9EFEF  	LDA #$EFEF
C0/596B:	8DB804  	STA $04B8
C0/596E:	8DFC03  	STA $03FC
C0/5971:	8021    	BRA $5994
C0/5973:	ADDC03  	LDA $03DC
C0/5976:	8DB804  	STA $04B8
C0/5979:	ADDE03  	LDA $03DE
C0/597C:	8DBA04  	STA $04BA
C0/597F:	AD9C04  	LDA $049C
C0/5982:	8DBC04  	STA $04BC
C0/5985:	AD9E04  	LDA $049E
C0/5988:	8DBE04  	STA $04BE
C0/598B:	A9EFEF  	LDA #$EFEF
C0/598E:	8DF803  	STA $03F8
C0/5991:	8DFC03  	STA $03FC
C0/5994:	8DDC03  	STA $03DC
C0/5997:	8D9C04  	STA $049C
C0/599A:	7B      	TDC 
C0/599B:	E220    	SEP #$20      (8 bit accum./memory)
C0/599D:	60      	RTS

C0/599E unknow

C0/599E:	A9EF    	LDA #$EF
C0/59A0:	8DB904  	STA $04B9
C0/59A3:	8DBD04  	STA $04BD
C0/59A6:	8DF903  	STA $03F9
C0/59A9:	8DFD03  	STA $03FD
C0/59AC:	60      	RTS

C0/59AD unknow

C0/59AD:	0204    	COP #$04
C0/59AF:	0608    	ASL $08
C0/59B1:	090A    	ORA #$0A
C0/59B3:	0B      	PHD
C0/59B4:	0B      	PHD
C0/59B5:	0B      	PHD
C0/59B6:	0B      	PHD
C0/59B7:	0A      	ASL A
C0/59B8:	0908    	ORA #$08
C0/59BA:	0604    	ASL $04
C0/59BC:	0200    	COP #$00
C0/59BE:	0000    	BRK #$00
C0/59C0:	0000    	BRK #$00
C0/59C2:	0000    	BRK #$00
C0/59C4:	0000    	BRK #$00
C0/59C6:	0000    	BRK #$00
C0/59C8:	0000    	BRK #$00
C0/59CA:	0000    	BRK #$00
C0/59CC:	0000    	BRK #$00
C0/59CE:	0000    	BRK #$00
C0/59D0:	0000    	BRK #$00
C0/59D2:	0000    	BRK #$00
C0/59D4:	0000    	BRK #$00
C0/59D6:	0000    	BRK #$00
C0/59D8:	0000    	BRK #$00
C0/59DA:	0000    	BRK #$00
C0/59DC:	0000    	BRK #$00
C0/59DE:	0000    	BRK #$00
C0/59E0:	0000    	BRK #$00
C0/59E2:	0000    	BRK #$00
C0/59E4:	0000    	BRK #$00
C0/59E6:	0000    	BRK #$00
C0/59E8:	0000    	BRK #$00
C0/59EA:	0000    	BRK #$00
C0/59EC:	0005    	BRK #$05
C0/59EE:	090E    	ORA #$0E
C0/59F0:	1115    	ORA ($15),Y
C0/59F2:	18      	CLC
C0/59F3:	1B      	TCS 
C0/59F4:	1E2022  	ASL $2220,X
C0/59F7:	2426    	BIT $26
C0/59F9:	2728    	AND [$28]
C0/59FB:	2929    	AND #$29
C0/59FD:	2929    	AND #$29
C0/59FF:	28      	PLP 
C0/5A00:	2726    	AND [$26]
C0/5A02:	2422    	BIT $22
C0/5A04:	201E1B  	JSR $1B1E
C0/5A07:	18      	CLC
C0/5A08:	1511    	ORA $11,X
C0/5A0A:	0E0905  	ASL $0509
C0/5A0D:	0000    	BRK #$00
C0/5A0F:	0000    	BRK #$00
C0/5A11:	0000    	BRK #$00
C0/5A13:	0000    	BRK #$00
C0/5A15:	0000    	BRK #$00
C0/5A17:	0000    	BRK #$00
C0/5A19:	0000    	BRK #$00
C0/5A1B:	0000    	BRK #$00
C0/5A1D:	0000    	BRK #$00
C0/5A1F:	0000    	BRK #$00
C0/5A21:	0000    	BRK #$00
C0/5A23:	0000    	BRK #$00
C0/5A25:	0000    	BRK #$00
C0/5A27:	0000    	BRK #$00
C0/5A29:	0000    	BRK #$00
C0/5A2B:	0000    	BRK #$00
C0/5A2D:	A20021  	LDX #$2100
C0/5A30:	DA      	PHX
C0/5A31:	2B      	PLD 
C0/5A32:	A20003  	LDX #$0300
C0/5A35:	8681    	STX $81
C0/5A37:	6483    	STZ $83
C0/5A39:	A02000  	LDY #$0020
C0/5A3C:	A9EF    	LDA #$EF
C0/5A3E:	8580    	STA $80
C0/5A40:	8580    	STA $80
C0/5A42:	8580    	STA $80
C0/5A44:	8580    	STA $80
C0/5A46:	8580    	STA $80
C0/5A48:	8580    	STA $80
C0/5A4A:	8580    	STA $80
C0/5A4C:	8580    	STA $80
C0/5A4E:	8580    	STA $80
C0/5A50:	8580    	STA $80
C0/5A52:	8580    	STA $80
C0/5A54:	8580    	STA $80
C0/5A56:	8580    	STA $80
C0/5A58:	8580    	STA $80
C0/5A5A:	8580    	STA $80
C0/5A5C:	8580    	STA $80
C0/5A5E:	88      	DEY 
C0/5A5F:	D0DD    	BNE $5A3E
C0/5A61:	A20005  	LDX #$0500
C0/5A64:	8681    	STX $81
C0/5A66:	6483    	STZ $83
C0/5A68:	6480    	STZ $80
C0/5A6A:	6480    	STZ $80
C0/5A6C:	6480    	STZ $80
C0/5A6E:	6480    	STZ $80
C0/5A70:	6480    	STZ $80
C0/5A72:	6480    	STZ $80
C0/5A74:	6480    	STZ $80
C0/5A76:	6480    	STZ $80
C0/5A78:	6480    	STZ $80
C0/5A7A:	6480    	STZ $80
C0/5A7C:	6480    	STZ $80
C0/5A7E:	6480    	STZ $80
C0/5A80:	6480    	STZ $80
C0/5A82:	6480    	STZ $80
C0/5A84:	6480    	STZ $80
C0/5A86:	6480    	STZ $80
C0/5A88:	6480    	STZ $80
C0/5A8A:	6480    	STZ $80
C0/5A8C:	6480    	STZ $80
C0/5A8E:	6480    	STZ $80
C0/5A90:	6480    	STZ $80
C0/5A92:	6480    	STZ $80
C0/5A94:	6480    	STZ $80
C0/5A96:	6480    	STZ $80
C0/5A98:	6480    	STZ $80
C0/5A9A:	6480    	STZ $80
C0/5A9C:	6480    	STZ $80
C0/5A9E:	6480    	STZ $80
C0/5AA0:	6480    	STZ $80
C0/5AA2:	6480    	STZ $80
C0/5AA4:	6480    	STZ $80
C0/5AA6:	6480    	STZ $80

C0/5AA8 unknow

C0/5AA8:	A20000  	LDX #$0000
C0/5AAB:	DA      	PHX
C0/5AAC:	2B      	PLD 
C0/5AAD:	A97E    	LDA #$7E
C0/5AAF:	48      	PHA
C0/5AB0:	AB      	PLB
C0/5AB1:	A906    	LDA #$06
C0/5AB3:	85DE    	STA $DE
C0/5AB5:	A547    	LDA $47
C0/5AB7:	2903    	AND #$03
C0/5AB9:	AA      	TAX
C0/5ABA:	BF7767C0	LDA $C06777,X
C0/5ABE:	85DC    	STA $DC
C0/5AC0:	A5DC    	LDA $DC
C0/5AC2:	AA      	TAX
C0/5AC3:	BCF710  	LDY $10F7,X
C0/5AC6:	C0B007  	CPY #$07B0
C0/5AC9:	F006    	BEQ $5AD1
C0/5ACB:	B97708  	LDA $0877,Y
C0/5ACE:	997608  	STA $0876,Y
C0/5AD1:	E6DC    	INC $DC
C0/5AD3:	E6DC    	INC $DC
C0/5AD5:	C6DE    	DEC $DE
C0/5AD7:	D0E7    	BNE $5AC0
C0/5AD9:	A0A000  	LDY #$00A0
C0/5ADC:	84D4    	STY $D4
C0/5ADE:	A02000  	LDY #$0020
C0/5AE1:	84D6    	STY $D6
C0/5AE3:	84D8    	STY $D8
C0/5AE5:	A918    	LDA #$18
C0/5AE7:	85DE    	STA $DE
C0/5AE9:	64DC    	STZ $DC
C0/5AEB:	A5DC    	LDA $DC
C0/5AED:	C5DD    	CMP $DD
C0/5AEF:	9003    	BCC $5AF4
C0/5AF1:	4C345B  	JMP $5B34
C0/5AF4:	AA      	TAX
C0/5AF5:	BD0308  	LDA $0803,X
C0/5AF8:	85DA    	STA $DA
C0/5AFA:	BD0408  	LDA $0804,X
C0/5AFD:	85DB    	STA $DB
C0/5AFF:	A4DA    	LDY $DA
C0/5B01:	B96708  	LDA $0867,Y
C0/5B04:	3003    	BMI $5B09
C0/5B06:	4C345B  	JMP $5B34
C0/5B09:	B96808  	LDA $0868,Y
C0/5B0C:	29E0    	AND #$E0
C0/5B0E:	C980    	CMP #$80
C0/5B10:	D003    	BNE $5B15
C0/5B12:	4CF564  	JMP $64F5
C0/5B15:	B98C08  	LDA $088C,Y
C0/5B18:	2920    	AND #$20
C0/5B1A:	D06F    	BNE $5B8B
C0/5B1C:	B96808  	LDA $0868,Y
C0/5B1F:	2960    	AND #$60
C0/5B21:	F068    	BEQ $5B8B
C0/5B23:	C920    	CMP #$20
C0/5B25:	D003    	BNE $5B2A
C0/5B27:	4CBA60  	JMP $60BA
C0/5B2A:	C940    	CMP #$40
C0/5B2C:	D003    	BNE $5B31
C0/5B2E:	4C575D  	JMP $5D57
C0/5B31:	4C365F  	JMP $5F36

C0/5B34 unknow

C0/5B34:	7B      	TDC 
C0/5B35:	E220    	SEP #$20      (8 bit accum./memory)
C0/5B37:	E6DC    	INC $DC
C0/5B39:	E6DC    	INC $DC
C0/5B3B:	C6DE    	DEC $DE
C0/5B3D:	F003    	BEQ $5B42
C0/5B3F:	4CEB5A  	JMP $5AEB
C0/5B42:	203859  	JSR $5938
C0/5B45:	7B      	TDC 
C0/5B46:	48      	PHA
C0/5B47:	AB      	PLB
C0/5B48:	60      	RTS

C0/5B49 unknow

C0/5B4C:	BF010410	LDA $100401,X
C0/5B50:	40      	RTI
C0/5B51:	0000    	BRK #$00
C0/5B53:	F600    	INC $00,X
C0/5B55:	EC01E2  	CPX $E201
C0/5B58:	02D8    	COP #$D8
C0/5B5A:	0300    	ORA $00,S
C0/5B5C:	0004    	BRK #$04
C0/5B5E:	0008    	BRK #$08
C0/5B60:	000C    	BRK #$0C
C0/5B62:	0020    	BRK #$20
C0/5B64:	0024    	BRK #$24
C0/5B66:	0028    	BRK #$28
C0/5B68:	002C    	BRK #$2C
C0/5B6A:	0040    	BRK #$40
C0/5B6C:	0044    	BRK #$44
C0/5B6E:	0048    	BRK #$48
C0/5B70:	004C    	BRK #$4C
C0/5B72:	0060    	BRK #$60
C0/5B74:	0064    	BRK #$64
C0/5B76:	0068    	BRK #$68
C0/5B78:	006C    	BRK #$6C
C0/5B7A:	0080    	BRK #$80
C0/5B7C:	0084    	BRK #$84
C0/5B7E:	0088    	BRK #$88
C0/5B80:	008C    	BRK #$8C
C0/5B82:	00A0    	BRK #$A0
C0/5B84:	00A4    	BRK #$A4
C0/5B86:	00A8    	BRK #$A8
C0/5B88:	00AC    	BRK #$AC
C0/5B8A:	00B9    	BRK #$B9
C0/5B8C:	7C0830  	JMP ($3008,X)
C0/5B8F:	30C2    	BMI $5B53
C0/5B91:	21B9    	AND ($B9,X)
C0/5B93:	6D08E5  	ADC $E508
C0/5B96:	60      	RTS

C0/5B97 unknow

C0/5B97:	38      	SEC 
C0/5B98:	E57F    	SBC $7F
C0/5B9A:	38      	SEC 
C0/5B9B:	F96F08  	SBC $086F,Y
C0/5B9E:	8524    	STA $24
C0/5BA0:	38      	SEC 
C0/5BA1:	E91000    	SBC #$0010
C0/5BA4:	8522    	STA $22
C0/5BA6:	18      	CLC
C0/5BA7:	692000  	ADC #$0020
C0/5BAA:	8526    	STA $26
C0/5BAC:	B96A08  	LDA $086A,Y
C0/5BAF:	38      	SEC 
C0/5BB0:	E55C    	SBC $5C
C0/5BB2:	18      	CLC
C0/5BB3:	690800    	ADC #$0008
C0/5BB6:	851E    	STA $1E
C0/5BB8:	18      	CLC
C0/5BB9:	690800  	ADC #$0008
C0/5BBC:	E220    	SEP #$20
C0/5BBE:	802E    	BRA $5BEE
C0/5BC0:	C221    	REP #$21
C0/5BC2:	B96D08  	LDA $086D,Y
C0/5BC5:	E568    	SBC $68
C0/5BC7:	38      	SEC 
C0/5BC8:	E57F    	SBC $7F
C0/5BCA:	38      	SEC 
C0/5BCB:	F96F08  	SBC $086F,Y
C0/5BCE:	8524    	STA $24
C0/5BD0:	38      	SEC 
C0/5BD1:	E91000  	SBC #$0010
C0/5BD4:	8522    	STA $22
C0/5BD6:	18      	CLC
C0/5BD7:	692000  	ADC #$0020
C0/5BDA:	8526    	STA $26
C0/5BDC:	B96A08  	LDA $086A,Y
C0/5BDF:	38      	SEC 
C0/5BE0:	E564    	SBC $64
C0/5BE2:	18      	CLC
C0/5BE3:	690800  	ADC #$0008
C0/5BE6:	851E    	STA $1E
C0/5BE8:	18      	CLC
C0/5BE9:	690800  	ADC #$0008
C0/5BEC:	E220    	SEP #$20      (8 bit accum./memory)
C0/5BEE:	EB      	XBA
C0/5BEF:	F003    	BEQ $5BF4
C0/5BF1:	4C345B  	JMP $5B34
C0/5BF4:	A527    	LDA $27
C0/5BF6:	F003    	BEQ $5BFB
C0/5BF8:	4C345B  	JMP $5B34
C0/5BFB:	7B      	TDC 
C0/5BFC:	B97608  	LDA $0876,Y
C0/5BFF:	AA      	TAX
C0/5C04:	198008  	ORA $0880,Y
C0/5C07:	851B    	STA $1B
C0/5C0D:	198108  	ORA $0881,Y
C0/5C10:	851D    	STA $1D
C0/5C12:	B98F08  	LDA $088F,Y
C0/5C15:	AA      	TAX
C0/5C16:	BF5B5BC0	LDA $C05B5B,X
C0/5C1A:	851A    	STA $1A
C0/5C1C:	1A      	INC A
C0/5C1D:	1A      	INC A
C0/5C1E:	851C    	STA $1C
C0/5C20:	B98C08  	LDA $088C,Y
C0/5C23:	29C0    	AND #$C0
C0/5C25:	F00A    	BEQ $5C31
C0/5C27:	C940    	CMP #$40
C0/5C29:	D003    	BNE $5C2E
C0/5C2B:	4C935C  	JMP $5C93
C0/5C2E:	4CF55C  	JMP $5CF5

C0/5C31 unknow

C0/5C31:	C220    	REP #$20      (16 bit accum./memory)
C0/5C33:	A5D4    	LDA $D4
C0/5C35:	38      	SEC 
C0/5C36:	E90400  	SBC #$0004
C0/5C39:	85D4    	STA $D4
C0/5C3B:	A8      	TAY
C0/5C3C:	A51A    	LDA $1A
C0/5C3E:	994203  	STA $0342,Y
C0/5C41:	A51C    	LDA $1C
C0/5C43:	990204  	STA $0402,Y
C0/5C46:	7B      	TDC 
C0/5C47:	E220    	SEP #$20      (8 bit accum./memory)
C0/5C49:	A51E    	LDA $1E
C0/5C4B:	994003  	STA $0340,Y
C0/5C4E:	990004  	STA $0400,Y
C0/5C51:	A522    	LDA $22
C0/5C53:	994103  	STA $0341,Y
C0/5C56:	A524    	LDA $24
C0/5C58:	990104  	STA $0401,Y
C0/5C5B:	B90078  	LDA $7800,Y
C0/5C5E:	AA      	TAX
C0/5C5F:	A51F    	LDA $1F
C0/5C61:	4A      	LSR A
C0/5C62:	B014    	BCS $5C78
C0/5C64:	BD0405  	LDA $0504,X
C0/5C67:	390079  	AND $7900,Y
C0/5C6A:	9D0405  	STA $0504,X
C0/5C6D:	BD1005  	LDA $0510,X
C0/5C70:	390079  	AND $7900,Y
C0/5C73:	9D1005  	STA $0510,X
C0/5C76:	8018    	BRA $5C90
C0/5C78:	BD0405  	LDA $0504,X
C0/5C7B:	390079  	AND $7900,Y
C0/5C7E:	19007A  	ORA $7A00,Y
C0/5C81:	9D0405  	STA $0504,X
C0/5C84:	BD1005  	LDA $0510,X
C0/5C87:	390079  	AND $7900,Y
C0/5C8A:	19007A  	ORA $7A00,Y
C0/5C8D:	9D1005  	STA $0510,X
C0/5C90:	4C345B  	JMP $5B34

C0/5C93 unknow

C0/5C93:	C220    	REP #$20      (16 bit accum./memory)
C0/5C95:	A5D6    	LDA $D6
C0/5C97:	38      	SEC 
C0/5C98:	E90400  	SBC #$0004
C0/5C9B:	85D6    	STA $D6
C0/5C9D:	A8      	TAY
C0/5C9E:	A51A    	LDA $1A
C0/5CA0:	990203  	STA $0302,Y
C0/5CA3:	A51C    	LDA $1C
C0/5CA5:	992203  	STA $0322,Y
C0/5CA8:	7B      	TDC 
C0/5CA9:	E220    	SEP #$20      (8 bit accum./memory)
C0/5CAB:	A51E    	LDA $1E
C0/5CAD:	990003  	STA $0300,Y
C0/5CB0:	992003  	STA $0320,Y
C0/5CB3:	A522    	LDA $22
C0/5CB5:	990103  	STA $0301,Y
C0/5CB8:	A524    	LDA $24
C0/5CBA:	992103  	STA $0321,Y
C0/5CBD:	B90078  	LDA $7800,Y
C0/5CC0:	AA      	TAX
C0/5CC1:	A51F    	LDA $1F
C0/5CC3:	4A      	LSR A
C0/5CC4:	B014    	BCS $5CDA
C0/5CC6:	BD0005  	LDA $0500,X
C0/5CC9:	390079  	AND $7900,Y
C0/5CCC:	9D0005  	STA $0500,X
C0/5CCF:	BD0205  	LDA $0502,X
C0/5CD2:	390079  	AND $7900,Y
C0/5CD5:	9D0205  	STA $0502,X
C0/5CD8:	8018    	BRA $5CF2
C0/5CDA:	BD0005  	LDA $0500,X
C0/5CDD:	390079  	AND $7900,Y
C0/5CE0:	19007A  	ORA $7A00,Y
C0/5CE3:	9D0005  	STA $0500,X
C0/5CE6:	BD0205  	LDA $0502,X
C0/5CE9:	390079  	AND $7900,Y
C0/5CEC:	19007A  	ORA $7A00,Y
C0/5CEF:	9D0205  	STA $0502,X
C0/5CF2:	4C345B  	JMP $5B34

C0/5CF5 unknow

C0/5CF5:	C220    	REP #$20      (16 bit accum./memory)
C0/5CF7:	A5D8    	LDA $D8
C0/5CF9:	38      	SEC 
C0/5CFA:	E90400  	SBC #$0004
C0/5CFD:	85D8    	STA $D8
C0/5CFF:	A8      	TAY
C0/5D00:	A51A    	LDA $1A
C0/5D02:	99C204  	STA $04C2,Y
C0/5D05:	A51C    	LDA $1C
C0/5D07:	99E204  	STA $04E2,Y
C0/5D0A:	7B      	TDC 
C0/5D0B:	E220    	SEP #$20      (8 bit accum./memory)
C0/5D0D:	A51E    	LDA $1E
C0/5D0F:	99C004  	STA $04C0,Y
C0/5D12:	99E004  	STA $04E0,Y
C0/5D15:	A522    	LDA $22
C0/5D17:	99C104  	STA $04C1,Y
C0/5D1A:	A524    	LDA $24
C0/5D1C:	99E104  	STA $04E1,Y
C0/5D1F:	B90078  	LDA $7800,Y
C0/5D22:	AA      	TAX
C0/5D23:	A51F    	LDA $1F
C0/5D25:	4A      	LSR A
C0/5D26:	B014    	BCS $5D3C
C0/5D28:	BD1C05  	LDA $051C,X
C0/5D2B:	390079  	AND $7900,Y
C0/5D2E:	9D1C05  	STA $051C,X
C0/5D31:	BD1E05  	LDA $051E,X
C0/5D34:	390079  	AND $7900,Y
C0/5D37:	9D1E05  	STA $051E,X
C0/5D3A:	8018    	BRA $5D54
C0/5D3C:	BD1C05  	LDA $051C,X
C0/5D3F:	390079  	AND $7900,Y
C0/5D42:	19007A  	ORA $7A00,Y
C0/5D45:	9D1C05  	STA $051C,X
C0/5D48:	BD1E05  	LDA $051E,X
C0/5D4B:	390079  	AND $7900,Y
C0/5D4E:	19007A  	ORA $7A00,Y
C0/5D51:	9D1E05  	STA $051E,X
C0/5D54:	4C345B  	JMP $5B34

C0/5D57 unknow

C0/5D57:	B98F08  	LDA $088F,Y
C0/5D5A:	AA      	TAX
C0/5D5B:	BF5B5BC0	LDA $C05B5B,X
C0/5D5F:	851A    	STA $1A
C0/5D61:	C220    	REP #$20      (16 bit accum./memory)
C0/5D63:	B96A08  	LDA $086A,Y
C0/5D66:	38      	SEC 
C0/5D67:	E55C    	SBC $5C
C0/5D69:	851E    	STA $1E
C0/5D6B:	18      	CLC
C0/5D6C:	691000  	ADC #$0010
C0/5D6F:	8520    	STA $20
C0/5D71:	B96D08  	LDA $086D,Y
C0/5D74:	18      	CLC
C0/5D75:	E560    	SBC $60
C0/5D77:	38      	SEC 
C0/5D78:	E57F    	SBC $7F
C0/5D7A:	38      	SEC 
C0/5D7B:	E90800  	SBC #$0008
C0/5D7E:	8526    	STA $26
C0/5D80:	E91000  	SBC #$0010
C0/5D83:	8524    	STA $24
C0/5D85:	E90600  	SBC #$0006
C0/5D88:	8522    	STA $22
C0/5D8A:	18      	CLC
C0/5D8B:	691E00  	ADC #$001E
C0/5D8E:	E220    	SEP #$20      (8 bit accum./memory)
C0/5D90:	EB      	XBA
C0/5D91:	F003    	BEQ $5D96
C0/5D93:	4C345B  	JMP $5B34
C0/5D96:	7B      	TDC 
C0/5D97:	A41E    	LDY $1E
C0/5D99:	C02001  	CPY #$0120
C0/5D9C:	9008    	BCC $5DA6
C0/5D9E:	C0E0FF  	CPY #$FFE0
C0/5DA1:	B003    	BCS $5DA6
C0/5DA3:	4C345B  	JMP $5B34
C0/5DA6:	C220    	REP #$20      (16 bit accum./memory)
C0/5DA8:	A5D4    	LDA $D4
C0/5DAA:	38      	SEC 
C0/5DAB:	E90C00  	SBC #$000C
C0/5DAE:	85D4    	STA $D4
C0/5DB0:	7B      	TDC 
C0/5DB1:	E220    	SEP #$20      (8 bit accum./memory)
C0/5DB3:	A4D4    	LDY $D4
C0/5DB5:	C220    	REP #$20      (16 bit accum./memory)
C0/5DB7:	A51E    	LDA $1E
C0/5DB9:	18      	CLC
C0/5DBA:	690800  	ADC #$0008
C0/5DBD:	852A    	STA $2A
C0/5DBF:	7B      	TDC 
C0/5DC0:	E220    	SEP #$20      (8 bit accum./memory)
C0/5DC2:	A52A    	LDA $2A
C0/5DC4:	994003  	STA $0340,Y
C0/5DC7:	202167  	JSR $6721
C0/5DCA:	C8      	INY 
C0/5DCB:	C8      	INY 
C0/5DCC:	C8      	INY 
C0/5DCD:	C8      	INY 
C0/5DCE:	C220    	REP #$20      (16 bit accum./memory)
C0/5DD0:	A51E    	LDA $1E
C0/5DD2:	852A    	STA $2A
C0/5DD4:	7B      	TDC 
C0/5DD5:	E220    	SEP #$20      (8 bit accum./memory)
C0/5DD7:	A52A    	LDA $2A
C0/5DD9:	994003  	STA $0340,Y
C0/5DDC:	202167  	JSR $6721
C0/5DDF:	C8      	INY 
C0/5DE0:	C8      	INY 
C0/5DE1:	C8      	INY 
C0/5DE2:	C8      	INY 
C0/5DE3:	C220    	REP #$20      (16 bit accum./memory)
C0/5DE5:	A520    	LDA $20
C0/5DE7:	852A    	STA $2A
C0/5DE9:	7B      	TDC 
C0/5DEA:	E220    	SEP #$20      (8 bit accum./memory)
C0/5DEC:	A52A    	LDA $2A
C0/5DEE:	994003  	STA $0340,Y
C0/5DF1:	202167  	JSR $6721
C0/5DF4:	A4D4    	LDY $D4
C0/5DF6:	C220    	REP #$20      (16 bit accum./memory)
C0/5DF8:	A51E    	LDA $1E
C0/5DFA:	852A    	STA $2A
C0/5DFC:	7B      	TDC 
C0/5DFD:	E220    	SEP #$20      (8 bit accum./memory)
C0/5DFF:	A52A    	LDA $2A
C0/5E01:	990004  	STA $0400,Y
C0/5E04:	204C67  	JSR $674C
C0/5E07:	C8      	INY 
C0/5E08:	C8      	INY 
C0/5E09:	C8      	INY 
C0/5E0A:	C8      	INY 
C0/5E0B:	C220    	REP #$20      (16 bit accum./memory)
C0/5E0D:	A520    	LDA $20
C0/5E0F:	852A    	STA $2A
C0/5E11:	7B      	TDC 
C0/5E12:	E220    	SEP #$20      (8 bit accum./memory)
C0/5E14:	A52A    	LDA $2A
C0/5E16:	990004  	STA $0400,Y
C0/5E19:	204C67  	JSR $674C
C0/5E1C:	A4D4    	LDY $D4
C0/5E1E:	A524    	LDA $24
C0/5E20:	994503  	STA $0345,Y
C0/5E23:	994903  	STA $0349,Y
C0/5E26:	A526    	LDA $26
C0/5E28:	990104  	STA $0401,Y
C0/5E2B:	990504  	STA $0405,Y
C0/5E2E:	A4DA    	LDY $DA
C0/5E30:	B97F08  	LDA $087F,Y
C0/5E33:	C901    	CMP #$01
C0/5E35:	F009    	BEQ $5E40
C0/5E37:	B98108  	LDA $0881,Y
C0/5E3A:	290E    	AND #$0E
C0/5E3C:	0920    	ORA #$20
C0/5E3E:	8007    	BRA $5E47
C0/5E40:	B98108  	LDA $0881,Y
C0/5E43:	290E    	AND #$0E
C0/5E45:	0960    	ORA #$60
C0/5E47:	A4D4    	LDY $D4
C0/5E49:	994303  	STA $0343,Y
C0/5E4C:	A51A    	LDA $1A
C0/5E4E:	994203  	STA $0342,Y
C0/5E51:	A4DA    	LDY $DA
C0/5E53:	B97F08  	LDA $087F,Y
C0/5E56:	0A      	ASL A
C0/5E57:	0A      	ASL A
C0/5E58:	0A      	ASL A
C0/5E59:	851A    	STA $1A
C0/5E5B:	BE7108  	LDX $0871,Y
C0/5E5E:	F005    	BEQ $5E65
C0/5E60:	B96A08  	LDA $086A,Y
C0/5E63:	8003    	BRA $5E68
C0/5E65:	B96D08  	LDA $086D,Y
C0/5E68:	4A      	LSR A
C0/5E69:	4A      	LSR A
C0/5E6A:	851B    	STA $1B
C0/5E6C:	2906    	AND #$06
C0/5E6E:	18      	CLC
C0/5E6F:	651A    	ADC $1A
C0/5E71:	AA      	TAX
C0/5E72:	A4D4    	LDY $D4
C0/5E74:	A51B    	LDA $1B
C0/5E76:	4A      	LSR A
C0/5E77:	2901    	AND #$01
C0/5E79:	18      	CLC
C0/5E7A:	6522    	ADC $22
C0/5E7C:	994103  	STA $0341,Y
C0/5E7F:	C220    	REP #$20      (16 bit accum./memory)
C0/5E81:	BFB65EC0	LDA $C05EB6,X
C0/5E85:	994603  	STA $0346,Y
C0/5E88:	BFD65EC0	LDA $C05ED6,X
C0/5E8C:	994A03  	STA $034A,Y
C0/5E8F:	BFF65EC0	LDA $C05EF6,X
C0/5E93:	990204  	STA $0402,Y
C0/5E96:	BF165FC0	LDA $C05F16,X
C0/5E9A:	990604  	STA $0406,Y
C0/5E9D:	7B      	TDC 
C0/5E9E:	E220    	SEP #$20      (8 bit accum./memory)
C0/5EA0:	A9EF    	LDA #$EF
C0/5EA2:	990904  	STA $0409,Y
C0/5EA5:	A4DA    	LDY $DA
C0/5EA7:	B96808  	LDA $0868,Y
C0/5EAA:	3007    	BMI $5EB3
C0/5EAC:	A4D4    	LDY $D4
C0/5EAE:	A9EF    	LDA #$EF
C0/5EB0:	994103  	STA $0341,Y
C0/5EB3:	4C345B  	JMP $5B34

C0/5EB6 unknow

C0/5EB6:	AC2FC0  	LDY $C02F
C0/5EC5:	6FA02FA4	ADC $A42FA0
C0/5EC9:	2FA02FA8	AND $A82FA0
C0/5ECD:	2FC82FE0	AND $E02FC8
C0/5ED1:	2FC82FE8	AND $E82FC8
C0/5EDD:	6FC86FE0	ADC $E06FC8
C0/5EE1:	6FC86FE8	ADC $E86FC8
C0/5EE5:	6FA06FA8	ADC $A86FA0
C0/5EE9:	6FA06FA4	ADC $A46FA0
C0/5F05:	6FA22FA6	ADC $A62FA2
C0/5F09:	2FA22FAA	AND $AA2FA2
C0/5F15:	2FAE6FC6	AND $C66FAE
C0/5F19:	6FAE6FC2	ADC $C26FAE
C0/5F25:	6FA26FAA	ADC $AA6FA2
C0/5F29:	6FA26FA6	ADC $A66FA2
C0/5F35:	2FB98F08	AND $088FB9

C0/5F39 unknow

C0/5F39:	AA      	TAX
C0/5F3A:	BF5B5BC0	LDA $C05B5B,X
C0/5F3E:	851A    	STA $1A
C0/5F40:	C220    	REP #$20      (16 bit accum./memory)
C0/5F42:	B96A08  	LDA $086A,Y
C0/5F45:	38      	SEC 
C0/5F46:	E55C    	SBC $5C
C0/5F48:	851E    	STA $1E
C0/5F4A:	18      	CLC
C0/5F4B:	691000  	ADC #$0010
C0/5F4E:	8520    	STA $20
C0/5F50:	B96D08  	LDA $086D,Y
C0/5F53:	18      	CLC
C0/5F54:	E560    	SBC $60
C0/5F56:	38      	SEC 
C0/5F57:	E57F    	SBC $7F
C0/5F59:	38      	SEC 
C0/5F5A:	E90800  	SBC #$0008
C0/5F5D:	8526    	STA $26
C0/5F5F:	E91000  	SBC #$0010
C0/5F62:	8524    	STA $24
C0/5F64:	E90800  	SBC #$0008
C0/5F67:	8522    	STA $22
C0/5F69:	18      	CLC
C0/5F6A:	691E00  	ADC #$001E
C0/5F6D:	E220    	SEP #$20      (8 bit accum./memory)
C0/5F6F:	EB      	XBA
C0/5F70:	F003    	BEQ $5F75
C0/5F72:	4C345B  	JMP $5B34
C0/5F75:	7B      	TDC 
C0/5F76:	A41E    	LDY $1E
C0/5F78:	C02001  	CPY #$0120
C0/5F7B:	9008    	BCC $5F85
C0/5F7D:	C0E0FF  	CPY #$FFE0
C0/5F80:	B003    	BCS $5F85
C0/5F82:	4C345B  	JMP $5B34
C0/5F85:	C220    	REP #$20      (16 bit accum./memory)
C0/5F87:	A5D4    	LDA $D4
C0/5F89:	38      	SEC 
C0/5F8A:	E90C00  	SBC #$000C
C0/5F8D:	85D4    	STA $D4
C0/5F8F:	7B      	TDC 
C0/5F90:	E220    	SEP #$20      (8 bit accum./memory)
C0/5F92:	A4D4    	LDY $D4
C0/5F94:	C220    	REP #$20      (16 bit accum./memory)
C0/5F96:	A51E    	LDA $1E
C0/5F98:	18      	CLC
C0/5F99:	690800  	ADC #$0008
C0/5F9C:	852A    	STA $2A
C0/5F9E:	7B      	TDC 
C0/5F9F:	E220    	SEP #$20      (8 bit accum./memory)
C0/5FA1:	A52A    	LDA $2A
C0/5FA3:	994003  	STA $0340,Y
C0/5FA6:	202167  	JSR $6721
C0/5FA9:	C8      	INY 
C0/5FAA:	C8      	INY 
C0/5FAB:	C8      	INY 
C0/5FAC:	C8      	INY 
C0/5FAD:	C220    	REP #$20      (16 bit accum./memory)
C0/5FAF:	A51E    	LDA $1E
C0/5FB1:	18      	CLC
C0/5FB2:	690800  	ADC #$0008
C0/5FB5:	852A    	STA $2A
C0/5FB7:	7B      	TDC 
C0/5FB8:	E220    	SEP #$20      (8 bit accum./memory)
C0/5FBA:	A52A    	LDA $2A
C0/5FBC:	994003  	STA $0340,Y
C0/5FBF:	202167  	JSR $6721
C0/5FC2:	C8      	INY 
C0/5FC3:	C8      	INY 
C0/5FC4:	C8      	INY 
C0/5FC5:	C8      	INY 
C0/5FC6:	C220    	REP #$20      (16 bit accum./memory)
C0/5FC8:	A51E    	LDA $1E
C0/5FCA:	852A    	STA $2A
C0/5FCC:	7B      	TDC 
C0/5FCD:	E220    	SEP #$20      (8 bit accum./memory)
C0/5FCF:	A52A    	LDA $2A
C0/5FD1:	994003  	STA $0340,Y
C0/5FD4:	202167  	JSR $6721
C0/5FD7:	A4D4    	LDY $D4
C0/5FD9:	C220    	REP #$20      (16 bit accum./memory)
C0/5FDB:	A520    	LDA $20
C0/5FDD:	852A    	STA $2A
C0/5FDF:	7B      	TDC 
C0/5FE0:	E220    	SEP #$20      (8 bit accum./memory)
C0/5FE2:	A52A    	LDA $2A
C0/5FE4:	990004  	STA $0400,Y
C0/5FE7:	204C67  	JSR $674C
C0/5FEA:	C8      	INY 
C0/5FEB:	C8      	INY 
C0/5FEC:	C8      	INY 
C0/5FED:	C8      	INY 
C0/5FEE:	C220    	REP #$20      (16 bit accum./memory)
C0/5FF0:	A51E    	LDA $1E
C0/5FF2:	852A    	STA $2A
C0/5FF4:	7B      	TDC 
C0/5FF5:	E220    	SEP #$20      (8 bit accum./memory)
C0/5FF7:	A52A    	LDA $2A
C0/5FF9:	990004  	STA $0400,Y
C0/5FFC:	204C67  	JSR $674C
C0/5FFF:	C8      	INY 
C0/6000:	C8      	INY 
C0/6001:	C8      	INY 
C0/6002:	C8      	INY 
C0/6003:	C220    	REP #$20      (16 bit accum./memory)
C0/6005:	A520    	LDA $20
C0/6007:	852A    	STA $2A
C0/6009:	7B      	TDC 
C0/600A:	E220    	SEP #$20      (8 bit accum./memory)
C0/600C:	A52A    	LDA $2A
C0/600E:	990004  	STA $0400,Y
C0/6011:	204C67  	JSR $674C
C0/6014:	A4D4    	LDY $D4
C0/6016:	A524    	LDA $24
C0/6018:	994903  	STA $0349,Y
C0/601B:	990104  	STA $0401,Y
C0/601E:	A526    	LDA $26
C0/6020:	990504  	STA $0405,Y
C0/6023:	990904  	STA $0409,Y
C0/6026:	A4DA    	LDY $DA
C0/6028:	B97F08  	LDA $087F,Y
C0/602B:	C901    	CMP #$01
C0/602D:	F009    	BEQ $6038
C0/602F:	B98108  	LDA $0881,Y
C0/6032:	290E    	AND #$0E
C0/6034:	0920    	ORA #$20
C0/6036:	8007    	BRA $603F
C0/6038:	B98108  	LDA $0881,Y
C0/603B:	290E    	AND #$0E
C0/603D:	0960    	ORA #$60
C0/603F:	A4D4    	LDY $D4
C0/6041:	994303  	STA $0343,Y
C0/6044:	994703  	STA $0347,Y
C0/6047:	A51A    	LDA $1A
C0/6049:	994203  	STA $0342,Y
C0/604C:	1A      	INC A
C0/604D:	1A      	INC A
C0/604E:	994603  	STA $0346,Y
C0/6051:	A4DA    	LDY $DA
C0/6053:	B97F08  	LDA $087F,Y
C0/6056:	0A      	ASL A
C0/6057:	AA      	TAX
C0/6058:	A4D4    	LDY $D4
C0/605A:	A522    	LDA $22
C0/605C:	994103  	STA $0341,Y
C0/605F:	18      	CLC
C0/6060:	6910    	ADC #$10
C0/6062:	994503  	STA $0345,Y
C0/6065:	C220    	REP #$20      (16 bit accum./memory)
C0/6067:	BF9A60C0	LDA $C0609A,X
C0/606B:	994A03  	STA $034A,Y
C0/606E:	BFA260C0	LDA $C060A2,X
C0/6072:	990204  	STA $0402,Y
C0/6075:	BFAA60C0	LDA $C060AA,X
C0/6079:	990604  	STA $0406,Y
C0/607C:	BFB260C0	LDA $C060B2,X
C0/6080:	990A04  	STA $040A,Y
C0/6083:	7B      	TDC 
C0/6084:	E220    	SEP #$20      (8 bit accum./memory)
C0/6086:	A4DA    	LDY $DA
C0/6088:	B96808  	LDA $0868,Y
C0/608B:	300A    	BMI $6097
C0/608D:	A4D4    	LDY $D4
C0/608F:	A9EF    	LDA #$EF
C0/6091:	994103  	STA $0341,Y
C0/6094:	994503  	STA $0345,Y
C0/6097:	4C345B  	JMP $5B34