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

Subversion Repositories System09

[/] [System09/] [trunk/] [src/] [Flex9/] [f9-monex.asm] - Diff between revs 66 and 120

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

Rev 66 Rev 120
Line 1... Line 1...
*
*
** FLEX 9 DISK DRIVERS
** FLEX 9 DISK DRIVERS
*
*
* FOR SYS09BUG ON THE DIGILENT SPARTAN 3 STARTER BOARD
* FOR SYS09BUG ON THE DIGILENT SPARTAN 3 STARTER BOARD
 
* AND THE TERASIC CYCLONE 2 DE1 BOARD
* WITH I/O MAPPED AT $XE000
* WITH I/O MAPPED AT $XE000
* AND ROM MAPPED AT $XF000
* AND ROM MAPPED AT $XF000
* THE DIGILENT SPARTAN 3 STARTER BOARD HAS 1MBYTE OF SRAM
* THE DIGILENT SPARTAN 3 STARTER BOARD HAS 1MBYTE OF SRAM
 
* THE TERASIC CYCLONE 2 DE1 BOARD HAS 512KB OF SRAM
* THE FIRST 64K IS USED BY FLEX,
* THE FIRST 64K IS USED BY FLEX,
* THE SECOND 128K IS USED AS A ROM DISK
* THE SECOND 128K IS USED AS A ROM DISK
* THE REMAINING RAM IS USED FOR A RAM DISK
* THE REMAINING RAM IS USED FOR A RAM DISK
*
*
*
*
Line 41... Line 43...
EMAXSEC EQU 14     ROM DISK
EMAXSEC EQU 14     ROM DISK
EMAXTRK EQU 48     3  * 16 * 14 * 256 = 172,032 Bytes
EMAXTRK EQU 48     3  * 16 * 14 * 256 = 172,032 Bytes
ETOTSEC EQU EMAXTRK*EMAXSEC-EMAXSEC
ETOTSEC EQU EMAXTRK*EMAXSEC-EMAXSEC
*
*
RMAXSEC EQU 14     RAM DISK
RMAXSEC EQU 14     RAM DISK
RMAXTRK EQU 192    12 * 16 * 14 * 256 = 688,128 Bytes
* RMAXTRK EQU 192     12 * 16 * 256 = 688,128 Bytes (Spartan 3 starter with 1MB)
 
RMAXTRK EQU 64     4 * 16 * 14 * 256 = 229,376 Bytes (Cyclone 2 DE1 with 512KB)
RTOTSEC EQU RMAXTRK*RMAXSEC-RMAXSEC
RTOTSEC EQU RMAXTRK*RMAXSEC-RMAXSEC
*
*
* DRIVE TYPES
* DRIVE TYPES
*
*
DTYPROM EQU 0      ROM DISK
DTYPROM EQU 0      ROM DISK

powered by: WebSVN 2.1.0

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