changeset 1636:fa494f2dca9a

mfree.asm: some minor comments and additions grfdrv.asm: 6809 scroll code now runs faster
author boisy
date Mon, 12 Jul 2004 18:35:26 +0000
parents 8621ecec7368
children d6f639eb9a0f
files level2/cmds/grfdrv.asm level2/cmds/mfree.asm level2/coco3/ChangeLog level2/coco3/bootlists/standard.bl level2/coco3_6309/ChangeLog level2/coco3_6309/bootlists/standard.bl
diffstat 6 files changed, 81 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/level2/cmds/grfdrv.asm	Mon Jul 12 18:33:54 2004 +0000
+++ b/level2/cmds/grfdrv.asm	Mon Jul 12 18:35:26 2004 +0000
@@ -4315,10 +4315,15 @@
          pshs  d,x,u
          tfr   x,u
          tfr   d,x
-L1267b   lda   ,u+
-         sta   ,y+
-         leax  -1,x
+L1267b   pulu  d
+*L1267b   ldd   ,u++
+         std   ,y++
+         leax  -2,x
          bne   L1267b
+*L1267b   lda   ,u+
+*         sta   ,y+
+*         leax  -1,x
+*         bne   L1267b
          stx   <$B5
          stu   2,s
          puls  d,x,u
--- a/level2/cmds/mfree.asm	Mon Jul 12 18:33:54 2004 +0000
+++ b/level2/cmds/mfree.asm	Mon Jul 12 18:35:26 2004 +0000
@@ -36,7 +36,7 @@
 u0009    rmb   1
 u000A    rmb   1
 u000B    rmb   2
-u000D    rmb   80
+linebuf  rmb   80
 u005D    rmb   7
 u0064    rmb   132
 u00E8    rmb   1135
@@ -45,17 +45,16 @@
 name     fcs   /Mfree/
          fcb   edition
 
-L0013    fcs   " Blk Begin   End   Blks  Size"
+Hdr      fcs   " Blk Begin   End   Blks  Size"
          fcs   " --- ------ ------ ---- ------"
-L004E    fcs   "                   ==== ======"
-         fcc   "            Total:"
-         fcb   $A0 
+Ftr      fcs   "                   ==== ======"
+         fcs   "            Total: "
 
-start    leax  u000D,u
+start    leax  linebuf,u		get line buffer address
          stx   <u0009
          stx   <u000B
          lbsr  L016E
-         leay  <L0013,pcr
+         leay  <Hdr,pcr
          lbsr  L0183
          lbsr  L016E
          lbsr  L0183
@@ -114,7 +113,7 @@
          std   <u0000
          bsr   L016E
          bra   L00AA
-L0109    leay  >L004E,pcr
+L0109    leay  >Ftr,pcr
          bsr   L0183
          bsr   L016E
          bsr   L0183
@@ -166,12 +165,13 @@
          sta   ,x+
          stx   <u000B
          puls  pc,x
+
 L016E    pshs  y,x,a
-         lda   #$0D
+         lda   #C$CR
          bsr   L0164
          ldx   <u0009
          stx   <u000B
-         ldy   #$0050
+         ldy   #80
          lda   #$01
          os9   I$WritLn 
          puls  pc,y,x,a
@@ -181,8 +181,10 @@
          tst   ,y+
          bpl   L0183
          rts   
-L018E    fdb   $2710,$03e8,$0064,$000a,$0001
-         fcb   $ff
+
+DecTbl   fdb   10000,1000,100,10,1
+         fcb   $FF
+
 L0199    pshs  y,x,b,a
          lda   <u0004
          pshs  a
@@ -195,9 +197,9 @@
 L01A9    lsr   ,s
          bne   L01A7
          leas  1,s
-         leax  <L018E,pcr
+         leax  <DecTbl,pcr
          ldy   #$2F20
-L01B6    leay  >$0100,y
+L01B6    leay  >256,y
          subd  ,x
          bcc   L01B6
          addd  ,x++
@@ -206,15 +208,15 @@
          tst   ,x
          bmi   L01DE
          ldy   #$2F30
-         cmpd  #$3020
+         cmpd  #'0*256+C$SPAC
          bne   L01D8
          ldy   #$2F20
-         lda   #$20
+         lda   #C$SPAC
 L01D8    bsr   L0164
          puls  b,a
          bra   L01B6
 L01DE    bsr   L0164
-         lda   #$6B
+         lda   #'k
          bsr   L0164
          leas  $02,s
          puls  pc,y,x,b,a
--- a/level2/coco3/ChangeLog	Mon Jul 12 18:33:54 2004 +0000
+++ b/level2/coco3/ChangeLog	Mon Jul 12 18:35:26 2004 +0000
@@ -7,6 +7,10 @@
   rb1773_scii_ff74.dr and rb1773_scii_ff58.dr.
 - grfint.io now exists and can be used to replace windint.io in bootfiles where
   Multi-Vue windowing functionality is not needed, in order to save system RAM.
