Prev: FC00 Up: Map
FD00: Unused TRS-DOS code
FD00 ADD HL,BC
FD01 LD A,(DE)
FD02 CP $3B
FD04 JR Z,$FCD0
FD06 CP $0D
FD08 JR Z,$FCD0
FD0A PUSH HL
FD0B LD HL,$7800
FD0E LD B,$02
FD10 CALL $659E
FD13 POP BC
FD14 JR NC,$FD1C
FD16 LD DE,$67B3
FD19 JP $6459
FD1C CALL $754A
FD1F JR NZ,$FD16
FD21 CALL $5BB4
FD24 CALL NZ,$5BED
FD27 LD E,(HL)
FD28 INC HL
FD29 LD A,(HL)
FD2A LD ($542E),A
FD2D LD A,($5433)
FD30 OR A
FD31 JR Z,$FD43
FD33 LD A,E
FD34 CP $20
FD36 JR C,$FD3C
FD38 CP $25
FD3A JR C,$FD43
FD3C LD A,($5306)
FD3F OR A
FD40 JP Z,$6BE4
FD43 LD HL,$7A30
FD46 LD D,$00
FD48 ADD HL,DE
FD49 ADD HL,DE
FD4A LD A,(HL)
FD4B INC HL
FD4C LD H,(HL)
FD4D LD L,A
FD4E LD A,E
FD4F LD DE,$7557
FD52 EX DE,HL
FD53 EX (SP),HL
FD54 EX DE,HL
FD55 PUSH HL
FD56 INC C
FD57 DEC C
FD58 RET Z
FD59 CP $18
FD5B LD A,$01
FD5D LD HL,($5434)
FD60 RET NC
FD61 PUSH HL
FD62 PUSH AF
FD63 LD HL,($5441)
FD66 LD B,$02
FD68 CALL $659E
FD6B JR NC,$FDA4
FD6D PUSH DE
FD6E PUSH BC
FD6F CALL $7787
FD72 LD HL,($5441)
FD75 LD A,C
FD76 ADD A,B
FD77 INC A
FD78 LD C,A
FD79 XOR A
FD7A LD B,A
FD7B SBC HL,BC
FD7D RST $18
FD7E JR NC,$FD91
FD80 LD HL,$681C
FD83 PUSH HL
FD84 LD A,($5312)
FD87 OR A
FD88 JR Z,$FD8D
FD8A CALL $7771
FD8D POP HL
FD8E JP $5792
FD91 LD ($5441),HL
FD94 POP BC
FD95 POP DE
FD96 PUSH BC
FD97 LD (HL),C
FD98 EX DE,HL
FD99 INC DE
FD9A LD B,$00
FD9C LDIR
FD9E EX DE,HL
FD9F LD (HL),B
FDA0 INC HL
FDA1 LD (HL),B
FDA2 DEC HL
FDA3 POP BC
FDA4 POP DE
FDA5 PUSH HL
FDA6 XOR A
FDA7 LD B,A
FDA8 INC BC
FDA9 SBC HL,BC
FDAB LD A,($543E)
FDAE CP $02
FDB0 JR NZ,$FDB9
FDB2 LD A,($56C3)
FDB5 OR A
FDB6 CALL NZ,$6D20
FDB9 INC D
FDBA DEC D
FDBB JR NZ,$FDD6
FDBD LD A,(HL)
FDBE AND $80
FDC0 LD DE,$683D
FDC3 CALL Z,$645E
FDC6 LD A,(HL)
FDC7 AND $40
FDC9 LD DE,$6805
FDCC CALL NZ,$645E
FDCF POP HL
FDD0 LD A,(HL)
FDD1 INC HL
FDD2 LD H,(HL)
FDD3 LD L,A
FDD4 POP DE
FDD5 RET
FDD6 LD A,(HL)
FDD7 OR A
FDD8 JP P,$6D12
FDDB LD A,D
FDDC EX (SP),HL
FDDD POP BC
FDDE POP DE
FDDF PUSH DE
FDE0 PUSH HL
FDE1 PUSH AF
FDE2 LD A,(HL)
FDE3 INC HL
FDE4 LD H,(HL)
FDE5 LD L,A
FDE6 RST $18
FDE7 POP DE
FDE8 JR Z,$FE06
FDEA LD A,(BC)
FDEB AND $5F
FDED DEFB $45,$5F,$45,$FF,$45,$5F,$45,$5F,$45,$5F,$45,$5F,$45,$5F,$45,$5F
FDFD DEFB $45,$91,$35,$D2,$44,$A1,$42,$79,$44,$54,$00,$7A,$44,$BD,$44,$45
FE0D DEFB $01,$00,$43,$F5,$FE,$04,$4F,$00,$43,$89,$47,$67,$72,$00,$00,$6F
FE1D DEFB $49,$26,$4D,$00,$4C,$00,$43,$36,$4D,$CC,$4C,$99,$4C,$BF,$64,$41
FE2D DEFB $4C,$01,$53,$2B,$53,$78,$1D,$E6,$4B,$2D,$53,$1E,$1D,$00,$00,$00
FE3D DEFB $7A,$44,$BD,$44,$45,$01,$00,$43,$F5,$FE,$04,$4F,$00,$43,$89,$47
FE4D DEFB $67,$72,$00,$00,$6F,$49,$26,$4D,$00,$4C,$4A,$6D,$2B,$60,$E8,$5E
FE5D DEFB $42,$00,$28,$60,$4A,$6D,$0E,$5F,$2C,$00,$47,$6D,$8F,$1B,$46,$54
FE6D DEFB $00,$00,$00,$18,$62,$FF,$FF,$06
FE75 DEFM "TRSHDx"
FE7B LD HL,$4448
FE7E LD ($3C3E),HL
FE81 LD A,$10
FE83 OUT ($C1),A
FE85 LD B,$40
FE87 CALL $0060
FE8A LD HL,$8080
FE8D LD ($3C3E),HL
FE90 LD A,$0C
FE92 OUT ($C1),A
FE94 EX (SP),HL
FE95 EX (SP),HL
FE96 IN A,($CF)
FE98 CP $50
FE9A JR NZ,$FE7B
FE9C XOR A
FE9D OUT ($CE),A
FE9F LD A,$10
FEA1 OUT ($CF),A
FEA3 LD B,$32
FEA5 CALL $0060
FEA8 IN A,($CF)
FEAA BIT 7,A
FEAC JR NZ,$FEA8
FEAE BIT 0,A
FEB0 JR NZ,$FE7B
FEB2 RET
FEB3 DEFB $00,$00
FEB5 DEFM "TRSHDx(C) Copyright 1982 by LSI"
FED4 LD A,$07
FED6 CP B
FED7 JR Z,$FF1D
FED9 BIT 3,B
FEDB JR NZ,$FEDF
FEDD XOR A
FEDE RET
FEDF BIT 2,B
FEE1 PUSH HL
FEE2 JR NZ,$FF14
FEE4 BIT 1,B
FEE6 JR Z,$FEEB
FEE8 LD HL,$0000
FEEB PUSH DE
FEEC CALL $FF92
FEEF LD A,$20
FEF1 OUT ($CF),A
FEF3 EX (SP),HL
FEF4 EX (SP),HL
FEF5 IN A,($CF)
FEF7 RLCA
FEF8 JR C,$FEF5
FEFA LD BC,$00C8
FEFD INIR
FEFF IN A,($CF)
FF01 RRCA
FF02 LD HL,$FF81
FF05 JR C,$FF4D
FF07 POP DE
FF08 PUSH DE
FF09 LD A,D
FF0A CP (IY+$09)
FF0D LD A,$06
FF0F JR Z,$FF54
FF11 XOR A
FF12 JR $FF54
FF14 CALL $FF1D
FF17 JR Z,$FF34
FF19 POP HL
FF1A LD A,$0F
FF1C RET
FF1D LD A,(IY+$03)
FF20 AND $03
FF22 LD C,A
FF23 IN A,($C0)
FF25 CALL C,$0D07
FF28 JR NZ,$FF26
FF2A OR (IY+$03)
FF2D BIT 7,A
FF2F LD A,$40
FF31 RET NZ
FF32 XOR A
FF33 RET
FF34 PUSH DE
FF35 LD A,B
FF36 CP $0F
FF38 JR Z,$FF58
FF3A CP $0C
FF3C LD A,$08
FF3E JR Z,$FF54
FF40 CALL $FF92
FF43 LD A,$30
FF45 CALL $FFDA
FF48 JR Z,$FF54
FF4A LD HL,$FF89
FF4D IN A,($C9)
FF4F RLCA
FF50 INC HL
FF51 JR NC,$FF4F
FF53 LD A,(HL)
FF54 OR A
FF55 POP DE
FF56 POP HL
FF57 RET
FF58 LD A,(IY+$07)
FF5B LD B,A
FF5C AND $1F
FF5E LD E,A
FF5F XOR B
FF60 RLCA
FF61 RLCA
FF62 RLCA
FF63 INC A
FF64 LD B,A
FF65 PUSH BC
FF66 PUSH DE
FF67 CALL $FF92
FF6A PUSH HL
FF6B LD A,(HL)
FF6C OUT ($CA),A
FF6E INC HL
FF6F LD A,$50
FF71 CALL $FFDA
FF74 POP HL
FF75 POP DE
FF76 POP BC
FF77 JR NZ,$FF4A
FF79 LD A,$20
FF7B ADD A,E
FF7C LD E,A
FF7D DJNZ $FF65
FF7F XOR A
FF80 JR $FF54
FF82 DEFB $07,$04,$01,$05,$7F,$08,$02,$03
FF8A DEFB $0E,$0C,$09,$0D,$7F,$08,$0A,$0B
FF92 PUSH HL
FF93 LD L,D
FF94 LD H,$00
FF96 BIT 5,(IY+$04)
FF9A JR Z,$FF9D
FF9C ADD HL,HL
FF9D LD A,(IY+$07)
FFA0 PUSH DE
FFA1 LD D,A
FFA2 AND $1F
FFA4 LD E,A
FFA5 INC E
FFA6 LD C,E
FFA7 XOR D
FFA8 RLCA
FFA9 RLCA
FFAA RLCA
FFAB INC A
FFAC CALL $4B6B
FFAF DEC A
FFB0 POP DE
FFB1 CP E
FFB2 JR NC,$FFB8
FFB4 CPL
FFB5 ADD A,E
FFB6 LD E,A
FFB7 INC HL
FFB8 LD A,C
FFB9 CALL $4B7A
FFBC LD D,A
FFBD LD A,(IY+$04)
FFC0 AND $0F
FFC2 ADD A,D
FFC3 LD D,A
FFC4 LD A,(IY+$03)
FFC7 AND $03
FFC9 RLCA
FFCA RLCA
FFCB RLCA
FFCC OR D
FFCD OUT ($CE),A
FFCF LD A,E
FFD0 OUT ($CB),A
FFD2 LD A,L
FFD3 OUT ($CC),A
FFD5 LD A,H
FFD6 OUT ($CD),A
FFD8 POP HL
FFD9 RET
FFDA OUT ($CF),A
FFDC LD BC,$00C8
FFDF OTIR
FFE1 EX (SP),HL
FFE2 EX (SP),HL
FFE3 IN A,($CF)
FFE5 RLCA
FFE6 JR C,$FFE3
FFE8 IN A,($CF)
FFEA AND $01
FFEC RET
FFED DEFS $13
Prev: FC00 Up: Map