OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [monitor/] [monitor/] [common/] [dskctl.s] - Diff between revs 183 and 184

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 183 Rev 184
Line 20... Line 20...
 
 
        .set    sctsize,512             ; sector size in bytes
        .set    sctsize,512             ; sector size in bytes
 
 
        .set    retries,1000000         ; retries to get disk ready
        .set    retries,1000000         ; retries to get disk ready
 
 
        .export dskinit                 ; initialize disk
        .export dskinitctl              ; initialize disk
        .export dskcapctl               ; determine disk capacity
        .export dskcapctl               ; determine disk capacity
        .export dskioctl                ; do disk I/O
        .export dskioctl                ; do disk I/O
 
 
;***************************************************************
;***************************************************************
 
 
        .code
        .code
        .align  4
        .align  4
 
 
dskinit:
dskinitctl:
        jr      $31
        jr      $31
 
 
dskcapctl:
dskcapctl:
        add     $8,$0,retries            ; set retry count
        add     $8,$0,retries            ; set retry count
        add     $9,$0,dskbase
        add     $9,$0,dskbase

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.