+- Changes in scf and grfdrv have resulted in faster text screen performance under
+  NitrOS-9/6809 Level 2.
+- A bug related to system memory allocation and DAT blocks has been fixed in krn.
+- ioman now properly unlinks a device descriptor at I$Detach time.
 - The pmap command has several bug fixes.
 - The copy command now has write verification with -v.
 - term_t1.dd has been renamed to term_sio.dd and term_sc6551.dd has been added.
--- a/level2/coco3/bootlists/standard.bl	Mon Jul 12 18:33:54 2004 +0000
+++ b/level2/coco3/bootlists/standard.bl	Mon Jul 12 18:35:26 2004 +0000
@@ -31,6 +31,29 @@
 *../MODULES/RBF/x2.dd
 *../MODULES/RBF/x3.dd  
 *
+* SuperDriver Package (Cloud-9 product)
+*../MODULES/RBF/rbsuper.dr
+* Select Low level SCSI and/or IDE driver
+*../MODULES/RBF/lltc3.dr
+*../MODULES/RBF/llide.dr
+* SuperDriver descriptors - select as needed
+* SCSI descriptors (IDs 0-7)
+*../MODULES/RBF/s0_tc3.dd
+*../MODULES/RBF/s1_tc3.dd
+*../MODULES/RBF/s2_tc3.dd
+*../MODULES/RBF/s3_tc3.dd
+*../MODULES/RBF/s4_tc3.dd
+*../MODULES/RBF/s5_tc3.dd
+*../MODULES/RBF/s6_tc3.dd
+*../MODULES/RBF/s7_tc3.dd
+* SCSI HDB-DOS descriptor for drive 255
+*../MODULES/RBF/sh_ide_255.dd
+* IDE descriptors (master/slave)
+*../MODULES/RBF/i0_ide.dd
+*../MODULES/RBF/i1_ide.dd
+* IDE HDB-DOS descriptor for drive 255
+*../MODULES/RBF/ih_ide_255.dd
+*
 * SuperSCSI drivers (Cloud-9 product)
 * Select SCSI driver for TC^3, Ken-Ton or Disto Controller
 *../MODULES/RBF/superscsi_tc3.dr
--- a/level2/coco3_6309/ChangeLog	Mon Jul 12 18:33:54 2004 +0000
+++ b/level2/coco3_6309/ChangeLog	Mon Jul 12 18:35:26 2004 +0000
@@ -7,6 +7,10 @@
   rb1773_scii_ff74.dr and rb1773_scii_ff58.dr.
 - grfint.io now exists and can be used to replace windint.io in bootfiles where
   Multi-Vue windowing functionality is not needed, in order to save system RAM.
+- Changes in scf and grfdrv have resulted in faster text screen performance under
+  NitrOS-9/6809 Level 2.
+- A bug related to system memory allocation and DAT blocks has been fixed in krn.
+- ioman now properly unlinks a device descriptor at I$Detach time.
 - The pmap command has several bug fixes.
 - The copy command now has write verification with -v.
 - term_t1.dd has been renamed to term_sio.dd and term_sc6551.dd has been added.
--- a/level2/coco3_6309/bootlists/standard.bl	Mon Jul 12 18:33:54 2004 +0000
+++ b/level2/coco3_6309/bootlists/standard.bl	Mon Jul 12 18:35:26 2004 +0000
@@ -31,6 +31,29 @@
 *../MODULES/RBF/x2.dd
 *../MODULES/RBF/x3.dd  
 *
+* SuperDriver Package (Cloud-9 product)
+*../MODULES/RBF/rbsuper.dr
+* Select Low level SCSI and/or IDE driver
+*../MODULES/RBF/lltc3.dr
+*../MODULES/RBF/llide.dr
+* SuperDriver descriptors - select as needed
+* SCSI descriptors (IDs 0-7)
+*../MODULES/RBF/s0_tc3.dd
+*../MODULES/RBF/s1_tc3.dd
+*../MODULES/RBF/s2_tc3.dd
+*../MODULES/RBF/s3_tc3.dd
+*../MODULES/RBF/s4_tc3.dd
+*../MODULES/RBF/s5_tc3.dd
+*../MODULES/RBF/s6_tc3.dd
+*../MODULES/RBF/s7_tc3.dd
+* SCSI HDB-DOS descriptor for drive 255
+*../MODULES/RBF/sh_ide_255.dd
+* IDE descriptors (master/slave)
+*../MODULES/RBF/i0_ide.dd
+*../MODULES/RBF/i1_ide.dd
+* IDE HDB-DOS descriptor for drive 255
+*../MODULES/RBF/ih_ide_255.dd
+*
 * SuperSCSI drivers (Cloud-9 product)
 * Select SCSI driver for TC^3, Ken-Ton or Disto Controller
 *../MODULES/RBF/superscsi_tc3.dr