Mercurial > hg > Members > kono > nitros9-code
changeset 3140:03b580a02945
Allow CoCo3FPGA-specific build of superdesc.asm
Added new conditional CC3FPGA and code to "level1/modules/superdesc.asm"
to reflect changes needed to build the new SD card descriptors for the
Coco3FPGA.
author | Bill Pierce <merlinious999@gmail.com> |
---|---|
date | Sat, 04 Feb 2017 11:06:26 +0100 |
parents | 96cb9d947e0b |
children | 717ced83b885 |
files | level1/modules/superdesc.asm |
diffstat | 1 files changed, 29 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/level1/modules/superdesc.asm Sat Feb 04 11:06:18 2017 +0100 +++ b/level1/modules/superdesc.asm Sat Feb 04 11:06:26 2017 +0100 @@ -93,6 +93,14 @@ ITSOFS3 SET $00 ENDC + IFNE CC3FPGA +Sides SET $01 +Cyls SET $7100 +SectTrk SET $0012 +SectTrk0 SET $0012 +Interlv SET $01 +SAS SET $08 + ELSE * Geometry for an EZ-135 * IFEQ Sides IFNDEF Sides @@ -118,6 +126,7 @@ IFNDEF SAS SAS SET $10 ENDC + ENDC IFP1 USE defsfile @@ -133,6 +142,10 @@ ENDC ENDC + IFNE CC3FPGA +SDAddr SET $FF64 + ENDC + tylg SET Devic+Objct atrv SET ReEnt+rev rev SET $09 @@ -167,8 +180,18 @@ * cannot due to the fact that there is simply NO ROOM in * the path descriptor to do so. The driver must access * these values directly from the descriptor. + IFNE CC3FPGA + IFNE ITDRV + FCB $03 (IT.WPC) + FCB $F9 (IT.OFS) + ELSE + FCB ITSOFS1 (IT.WPC) + FCB ITSOFS2 (IT.OFS) + ENDC + ELSE FCB ITSOFS1 (IT.WPC) FCB ITSOFS2 (IT.OFS) + ENDC FCB ITSOFS3 initsize EQU * FDB lldrv (IT.RWC) @@ -197,7 +220,7 @@ FCB '0+ITDNS+$80 ENDC ELSE - IFNE COCOSDC + IFNE COCOSDC+CC3FPGA name FCC /SD/ IFNE HB FCS /H/ @@ -246,6 +269,11 @@ IFNE COCOSDC FCS /llcocosdc/ FCB 0,0,0 + ELSE + IFNE CC3FPGA + FCS /llcoco3fpga/ + FCB 0,0,0 + ENDC ENDC ENDC ENDC