Mercurial > hg > Members > kono > nitros9-code
changeset 2915:a7c66ffbec7c
Demystify string character calculation involving DNum or ITDRV
Just make this calculation easier to understand and
consistent over all files.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 12 Jan 2014 10:11:41 +0100 |
parents | f1fba5550fee |
children | 56f26b87fa8a |
files | 3rdparty/drivers/ide/idedesc.asm 3rdparty/drivers/mmc/mmcdesc.asm 3rdparty/fmgrs/msf/msfdesc.asm level1/modules/dwdesc.asm level1/modules/rfmdesc.asm level1/modules/superdesc.asm |
diffstat | 6 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/3rdparty/drivers/ide/idedesc.asm Sun Jan 12 01:40:58 2014 +0100 +++ b/3rdparty/drivers/ide/idedesc.asm Sun Jan 12 10:11:41 2014 +0100 @@ -94,7 +94,7 @@ name fcs /DD/ ELSE name fcc /H/ - fcb ITDRV+$B0 + fcb '0+ITDRV+$80 ENDC mgrnam fcs /RBF/ drvnam fcs /CCIDE/
--- a/3rdparty/drivers/mmc/mmcdesc.asm Sun Jan 12 01:40:58 2014 +0100 +++ b/3rdparty/drivers/mmc/mmcdesc.asm Sun Jan 12 10:11:41 2014 +0100 @@ -95,7 +95,7 @@ name fcs /DD/ else name fcc /H/ - fcb ITDRV+$B0 + fcb '0+ITDRV+$80 endc mgrnam fcs /RBF/ drvnam fcs /MMCDRV/
--- a/3rdparty/fmgrs/msf/msfdesc.asm Sun Jan 12 01:40:58 2014 +0100 +++ b/3rdparty/fmgrs/msf/msfdesc.asm Sun Jan 12 10:11:41 2014 +0100 @@ -24,9 +24,9 @@ optB equ * IFEQ density&%100 ..not hi density -namB fcb dnam,DNum+48+%10000000 device name +namB fcb dnam,'0+DNum+$80 device name ELSE -namB fcb dnam,'H,DNum+48+%10000000 add H to device name +namB fcb dnam,'H,'0+DNum+$80 add H to device name ENDC mgrB fcs /MSF/
--- a/level1/modules/dwdesc.asm Sun Jan 12 01:40:58 2014 +0100 +++ b/level1/modules/dwdesc.asm Sun Jan 12 10:11:41 2014 +0100 @@ -59,7 +59,7 @@ name fcs /DD/ ELSE name fcc /X/ - fcb 176+DNum + fcb '0+DNum+$80 ENDC mgrnam fcs /RBF/ drvnam fcs /rbdw/
--- a/level1/modules/rfmdesc.asm Sun Jan 12 01:40:58 2014 +0100 +++ b/level1/modules/rfmdesc.asm Sun Jan 12 10:11:41 2014 +0100 @@ -39,7 +39,7 @@ name fcs /DD/ ELSE name fcc /Y/ - fcb 176+DNum + fcb '0+DNum+$80 ENDC mgrnam fcs /RFM/
--- a/level1/modules/superdesc.asm Sun Jan 12 01:40:58 2014 +0100 +++ b/level1/modules/superdesc.asm Sun Jan 12 10:11:41 2014 +0100 @@ -165,7 +165,7 @@ IFNE NULL name FCC /NULL/ - FCB ITDRV+$B0 + FCB '0+ITDRV+$80 ELSE IFNE DD name FCS /DD/ @@ -175,7 +175,7 @@ IFNE HB FCS /H/ ELSE - FCB ITDRV+$B0 + FCB '0+ITDRV+$80 ENDC ELSE IFNE IDE @@ -183,7 +183,7 @@ IFNE HB FCS /H/ ELSE - FCB ITDRV+$B0 + FCB '0+ITDRV+$80 ENDC ELSE IFNE COCOSDC @@ -191,14 +191,14 @@ IFNE HB FCS /H/ ELSE - FCB ITDRV+$B0 + FCB '0+ITDRV+$80 ENDC ELSE name FCC /S/ IFNE HB FCS /H/ ELSE - FCB ITDRV+$B0 + FCB '0+ITDRV+$80 ENDC ENDC ENDC