# HG changeset patch # User Neal Crook # Date 1491512937 -3600 # Node ID 29885731c4bb4bec922c041505f50a312b9d6ef7 # Parent c44cd20907bd365ecd83fa20cd8a657c36e56304 ioman.asm: Delete trailing whitespace and tabs (no functional change) Add comments and vertical whitespace for readability. diff -r c44cd20907bd -r 29885731c4bb level2/modules/ioman.asm --- a/level2/modules/ioman.asm Thu Apr 06 22:04:46 2017 +0100 +++ b/level2/modules/ioman.asm Thu Apr 06 22:08:57 2017 +0100 @@ -33,84 +33,84 @@ * Fixed bug where device descriptor wasn't being unlinked when V$USRS > 0 * due to the value in X not being loaded. - nam IOMan + nam IOMan ttl NitrOS-9 Level 2 I/O Manager module * Disassembled 02/04/29 23:10:07 by Disasm v1.6 (C) 1988 by RML - IFP1 - use defsfile - ENDC + IFP1 + use defsfile + ENDC tylg set Systm+Objct -atrv set ReEnt+rev -rev set $05 -edition set 13 +atrv set ReEnt+rev +rev set $05 +edition set 13 mod eom,name,tylg,atrv,start,size -u0000 rmb 0 -size equ . +u0000 rmb 0 +size equ . -name fcs /IOMan/ - fcb edition +name fcs /IOMan/ + fcb edition -start ldx IRQPoll,pcr point to polling routine - stx IRQPoll,pcr point to polling routine + stx $FFFE] ENDC @@ -127,31 +127,31 @@ * * System service routine vector table * -IOCalls fcb $7F - fdb UsrIO-*-2 - fcb F$Load - fdb FLoad-*-2 +IOCalls fcb $7F + fdb UsrIO-*-2 + fcb F$Load + fdb FLoad-*-2 IFGT Level-1 - fcb I$Detach + fcb I$Detach fdb IDetach0-*-2 ENDC - fcb F$PErr - fdb FPErr-*-2 + fcb F$PErr + fdb FPErr-*-2 fcb F$IOQu+$80 - fdb FIOQu-*-2 - fcb $FF - fdb SysIO-*-2 - fcb F$IRQ+$80 - fdb FIRQ-*-2 + fdb FIOQu-*-2 + fcb $FF + fdb SysIO-*-2 + fcb F$IRQ+$80 + fdb FIRQ-*-2 fcb F$IODel+$80 fdb FIODel-*-2 IFGT Level-1 - fcb F$NMLink + fcb F$NMLink fdb FNMLink-*-2 - fcb F$NMLoad + fcb F$NMLoad fdb FNMLoad-*-2 ENDC - fcb $80 + fcb $80 ****************************** * @@ -159,31 +159,31 @@ * * Entry: U = Callers register stack pointer * -FIODel ldx R$X,u get address of module - ldu $2000,y - bne L0209 + bne L021D + sty $2000,y + bne L0209 ldb #E$NoRAM - IFNE H6309 - cmpr 0,u - ELSE - cmpu #$0000 - ENDC - lbeq L015C - ldd