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

Subversion Repositories eco32

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

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

Rev 183 Rev 184
Line 2... Line 2...
; dskser.s -- disk made available by serial interface
; dskser.s -- disk made available by serial interface
;
;
 
 
;***************************************************************
;***************************************************************
 
 
 
        .export dskinitser              ; initialize disk
        .export dskcapser               ; determine disk capacity
        .export dskcapser               ; determine disk capacity
        .export dskioser                ; do disk I/O
        .export dskioser                ; do disk I/O
 
 
        .import ser1in
        .import ser1in
        .import ser1out
        .import ser1out
Line 23... Line 24...
;***************************************************************
;***************************************************************
 
 
        .code
        .code
        .align  4
        .align  4
 
 
 
dskinitser:
 
        jr      $31
 
 
dskcapser:
dskcapser:
        sub     $29,$29,16
        sub     $29,$29,16
        stw     $16,$29,0
        stw     $16,$29,0
        stw     $17,$29,4
        stw     $17,$29,4
        stw     $18,$29,8
        stw     $18,$29,8

powered by: WebSVN 2.1.0

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