====== XMODE ====== Header for : Xmode Module size: $380 #896 Module CRC : $183908 (Good) Hdr parity : $AB Exec. off : $012D #301 Data size : $0241 #577 Edition : $01 #1 Ty/La At/Rv: $11 $81 Prog mod, 6809 Obj, re-ent, R/O ===== CODE ===== * Disassembly by Os9disasm of xmode mod L0380,L000d,$11,$81,L012d,D0241 * OS-9 system function equates F$Link equ $00 F$UnLink equ $02 F$Exit equ $06 F$CRC equ $17 I$WritLn equ $8c * class D external label equates Dfff1 equ $fff1 Dfffe equ $fffe Dffff equ $ffff * OS9 data area definitions D0000 rmb 1 D0001 rmb 1 D0002 rmb 1 D0003 rmb 1 D0004 rmb 1 D0005 rmb 1 D0006 rmb 1 D0007 rmb 1 D0008 rmb 1 D0009 rmb 2 D000b rmb 2 D000d rmb 3 D0010 rmb 2 D0012 rmb 1 D0013 rmb 49 D0044 rmb 29 D0061 rmb 1 D0062 rmb 3 D0065 rmb 12 D0071 rmb 1 D0072 rmb 2 D0074 rmb 461 D0241 equ . L000d lslb tst 15,s lsr b,s fcb $01 L0013 fcb $55 com $653a bra L0071 tst 15,s lsr 5,s bra L005b ble L0085 fcb $65 ror $6963 fcb $65 fcb $3e bra L0084 clr -16,s lsr $696f jmp -13,s tstb dec D0074 fcb $6f bra L0099 asl 1,s jmp 7,s fcb $65 bra L00a1 fcb $65 ror $2064 fcb $65 com $6372 rol -16,s lsr $6f72 tst D0044 L004b equ *-1 fcb $65 com $6372 rol -16,s lsr $6f72 bra L00cb clr 15,s bra L00ce L005b tst 1,s inc 12,s bra L00d5 fcb $6f bra L00c7 asl 1,s jmp 7,s fcb $65 bgt L0078 L006b comb rol $6e74 fcb $61 asl $2045 L0071 equ *-2 fcb $72 fcb $72 clr -14,s bge L0099 L0078 equ *-1 com 15,s fcb $75 inc 4,s jmp D0007,y lsr $2070 fcb $72 L0084 clr 3,s L0085 equ *-1 fcb $65 com 29498 tst D0000 fcb $15 L008d stu $0101 fcb $01 fcb $75 neg $e3ff fcb $01 fcb $02 fcb $01 fcb $62 L0099 com $e2ff neg D0003 neg D0062 com $ecff L00a1 equ *-2 fcb $01 lsr D0001 fcb $65 com 8,s fcb $ef stu $0105 fcb $01 inc a,s neg D0000 ror D0000 jmp -11,s inc ===== RTS ===== Return to [[:OS-9:]] or [[:Top:]]