;***************************** ;Begin User Configuration Area ;***************************** ;Define TRUE and FALSE ;--------------------- ; TRUE set 1 FALSE set 0 ;Debug Flag ;---------- ; The DEBUG flag merely causes various internal values and ; addresses to be printed during the assembly process. This ; printing is forced via assembly errors and thus should not ; affect the resulting code in any way. ; debug equ true ;Set to 1 for debugging mode ;Assembler Type ;______________ ; absasm equ true ;set 0 for rmac, set 1 for mac ; ; ;Define the console and printer environments ;=========================================== ; The following is a list of possible baud rates and the decimal ; value needed for the cbaud and lbaud definitions ; ; Baud Rate cbaud/lbaud Baud Rate cbaud/lbaud ; 50 2304 2000 58 ; 75 1536 2400 48 ; 110 1047 3600 32 ; 134.5 857 4800 24 ; 150 768 7200 16 ; 300 384 9600 12 ; 600 192 19200 6 ; 1200 96 38400 3 ; 1800 64 56000 2 ; ;Define the console driver to be used. ;------------------------------------- ; CONTYP is: 0 Nothing, used for patching to PROM's. ; 1 Provide for 128 bytes of patch space. ; 2 Multi I/O or Decision I driver. ; 3 2D/B driver. ; 4 DJDMA serial port ; 5 Switchboard serial port ; 6 North Star motherboard (2 serial + 1 parallel) ; contyp equ 2 ;Console type cbaud equ 12 ;Console Baud Rate ;Define the list driver to be used ;--------------------------------- ; LSTTYP is: 0 Nothing, used for patching to PROM's. ; 1 Provide for 128 bytes of patch space. ; 2 Multio/Wbio serial, no protocol. ; 3 Multio/Wbio serial, Clear To Send protocol. ; 4 Multio/Wbio serial, Data Set Ready protocol. ; 5 Multio/Wbio serial, Xon/Xoff protocol. ; ; Note: The Wunderbuss i/o board (Wbio) used in the Decision 1 is ; functionally identical to the Multio. ; lsttyp equ 3 ;List Device type lbaud equ 96 ;List Device Baud Rate page ;Setup Disk System ;================= ; ;Select the Number of each type of disk drive ;-------------------------------------------- ; 1) This following table tells the system the types and numbers of drives ; that are active. ; 2) Drives that are not present should be set to zero. ; 3) An example: If you have 2-8" drives using a DJDMA and one disk ; attached to an HDDMA controller you would set maxdm = 2 and ; maxmw = 1, with all other selections set to zero. ; maxrd equ 1 ;RAM-Disk (may ONLY be 0 or 1) maxmf equ 2 ;DJDMA floppies (5 1/4") maxmw equ 1 ;HDDMA hard disks maxhd equ 0 ;HDCA hard disk drives maxdm equ 2 ;DJDMA floppies (8") maxfd equ 0 ;DJ2D/B floppies (8" only) ;Set the Logical Ordering of the drives ;-------------------------------------- ; 1) You must assign an 'order number' for each drive type selected ; in the previous set of equates. Drive types that WERE NOT selected ; in the previous set of equates must be set to zero in this set. ; 2) Numbering must start with 1 and be continious. ; 3) An example: Suppose that your system consists of two DJDMA_8" ; drives and four DJDMA_1/4" drives along with one drive attached to ; an HDDMA controller; Furthermore, suppose that you set dmorder to ; 3, mforder to 2 and mworder to 1. The HDDMA would be your A: drive. ; The 8" drives would be the B: and C: drives; And, finally, the D:, ; E:, F:, and G: drives would be assigned to the 5_1/4" DJDMA drives. ; rdorder equ 1 ;RAM-Disk mforder equ 2 ;DJDMA floppies (5 1/4") mworder equ 4 ;HDDMA hard disks hdorder equ 0 ;HDCA hard disk drives dmorder equ 3 ;DJDMA floppies (8") fdorder equ 0 ;DJ2D/B floppies (8" only) ;HDDMA controller disk drives ;---------------------------- ; 1) If the HDDMA controller has been selected then you must choose one ; (and only one) of the following drive types. ; st506 equ true ;Seagate ST-506 st412 equ false ;Seagate ST-412 cm5619 equ false ;CMI CM-5619 ;HDCA controller disk drives ;--------------------------- ; 1) If the HDCA controller has been selected then you must choose one ; (and only one) of the following drive types. ; m10f equ false ;Fujitsu M2301B m10m equ false ;Memorex m20 equ false ;Fujitsu M2302B m26 equ false ;Shugart SA4000 ;DJDMA controller equates ;------------------------ ; mfslow equ false ;set true if slow stepping 5-1/4" floppy ;DJ2D/B controller equates ;------------------------- ; fdorig equ 0f800h ;Origin of DJ2D/B Disk Jockey PROM ;Misc Considerations ;------------------- wmdrive equ 0 ;CP/M logical drive number to warm boot from. mwquiet equ 0 ;Set for no names printed on login (HDDMA only) if maxmw ne 0 badsiz equ 32 ;Number of badmap entries for HDDMA else ;(Only HDDMA drives use the bad map) badsiz equ 1 ;Leave one entry as filler endif micron equ FALSE ;Set for Micronix boot loader (only DJDMA) ;Non-Standard Flag ;----------------- ; If this CBIOS is used with the CP/M 2.2 system that is shipped on ; a Morrow Designs diskette then NOSTAND can be set to 1. This ; will allow the CBIOS to use various data areas found inside of ; the CP/M 2.2 BDOS. If the CBIOS is used with a different ; operating system then NOSTAND should be set to 0. ; nostand equ false ;Set to 1 for non-standard mode ;Offsets for SYSGEN ;---------------- if absasm ;if mac offsetc equ 2100h-bios ;Offset for sysgen endif ;Boot Controller Selection ;------------------------- ; Only one of the following equates should be set to TRUE. The ; others sould be set to FALSE. These equates define the boot loader ; that is to be used. ; dmboot equ FALSE ;Set to boot a DJDMA controller 8" Drives) mfboot equ TRUE ;Set to boot a DJDMA controller (5 1/4" Drives) fdboot equ FALSE ;Set to boot a DJ2D/B controller mwboot equ FALSE ;Set to boot a HDDMA controller hdboot equ FALSE ;Set to boot an HDC3 controller ;AUTOSTRT (Auto-start) option ;---------------------------- ; This equate, when set to 1, selects the autostart option, which ; places a "AUTOSTRT" command in the CCP input buffer on a WARM boot autost equ true ;Operating System & Console Command Processor: ;============================================= ; The following equates define the operating system (CP/M or ZRDOS) ; and the Console Command Processor (DRI's CCP or ZCPR3) zcpr3 equ true zrdos equ zcpr3 AND true if zcpr3 zlength equ 1400h ;Z-System data area length bdostabl equ bdos+0d70h ; Pointer to BDOS function table. [ZRDOS] tableptr equ bdos+0b7h ; Pointer to POINTER to BDOS table. [ZRDOS] else bdostabl equ bdos+0047h ; Pointer to BDOS function table. [CP/M] tableptr equ bdos+038h ; Pointer to POINTER to BDOS table. [CP/M] endif ;CP/M 3.x read console buffer option ;----------------------------------- ; This equate selects the CP/M+ (3.x) style console buffer option, with ; prior command restore (^W) & command editing (^A, ^F, ^K, ^B, ^G, etc.) cpm3buf equ true ; Implements a replacement for BDOS function 10 stndalon equ true AND cpm3buf ; function 10 implemented by a stand-alone prog if cpm3buf if zcpr3 savearea equ 0eb80h ; CP/M 3.x style console buffer save else savearea equ 0ff00h ; CP/M 3.x style console buffer save endif endif