home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
disks
/
misc
/
scsi_list
/
source
/
scsi.lst
< prev
next >
Wrap
File List
|
1996-11-10
|
117KB
|
2,502 lines
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 1
;
;
;Line# Block Source
; 1 /*
; 2 * SCSI.C - Show SCSI Devices
; 3 *
; 4 * $VER: SCSI.C 1.5 (05.9.96)
; 5 *
; 6 * (c) Copyright 1996 Richard Sellens. All rights reserved.
; 7 *
; 8 * This software is provided as-is and is subject to change; no warranties
; 9 * are made. All use is at your own risk. No liability or responsibility
; 10 * is assumed.
; 11 *
; 12 * Release Date Change
; 13 *
; 14 * 1.0 02/02/96 Initial Program
; 15 * 1.1 31/03/96 Made SCSI Device string area longer
; 16 * 1.2 07/04/96 Added ability to select unit from List for display,
; 17 * Added Locale support for most strings
; 18 * 1.3 05/05/96 Added ability to select controller device,
; 19 * Added Locale support for remaining strings
; 20 * 1.4 16/06/96 Corrected Bug which cause unwanted characters to
; 21 * display on empty device
; 22 * Corrected Image display in List (not showing
; 23 * complete Image)
; 24 * Added ability to have 5 device TOOLTYPES
; 25 * Added code to prevent duplication of devices
; 26 * 1.5 05/09/96 Minor Change to method used to display device
; 27 * standard
; 28 * Modified Device List search to use same routine
; 29 * as TOOLTYPES to add device to list.
; 30 * Modified Method used to select page from list
; 31 * gadget.
; 32 *
; 33 */
; 34
; 35
; 36 /*------------------------------------------------------------------------*/
; 37
; 38 0 #define INTUITION_IOBSOLETE_H
; 39 0 #define CATCOMP_NUMBERS
; 40 0 #define CATCOMP_BLOCK
; 41 0 #define CATCOMP_CODE
; 42 0 #define REG(x) register __ ## x
; 43 0 #define ASM __asm
; 44 0 #define SAVEDS __saveds
; 45
; 46 0 #include <dos/dos.h>
;===> Including file "include:dos/dos.h"
;===> Including file "include:exec/types.h"
; 47 0 #include <exec/devices.h>
;===> Including file "include:exec/devices.h"
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 2
;
;
;Line# Block Source
;===> Including file "include:exec/libraries.h"
;===> Including file "include:exec/nodes.h"
;===> Including file "include:exec/ports.h"
;===> Including file "include:exec/lists.h"
;===> Including file "include:exec/tasks.h"
; 48 0 #include <exec/errors.h>
;===> Including file "include:exec/errors.h"
; 49 0 #include <exec/execbase.h>
;===> Including file "include:exec/execbase.h"
;===> Including file "include:exec/interrupts.h"
; 50 0 #include <exec/memory.h>
;===> Including file "include:exec/memory.h"
; 51 0 #include <exec/types.h>
; 52 0 #include <graphics/gfxmacros.h>
;===> Including file "include:graphics/gfxmacros.h"
;===> Including file "include:graphics/rastport.h"
;===> Including file "include:graphics/gfx.h"
; 53 0 #include <libraries/mui.h>
;===> Including file "include:libraries/mui.h"
;===> Including file "include:intuition/classes.h"
;===> Including file "include:utility/hooks.h"
;===> Including file "include:intuition/classusr.h"
;===> Including file "include:intuition/screens.h"
;===> Including file "include:graphics/clip.h"
;===> Including file "include:exec/semaphores.h"
;===> Including file "include:graphics/view.h"
;===> Including file "include:graphics/copper.h"
;===> Including file "include:graphics/gfxnodes.h"
;===> Including file "include:graphics/monitor.h"
;===> Including file "include:graphics/displayinfo.h"
;===> Including file "include:graphics/modeid.h"
;===> Including file "include:utility/tagitem.h"
;===> Including file "include:hardware/custom.h"
;===> Including file "include:graphics/layers.h"
;===> Including file "include:clib/intuition_protos.h"
;===> Including file "include:intuition/intuition.h"
;===> Including file "include:graphics/text.h"
;===> Including file "include:devices/inputevent.h"
;===> Including file "include:devices/timer.h"
;===> Including file "include:exec/io.h"
;===> Including file "include:intuition/preferences.h"
;===> Including file "include:intuition/cghooks.h"
; 54 0 #include <libraries/locale.h>
;===> Including file "include:libraries/locale.h"
; 55 0 #include <workbench/workbench.h>
;===> Including file "include:workbench/workbench.h"
; 56
; 57 0 #include <clib/alib_protos.h>
;===> Including file "include:clib/alib_protos.h"
;===> Including file "include:devices/keymap.h"
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 3
;
;
;Line# Block Source
;===> Including file "include:libraries/commodities.h"
;===> Including file "include:graphics/graphint.h"
; 58 0 #include <clib/asl_protos.h>
;===> Including file "include:clib/asl_protos.h"
;===> Including file "include:libraries/asl.h"
;===> Including file "include:workbench/startup.h"
;===> Including file "include:libraries/dos.h"
; 59 0 #include <clib/dos_protos.h>
;===> Including file "include:clib/dos_protos.h"
;===> Including file "include:dos/dosextens.h"
;===> Including file "include:dos/record.h"
;===> Including file "include:dos/rdargs.h"
;===> Including file "include:dos/dosasl.h"
;===> Including file "include:dos/var.h"
;===> Including file "include:dos/notify.h"
;===> Including file "include:dos/datetime.h"
; 60 0 #include <clib/exec_protos.h>
;===> Including file "include:clib/exec_protos.h"
; 61 0 #include <clib/graphics_protos.h>
;===> Including file "include:clib/graphics_protos.h"
;===> Including file "include:graphics/gels.h"
;===> Including file "include:graphics/regions.h"
;===> Including file "include:graphics/sprite.h"
;===> Including file "include:hardware/blit.h"
; 62 0 #include <clib/icon_protos.h>
;===> Including file "include:clib/icon_protos.h"
; 63 0 #include <clib/intuition_protos.h>
; 64 0 #include <clib/locale_protos.h>
;===> Including file "include:clib/locale_protos.h"
;===> Including file "include:rexx/storage.h"
; 65 0 #include <clib/muimaster_protos.h>
;===> Including file "include:clib/muimaster_protos.h"
; 66 0 #include <clib/utility_protos.h>
;===> Including file "include:clib/utility_protos.h"
;===> Including file "include:utility/date.h"
;===> Including file "include:utility/name.h"
; 67
; 68 0 #include <stdlib.h>
;===> Including file "include:stdlib.h"
; 69 0 #include <string.h>
;===> Including file "include:string.h"
; 70 0 #include <stdio.h>
;===> Including file "include:stdio.h"
; 71
; 72 0 #include <pragmas/asl_pragmas.h>
;===> Including file "include:pragmas/asl_pragmas.h"
; 73 0 #include <pragmas/dos_pragmas.h>
;===> Including file "include:pragmas/dos_pragmas.h"
; 74 0 #include <pragmas/exec_pragmas.h>
;===> Including file "include:pragmas/exec_pragmas.h"
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 4
;
;
;Line# Block Source
; 75 0 #include <pragmas/graphics_pragmas.h>
;===> Including file "include:pragmas/graphics_pragmas.h"
; 76 0 #include <pragmas/icon_pragmas.h>
;===> Including file "include:pragmas/icon_pragmas.h"
; 77 0 #include <pragmas/intuition_pragmas.h>
;===> Including file "include:pragmas/intuition_pragmas.h"
; 78 0 #include <pragmas/locale_pragmas.h>
;===> Including file "include:pragmas/locale_pragmas.h"
; 79 0 #include <pragmas/muimaster_pragmas.h>
;===> Including file "include:pragmas/muimaster_pragmas.h"
; 80 0 #include <pragmas/utility_pragmas.h>
;===> Including file "include:pragmas/utility_pragmas.h"
; 81
; 82 0 #include "Scsi_Cmd.h"
;===> Including file "scsi_cmd.h"
; 83.001 /*
; 83.002 * scsi_cmd.h
; 83.003 */
; 83.004
; 83.005 0 #include <devices/scsidisk.h>
;===> Including file "include:devices/scsidisk.h"
; 83.006 0 #define SCSI_DEVICE "scsi.device"
; 83.007
; 83.008 /*------------------------------------------------------------------------*/
; 83.009
; 83.010 /* type used for 6 byte SCSI command */
; 83.011
; 83.012 0 typedef struct
; 83.013 0 {
; 83.014 0 UBYTE opcode;
; 83.015 0 UBYTE b1;
; 83.016 0 UBYTE b2;
; 83.017 0 UBYTE b3;
; 83.018 0 UBYTE b4;
; 83.019 0 UBYTE control;
; 83.020 0 } SCSICMD6;
; 83.021
; 83.022 /*------------------------------------------------------------------------*/
; 83.023
; 83.024 /* SCSI commands */
; 83.025
; 83.026 0 #define SCSI_CMD_TUR 0x00 /* Test Unit Ready */
; 83.027 0 #define SCSI_CMD_RZU 0x01 /* Rezero Unit */
; 83.028 0 #define SCSI_CMD_RQS 0x03 /* Request Sense */
; 83.029 0 #define SCSI_CMD_FMU 0x04 /* Format unit */
; 83.030 0 #define SCSI_CMD_RAB 0x07 /* Reassign Block */
; 83.031 0 #define SCSI_CMD_RD 0x08 /* Read */
; 83.032 0 #define SCSI_CMD_WR 0x0A /* Write */
; 83.033 0 #define SCSI_CMD_SK 0x0B /* Seek */
; 83.034 0 #define SCSI_CMD_INQ 0x12 /* 6B: Inquiry */
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 5
;
;
;Line# Block Source
; 83.035 0 #define SCSI_CMD_MSL 0x15 /* Mode Select */
; 83.036 0 #define SCSI_CMD_RU 0x16 /* Reserve Unit */
; 83.037 0 #define SCSI_CMD_RLU 0x17 /* Release Unit */
; 83.038 0 #define SCSI_CMD_MSE 0x1A /* 6B: Mode Sense */
; 83.039 0 #define SCSI_CMD_SSU 0x1B /* 6B: Start/Stop Unit */
; 83.040 0 #define SCSI_CMD_RDI 0x1C /* Receive Diagnostic */
; 83.041 0 #define SCSI_CMD_SDI 0x1D /* Send Diagnostic */
; 83.042 0 #define SCSI_CMD_RCP 0x25 /* Read Capacity */
; 83.043 0 #define SCSI_CMD_RXT 0x28 /* Read Extended */
; 83.044 0 #define SCSI_CMD_WXT 0x2A /* Write Extended */
; 83.045 0 #define SCSI_CMD_SKX 0x2B /* Seek Extended */
; 83.046 0 #define SCSI_CMD_WVF 0x2E /* Write & Verify */
; 83.047 0 #define SCSI_CMD_VF 0x2F /* Verify */
; 83.048 0 #define SCSI_CMD_RDD 0x37 /* Read Defect Data */
; 83.049 0 #define SCSI_CMD_WDB 0x3B /* Write Data Buffer */
; 83.050 0 #define SCSI_CMD_RDB 0x3C /* Read Data Buffer */
; 83.051 0 #define SCSI_CMD_COPY 0x18 /* 6B: Copy */
; 83.052 0 #define SCSI_CMD_COMPARE 0x39 /* 10B: Compare */
; 83.053 0 #define SCSI_CMD_COPYANDVERIFY 0x3A /* 10B: Copy and Verify */
; 83.054 0 #define SCSI_CMD_CHGEDEF 0x40 /* 10B: Change Definition */
; 83.055 0 #define SCSI_CMD_READSUBCHANNEL 0x42 /* 10B: Read Sub-Channel */
; 83.056 0 #define SCSI_CMD_READTOC 0x43 /* Read TOC from CD Audio */
; 83.057 0 #define SCSI_CMD_READHEADER 0x44 /* 10B: Read data block address header */
; 83.058 0 #define SCSI_CMD_PLAYAUDIO10 0x45 /* Play CD Audio */
; 83.059 0 #define SCSI_CMD_PLAYAUDIOTRACKINDEX 0x48 /* Play CD Audio Track */
; 83.060
; 83.061 /* Sony CDU 561 / Sony CDU 8003 = Apple CD 300 specific commands */
; 83.062 0 #define SCSI_CMD_READCDDA 0xD8 /* 12B: read digital audio */
; 83.063 0 #define SCSI_CMD_READCDDAMSF 0xD9 /* 12B: read digital audio */
; 83
; 84 /*------------------------------------------------------------------------*/
; 85
; 86 0 void Main(int argc, char **argv);
; 87 0 void BailOut(APTR app, char *str);
; 88 0 void GetDevList(int argc, char **argv);
; 89 0 int gettooltypes(struct WBArg *, int);
; 90 0 BOOL InitClasses(void);
; 91 0 void ExitClasses(void);
; 92 0 ULONG ScsiList_New(struct IClass *, Object *, struct opSet *);
; 93 0 ULONG ScsiList_Cleanup(struct IClass *, Object *, Msg);
; 94 0 ULONG ScsiList_Setup(struct IClass *, Object *, Msg);
; 95 0 ULONG ScsiList_Select(struct IClass *, Object *, Msg);
; 96 0 void ShowSCSI(char *);
; 97 0 void ShowScsi_exit(long code, char *);
; 98 0 void ListDevices(char *);
; 99 0 STRPTR GetString(struct LocaleInfo *li, LONG stringNum);
;100 0 STRPTR SetStandard(int id);
;101 0 STRPTR SetDeviceType(int id);
;102 0 int AddDeviceToList(int pos, char *devname);
;103
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 6
;
;
;Line# Block Source
;104 /*------------------------------------------------------------------------*/
;105
;106 0 extern struct Library *DOSBase;
;107 0 extern struct ExecBase *SysBase;
;108 0 extern struct GfxBase *GfxBase;
;109 0 extern struct IntuitionBase *IntuitionBase;
;110 0 extern struct Library *UtilityBase;
;111 0 struct Library *LocaleBase;
;112 0 struct Library *IconBase;
;113 0 struct Library *MUIMasterBase = NULL;
;114
;115 /*------------------------------------------------------------------------*/
;116
;117 0 #include "Scsi_Locale.h"
;===> Including file "scsi_locale.h"
; 85.001 0 #ifndef SCSI_LOCALE_H
; 85.002 0 #define SCSI_LOCALE_H
; 85.003
; 85.004
; 85.005 /****************************************************************************/
; 85.006
; 85.007
; 85.008 /* This file was created automatically by CatComp.
; 85.009 * Do NOT edit by hand!
; 85.010 */
; 85.011
; 85.012
; 85.013 0 #ifndef EXEC_TYPES_H
; 85.014 #include <exec/types.h>
; 85.015 #endif
; 85.016
; 85.017 0 #ifdef CATCOMP_ARRAY
; 85.018 #undef CATCOMP_NUMBERS
; 85.019 #undef CATCOMP_STRINGS
; 85.020 #define CATCOMP_NUMBERS
; 85.021 #define CATCOMP_STRINGS
; 85.022 #endif
; 85.023
; 85.024 0 #ifdef CATCOMP_BLOCK
; 85.025 0 #undef CATCOMP_STRINGS
; 85.026 0 #define CATCOMP_STRINGS
; 85.027 0 #endif
; 85.028
; 85.029
; 85.030 /****************************************************************************/
; 85.031
; 85.032
; 85.033 0 #ifdef CATCOMP_NUMBERS
; 85.034
; 85.035 0 #define MSG_Vendor 0
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 7
;
;
;Line# Block Source
; 85.036 0 #define MSG_Product 1
; 85.037 0 #define MSG_Revision 2
; 85.038 0 #define MSG_Device_Type 3
; 85.039 0 #define MSG_Standard 4
; 85.040 0 #define MSG_Removable 5
; 85.041 0 #define MSG_Unable_to_Open_icon 6
; 85.042 0 #define MSG_Unable_to_Open_MUI 7
; 85.043 0 #define MSG_Unable_to_Create_Cust_Class 8
; 85.044 0 #define MSG_Device 9
; 85.045 0 #define MSG_Failed_to_Create_App 10
; 85.046 0 #define MSG_Unit 11
; 85.047 0 #define MSG_Unable_to_Allocate_Memory 12
; 85.048 0 #define MSG_Unable_to_Create_Mess_Port 13
; 85.049 0 #define MSG_Unable_to_Create_StandardIO 14
; 85.050 0 #define MSG_Not_Used 15
; 85.051 0 #define MSG_Rel_Addr 16
; 85.052 0 #define MSG_16_Wide 17
; 85.053 0 #define MSG_32_Wide 18
; 85.054 0 #define MSG_List 19
; 85.055 0 #define MSG_Direct_Access_Device 20
; 85.056 0 #define MSG_Sequential_Access_Device 21
; 85.057 0 #define MSG_Printer_Device 22
; 85.058 0 #define MSG_Processor_Device 23
; 85.059 0 #define MSG_Write_Once_Device 24
; 85.060 0 #define MSG_CDROM_Device 25
; 85.061 0 #define MSG_Scanner_Device 26
; 85.062 0 #define MSG_Optical_Device 27
; 85.063 0 #define MSG_Medium_Changer_Device 28
; 85.064 0 #define MSG_Communications_Device 29
; 85.065 0 #define MSG_Unknown_Device 30
; 85.066
; 85.067 0 #endif /* CATCOMP_NUMBERS */
; 85.068
; 85.069
; 85.070 /****************************************************************************/
; 85.071
; 85.072
; 85.073 0 #ifdef CATCOMP_STRINGS
; 85.074
; 85.075 0 #define MSG_Vendor_STR "Vendor"
; 85.076 0 #define MSG_Product_STR "Product"
; 85.077 0 #define MSG_Revision_STR "Revision"
; 85.078 0 #define MSG_Device_Type_STR "Device Type"
; 85.079 0 #define MSG_Standard_STR "Standard"
; 85.080 0 #define MSG_Removable_STR "Removable"
; 85.081 0 #define MSG_Unable_to_Open_icon_STR "Unable to open icon.library"
; 85.082 0 #define MSG_Unable_to_Open_MUI_STR "Unable to open muimaster.library"
; 85.083 0 #define MSG_Unable_to_Create_Cust_Class_STR "Unable to Create Custom Classes"
; 85.084 0 #define MSG_Device_STR "Device"
; 85.085 0 #define MSG_Failed_to_Create_App_STR "Failed to create application"
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 8
;
;
;Line# Block Source
; 85.086 0 #define MSG_Unit_STR "Unit"
; 85.087 0 #define MSG_Unable_to_Allocate_Memory_STR "Unable to Allocate Memory"
; 85.088 0 #define MSG_Unable_to_Create_Mess_Port_STR "Unable to Create Message Port"
; 85.089 0 #define MSG_Unable_to_Create_StandardIO_STR "Unable to Create Standard IO"
; 85.090 0 #define MSG_Not_Used_STR "Not Used"
; 85.091 0 #define MSG_Rel_Addr_STR "Relative Addressing"
; 85.092 0 #define MSG_16_Wide_STR "16 Bit Wide Data Transfer"
; 85.093 0 #define MSG_32_Wide_STR "32 Bit Wide Data Transfer"
; 85.094 0 #define MSG_List_STR "List"
; 85.095 0 #define MSG_Direct_Access_Device_STR "Direct-access device (e.g., magnetic disk)
; ..... "
; 85.096 0 #define MSG_Sequential_Access_Device_STR "Sequential-access device (e.g., magnet
; ..... ic tape)"
; 85.097 0 #define MSG_Printer_Device_STR "Printer device"
; 85.098 0 #define MSG_Processor_Device_STR "Processor device"
; 85.099 0 #define MSG_Write_Once_Device_STR "Write-once device (e.g., some optical disks)"
; 85.100 0 #define MSG_CDROM_Device_STR "CD-ROM device"
; 85.101 0 #define MSG_Scanner_Device_STR "Scanner device"
; 85.102 0 #define MSG_Optical_Device_STR "Optical memory device (e.g., some optical disks)
; ..... "
; 85.103 0 #define MSG_Medium_Changer_Device_STR "Medium Changer device (e.g., jukeboxes)"
; 85.104 0 #define MSG_Communications_Device_STR "Communications device"
; 85.105 0 #define MSG_Unknown_Device_STR "Unknown SCSI device type"
; 85.106
; 85.107 0 #endif /* CATCOMP_STRINGS */
; 85.108
; 85.109
; 85.110 /****************************************************************************/
; 85.111
; 85.112
; 85.113 0 #ifdef CATCOMP_ARRAY
; 85.114
; 85.115 struct CatCompArrayType
; 85.116 {
; 85.117 LONG cca_ID;
; 85.118 STRPTR cca_Str;
; 85.119 };
; 85.120
; 85.121 static const struct CatCompArrayType CatCompArray[] =
; 85.122 {
; 85.123 {MSG_Vendor,(STRPTR)MSG_Vendor_STR},
; 85.124 {MSG_Product,(STRPTR)MSG_Product_STR},
; 85.125 {MSG_Revision,(STRPTR)MSG_Revision_STR},
; 85.126 {MSG_Device_Type,(STRPTR)MSG_Device_Type_STR},
; 85.127 {MSG_Standard,(STRPTR)MSG_Standard_STR},
; 85.128 {MSG_Removable,(STRPTR)MSG_Removable_STR},
; 85.129 {MSG_Unable_to_Open_icon,(STRPTR)MSG_Unable_to_Open_icon_STR},
; 85.130 {MSG_Unable_to_Open_MUI,(STRPTR)MSG_Unable_to_Open_MUI_STR},
; 85.131 {MSG_Unable_to_Create_Cust_Class,(STRPTR)MSG_Unable_to_Create_Cust_Class_STR
; ..... },
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 9
;
;
;Line# Block Source
; 85.132 {MSG_Device,(STRPTR)MSG_Device_STR},
; 85.133 {MSG_Failed_to_Create_App,(STRPTR)MSG_Failed_to_Create_App_STR},
; 85.134 {MSG_Unit,(STRPTR)MSG_Unit_STR},
; 85.135 {MSG_Unable_to_Allocate_Memory,(STRPTR)MSG_Unable_to_Allocate_Memory_STR},
; 85.136 {MSG_Unable_to_Create_Mess_Port,(STRPTR)MSG_Unable_to_Create_Mess_Port_STR},
; 85.137 {MSG_Unable_to_Create_StandardIO,(STRPTR)MSG_Unable_to_Create_StandardIO_STR
; ..... },
; 85.138 {MSG_Not_Used,(STRPTR)MSG_Not_Used_STR},
; 85.139 {MSG_Rel_Addr,(STRPTR)MSG_Rel_Addr_STR},
; 85.140 {MSG_16_Wide,(STRPTR)MSG_16_Wide_STR},
; 85.141 {MSG_32_Wide,(STRPTR)MSG_32_Wide_STR},
; 85.142 {MSG_List,(STRPTR)MSG_List_STR},
; 85.143 {MSG_Direct_Access_Device,(STRPTR)MSG_Direct_Access_Device_STR},
; 85.144 {MSG_Sequential_Access_Device,(STRPTR)MSG_Sequential_Access_Device_STR},
; 85.145 {MSG_Printer_Device,(STRPTR)MSG_Printer_Device_STR},
; 85.146 {MSG_Processor_Device,(STRPTR)MSG_Processor_Device_STR},
; 85.147 {MSG_Write_Once_Device,(STRPTR)MSG_Write_Once_Device_STR},
; 85.148 {MSG_CDROM_Device,(STRPTR)MSG_CDROM_Device_STR},
; 85.149 {MSG_Scanner_Device,(STRPTR)MSG_Scanner_Device_STR},
; 85.150 {MSG_Optical_Device,(STRPTR)MSG_Optical_Device_STR},
; 85.151 {MSG_Medium_Changer_Device,(STRPTR)MSG_Medium_Changer_Device_STR},
; 85.152 {MSG_Communications_Device,(STRPTR)MSG_Communications_Device_STR},
; 85.153 {MSG_Unknown_Device,(STRPTR)MSG_Unknown_Device_STR},
; 85.154 };
; 85.155
; 85.156 #endif /* CATCOMP_ARRAY */
; 85.157
; 85.158
; 85.159 /****************************************************************************/
; 85.160
; 85.161
; 85.162 0 #ifdef CATCOMP_BLOCK
; 85.163
; 85.164 0 static const char CatCompBlock[] =
; 85.165 0 {
; 85.166 0 "\x00\x00\x00\x00\x00\x08"
; 85.167 0 MSG_Vendor_STR "\x00\x00"
; 85.168 0 "\x00\x00\x00\x01\x00\x08"
; 85.169 0 MSG_Product_STR "\x00"
; 85.170 0 "\x00\x00\x00\x02\x00\x0A"
; 85.171 0 MSG_Revision_STR "\x00\x00"
; 85.172 0 "\x00\x00\x00\x03\x00\x0C"
; 85.173 0 MSG_Device_Type_STR "\x00"
; 85.174 0 "\x00\x00\x00\x04\x00\x0A"
; 85.175 0 MSG_Standard_STR "\x00\x00"
; 85.176 0 "\x00\x00\x00\x05\x00\x0A"
; 85.177 0 MSG_Removable_STR "\x00"
; 85.178 0 "\x00\x00\x00\x06\x00\x1C"
; 85.179 0 MSG_Unable_to_Open_icon_STR "\x00"
; 85.180 0 "\x00\x00\x00\x07\x00\x22"
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 10
;
;
;Line# Block Source
; 85.181 0 MSG_Unable_to_Open_MUI_STR "\x00\x00"
; 85.182 0 "\x00\x00\x00\x08\x00\x20"
; 85.183 0 MSG_Unable_to_Create_Cust_Class_STR "\x00"
; 85.184 0 "\x00\x00\x00\x09\x00\x08"
; 85.185 0 MSG_Device_STR "\x00\x00"
; 85.186 0 "\x00\x00\x00\x0A\x00\x1E"
; 85.187 0 MSG_Failed_to_Create_App_STR "\x00\x00"
; 85.188 0 "\x00\x00\x00\x0B\x00\x06"
; 85.189 0 MSG_Unit_STR "\x00\x00"
; 85.190 0 "\x00\x00\x00\x0C\x00\x1A"
; 85.191 0 MSG_Unable_to_Allocate_Memory_STR "\x00"
; 85.192 0 "\x00\x00\x00\x0D\x00\x1E"
; 85.193 0 MSG_Unable_to_Create_Mess_Port_STR "\x00"
; 85.194 0 "\x00\x00\x00\x0E\x00\x1E"
; 85.195 0 MSG_Unable_to_Create_StandardIO_STR "\x00\x00"
; 85.196 0 "\x00\x00\x00\x0F\x00\x0A"
; 85.197 0 MSG_Not_Used_STR "\x00\x00"
; 85.198 0 "\x00\x00\x00\x10\x00\x14"
; 85.199 0 MSG_Rel_Addr_STR "\x00"
; 85.200 0 "\x00\x00\x00\x11\x00\x1A"
; 85.201 0 MSG_16_Wide_STR "\x00"
; 85.202 0 "\x00\x00\x00\x12\x00\x1A"
; 85.203 0 MSG_32_Wide_STR "\x00"
; 85.204 0 "\x00\x00\x00\x13\x00\x06"
; 85.205 0 MSG_List_STR "\x00\x00"
; 85.206 0 "\x00\x00\x00\x14\x00\x2C"
; 85.207 0 MSG_Direct_Access_Device_STR "\x00\x00"
; 85.208 0 "\x00\x00\x00\x15\x00\x30"
; 85.209 0 MSG_Sequential_Access_Device_STR "\x00\x00"
; 85.210 0 "\x00\x00\x00\x16\x00\x10"
; 85.211 0 MSG_Printer_Device_STR "\x00\x00"
; 85.212 0 "\x00\x00\x00\x17\x00\x12"
; 85.213 0 MSG_Processor_Device_STR "\x00\x00"
; 85.214 0 "\x00\x00\x00\x18\x00\x2E"
; 85.215 0 MSG_Write_Once_Device_STR "\x00\x00"
; 85.216 0 "\x00\x00\x00\x19\x00\x0E"
; 85.217 0 MSG_CDROM_Device_STR "\x00"
; 85.218 0 "\x00\x00\x00\x1A\x00\x10"
; 85.219 0 MSG_Scanner_Device_STR "\x00\x00"
; 85.220 0 "\x00\x00\x00\x1B\x00\x32"
; 85.221 0 MSG_Optical_Device_STR "\x00\x00"
; 85.222 0 "\x00\x00\x00\x1C\x00\x28"
; 85.223 0 MSG_Medium_Changer_Device_STR "\x00"
; 85.224 0 "\x00\x00\x00\x1D\x00\x16"
; 85.225 0 MSG_Communications_Device_STR "\x00"
; 85.226 0 "\x00\x00\x00\x1E\x00\x1A"
; 85.227 0 MSG_Unknown_Device_STR "\x00\x00"
; 85.228 0 };
; 85.229
; 85.230 0 #endif /* CATCOMP_BLOCK */
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 11
;
;
;Line# Block Source
; 85.231
; 85.232
; 85.233 /****************************************************************************/
; 85.234
; 85.235
; 85.236 0 struct LocaleInfo
; 85.237 0 {
; 85.238 0 APTR li_LocaleBase;
; 85.239 0 APTR li_Catalog;
; 85.240 0 };
; 85.241
; 85.242
; 85.243 0 #ifdef CATCOMP_CODE
; 85.244
; 85.245 0 STRPTR GetString(struct LocaleInfo *li, LONG stringNum)
; 85.246 0 {
; 85.247 1 LONG *l;
; 85.248 1 UWORD *w;
; 85.249 1 STRPTR builtIn;
; 85.250
; 85.251 1 l = (LONG *)CatCompBlock;
; 85.252
; 85.253 1 while (*l != stringNum)
; 85.254 1 {
; 85.255 2 w = (UWORD *)((ULONG)l + 4);
; 85.256 2 l = (LONG *)((ULONG)l + (ULONG)*w + 6);
; 85.257 2 }
; 85.258 1 builtIn = (STRPTR)((ULONG)l + 6);
; 85.259
; 85.260 1 if (LocaleBase)
; 85.261 1 return(GetCatalogStr(li->li_Catalog,stringNum,builtIn));
; 85.262
; 85.263 1 return(builtIn);
; 85.264 1 }
; 85.265
; 85.266
; 85.267 0 #endif /* CATCOMP_CODE */
; 85.268
; 85.269
; 85.270 /****************************************************************************/
; 85.271
; 85.272
; 85.273 0 #endif /* SCSI_LOCALE_H */
;118
;119 /*------------------------------------------------------------------------*/
;120
;121 0 #define USE_CD_ROM_BODY
;122 0 #define USE_CD_ROM_COLORS
;123 0 #include "CD_Rom.h"
;===> Including file "cd_rom.h"
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 12
;
;
;Line# Block Source
; 86.001 0 #ifdef USE_CD_ROM_COLORS
; 86.002 0 const ULONG CD_Rom_colors[48] =
; 86.003 0 {
; 86.004 0 0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
; 86.005 0 0x00000000,0x00000000,0x00000000,
; 86.006 0 0xffffffff,0xffffffff,0xffffffff,
; 86.007 0 0x66666666,0x88888888,0xbbbbbbbb,
; 86.008 0 0x00000000,0x00000000,0xffffffff,
; 86.009 0 0xffffffff,0x00000000,0xffffffff,
; 86.010 0 0x00000000,0xffffffff,0xffffffff,
; 86.011 0 0xffffffff,0xffffffff,0xffffffff,
; 86.012 0 0x66666666,0x22222222,0x00000000,
; 86.013 0 0xeeeeeeee,0x55555555,0x00000000,
; 86.014 0 0x99999999,0xffffffff,0x11111111,
; 86.015 0 0xeeeeeeee,0xbbbbbbbb,0x00000000,
; 86.016 0 0x99999999,0x99999999,0x99999999,
; 86.017 0 0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
; 86.018 0 0xbbbbbbbb,0xaaaaaaaa,0x99999999,
; 86.019 0 0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
; 86.020 0 };
; 86.021 0 #endif
; 86.022
; 86.023 0 #define CD_ROM_WIDTH 32
; 86.024 0 #define CD_ROM_HEIGHT 16
; 86.025 0 #define CD_ROM_DEPTH 4
; 86.026 0 #define CD_ROM_COMPRESSION 1
; 86.027 0 #define CD_ROM_MASKING 0
; 86.028
; 86.029 0 #ifdef USE_CD_ROM_HEADER
; 86.030 const struct BitMapHeader CD_Rom_header =
; 86.031 { 32,16,0,0,4,0,1,0,0,1,1,0,0 };
; 86.032 #endif
; 86.033
; 86.034 0 #ifdef USE_CD_ROM_BODY
; 86.035 0 const UBYTE CD_Rom_body[320] = {
; 86.036 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 86.037 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 86.038 0 0x03,0x0f,0xff,0xff,0xfe,0x03,0x0f,0xff,0xff,0xfe,0x03,0x0f,0xf5,0xe2,0x7e,
; 86.039 0 0x03,0x00,0x00,0x00,0x00,0x03,0x1f,0xf5,0xe2,0x7c,0x03,0x1f,0xf5,0xe2,0x7c,
; 86.040 0 0x03,0x1f,0xe3,0xf2,0x32,0x03,0x00,0x00,0x00,0x00,0x03,0x3f,0xe3,0xf2,0x3c,
; 86.041 0 0x03,0x3f,0xe3,0xf2,0x3c,0x03,0x00,0x00,0x00,0x02,0x03,0x3f,0xff,0xff,0xe0,
; 86.042 0 0x03,0x40,0x00,0x00,0x1c,0x03,0x40,0x00,0x00,0x1c,0x03,0x3f,0xff,0xff,0xe2,
; 86.043 0 0x03,0x20,0x00,0x00,0x00,0x03,0x7f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,
; 86.044 0 0x03,0x3f,0xff,0xff,0xe2,0x03,0x2f,0xff,0xff,0xc0,0x03,0x7f,0xff,0xff,0xfc,
; 86.045 0 0x03,0x50,0x00,0x00,0x3c,0x03,0x30,0x00,0x00,0x22,0x03,0x20,0x00,0x00,0x00,
; 86.046 0 0x03,0x7f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,0x03,0x33,0xff,0x47,0xe2,
; 86.047 0 0x03,0x22,0x81,0xb8,0x00,0x03,0x7f,0xfe,0x7f,0xbc,0x03,0x5d,0x7f,0xc7,0xbc,
; 86.048 0 0x03,0x37,0xff,0x23,0xe2,0x03,0x25,0x03,0xdc,0x00,0x03,0x7f,0xfc,0x3f,0xbc,
; 86.049 0 0x03,0x5a,0xff,0xe3,0xbc,0x03,0x33,0xff,0x21,0xe2,0x03,0x2a,0x01,0xde,0x00,
; 86.050 0 0x03,0x77,0xfe,0x3f,0x7c,0x03,0x5d,0xff,0xe1,0x7c,0x03,0x3d,0xff,0x91,0xe2,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 13
;
;
;Line# Block Source
; 86.051 0 0x03,0x20,0x03,0xee,0x00,0x03,0x73,0xfc,0x1e,0xfc,0x03,0x53,0xff,0xf0,0xfc,
; 86.052 0 0x03,0x3e,0x7f,0x97,0xe4,0x03,0x20,0x01,0xe0,0x00,0x03,0x7f,0xfe,0x19,0xf8,
; 86.053 0 0x03,0x5f,0xff,0xf9,0xf8,0x03,0x00,0x0f,0xb8,0x08,0x03,0x00,0x03,0xc0,0x00,
; 86.054 0 0x03,0x7f,0xfc,0x07,0xf0,0x03,0x7f,0xff,0xc7,0xf0,0x03,0x3f,0xff,0xff,0xf0,
; 86.055 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 86.056 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 86.057 0 0x03,0x00,0x00,0x00,0x00, };
; 86.058 0 #endif
;124
;125 0 #define USE_HARD_DRIVE_BODY
;126 0 #include "Hard_Drive.h"
;===> Including file "hard_drive.h"
; 87.001 0 #ifdef USE_HARD_DRIVE_COLORS
; 87.002 const ULONG Hard_Drive_colors[48] =
; 87.003 {
; 87.004 0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
; 87.005 0x00000000,0x00000000,0x00000000,
; 87.006 0xffffffff,0xffffffff,0xffffffff,
; 87.007 0x66666666,0x88888888,0xbbbbbbbb,
; 87.008 0x00000000,0x00000000,0xffffffff,
; 87.009 0xffffffff,0x00000000,0xffffffff,
; 87.010 0x00000000,0xffffffff,0xffffffff,
; 87.011 0xffffffff,0xffffffff,0xffffffff,
; 87.012 0x66666666,0x22222222,0x00000000,
; 87.013 0xeeeeeeee,0x55555555,0x00000000,
; 87.014 0x99999999,0xffffffff,0x11111111,
; 87.015 0xeeeeeeee,0xbbbbbbbb,0x00000000,
; 87.016 0x99999999,0x99999999,0x99999999,
; 87.017 0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
; 87.018 0xbbbbbbbb,0xaaaaaaaa,0x99999999,
; 87.019 0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
; 87.020 };
; 87.021 #endif
; 87.022
; 87.023 0 #define HARD_DRIVE_WIDTH 32
; 87.024 0 #define HARD_DRIVE_HEIGHT 16
; 87.025 0 #define HARD_DRIVE_DEPTH 4
; 87.026 0 #define HARD_DRIVE_COMPRESSION 1
; 87.027 0 #define HARD_DRIVE_MASKING 0
; 87.028
; 87.029 0 #ifdef USE_HARD_DRIVE_HEADER
; 87.030 const struct BitMapHeader Hard_Drive_header =
; 87.031 { 32,16,0,0,4,0,1,0,0,1,1,0,0 };
; 87.032 #endif
; 87.033
; 87.034 0 #ifdef USE_HARD_DRIVE_BODY
; 87.035 0 const UBYTE Hard_Drive_body[320] = {
; 87.036 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 87.037 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 87.038 0 0x03,0x0f,0xff,0xff,0xfc,0x03,0x0f,0xff,0xff,0xfc,0x03,0x0f,0xff,0xff,0xfa,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 14
;
;
;Line# Block Source
; 87.039 0 0x03,0x00,0x00,0x00,0x00,0x03,0x1f,0xff,0xff,0xfc,0x03,0x1f,0xff,0xff,0xfc,
; 87.040 0 0x03,0x1f,0xff,0xff,0xf2,0x03,0x00,0x00,0x00,0x00,0x03,0x3f,0xff,0xff,0xfc,
; 87.041 0 0x03,0x3f,0xff,0xff,0xfc,0x03,0x3f,0xff,0xff,0xe2,0x03,0x3f,0xff,0xff,0xe0,
; 87.042 0 0x03,0x7f,0xff,0xff,0xfc,0x03,0x40,0x00,0x00,0x1c,0x03,0x3f,0xff,0xfc,0x62,
; 87.043 0 0x03,0x20,0x00,0x03,0x80,0x03,0x7f,0xff,0xfc,0x7c,0x03,0x5f,0xff,0xff,0xfc,
; 87.044 0 0x03,0x3f,0xff,0xff,0xe2,0x03,0x20,0x00,0x00,0x00,0x03,0x7f,0xff,0xfc,0x7c,
; 87.045 0 0x03,0x5f,0xff,0xfc,0x7c,0x03,0x3f,0xff,0xff,0xe2,0x03,0x20,0x00,0x00,0x00,
; 87.046 0 0x03,0x7f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,0x03,0x30,0x00,0x00,0x62,
; 87.047 0 0x03,0x20,0x00,0x00,0x00,0x03,0x7f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,
; 87.048 0 0x03,0x3f,0xff,0xff,0xe2,0x03,0x2f,0xff,0xff,0x80,0x03,0x7f,0xff,0xff,0xfc,
; 87.049 0 0x03,0x50,0x00,0x00,0x7c,0x03,0x30,0x00,0x00,0x62,0x03,0x20,0x00,0x00,0x00,
; 87.050 0 0x03,0x7f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,0x03,0x3f,0xff,0xff,0xe2,
; 87.051 0 0x03,0x2f,0xff,0xff,0x80,0x03,0x7f,0xff,0xff,0xfc,0x03,0x50,0x00,0x00,0x7c,
; 87.052 0 0x03,0x3f,0xff,0xff,0xe4,0x03,0x20,0x00,0x00,0x00,0x03,0x7f,0xff,0xff,0xf8,
; 87.053 0 0x03,0x5f,0xff,0xff,0xf8,0x03,0x00,0x00,0x00,0x08,0x03,0x00,0x00,0x00,0x00,
; 87.054 0 0x03,0x7f,0xff,0xff,0xf0,0x03,0x7f,0xff,0xff,0xf0,0x03,0x3f,0xff,0xff,0xf0,
; 87.055 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 87.056 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 87.057 0 0x03,0x00,0x00,0x00,0x00, };
; 87.058 0 #endif
;127
;128 0 #define USE_REMOVE_DRIVE_BODY
;129 0 #include "Remove_Drive.h"
;===> Including file "remove_drive.h"
; 88.001 0 #ifdef USE_REMOVE_DRIVE_COLORS
; 88.002 const ULONG Remove_Drive_colors[48] =
; 88.003 {
; 88.004 0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
; 88.005 0x00000000,0x00000000,0x00000000,
; 88.006 0xffffffff,0xffffffff,0xffffffff,
; 88.007 0x66666666,0x88888888,0xbbbbbbbb,
; 88.008 0x00000000,0x00000000,0xffffffff,
; 88.009 0xffffffff,0x00000000,0xffffffff,
; 88.010 0x00000000,0xffffffff,0xffffffff,
; 88.011 0xffffffff,0xffffffff,0xffffffff,
; 88.012 0x66666666,0x22222222,0x00000000,
; 88.013 0xeeeeeeee,0x55555555,0x00000000,
; 88.014 0x99999999,0xffffffff,0x11111111,
; 88.015 0xeeeeeeee,0xbbbbbbbb,0x00000000,
; 88.016 0x99999999,0x99999999,0x99999999,
; 88.017 0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
; 88.018 0xbbbbbbbb,0xaaaaaaaa,0x99999999,
; 88.019 0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
; 88.020 };
; 88.021 #endif
; 88.022
; 88.023 0 #define REMOVE_DRIVE_WIDTH 32
; 88.024 0 #define REMOVE_DRIVE_HEIGHT 16
; 88.025 0 #define REMOVE_DRIVE_DEPTH 4
; 88.026 0 #define REMOVE_DRIVE_COMPRESSION 1
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 15
;
;
;Line# Block Source
; 88.027 0 #define REMOVE_DRIVE_MASKING 0
; 88.028
; 88.029 0 #ifdef USE_REMOVE_DRIVE_HEADER
; 88.030 const struct BitMapHeader Remove_Drive_header =
; 88.031 { 32,16,0,0,4,0,1,0,0,1,1,0,0 };
; 88.032 #endif
; 88.033
; 88.034 0 #ifdef USE_REMOVE_DRIVE_BODY
; 88.035 0 const UBYTE Remove_Drive_body[320] = {
; 88.036 0 0x03,0x00,0x00,0x00,0x02,0x03,0x00,0x00,0x00,0x00,0x03,0x1f,0xff,0xff,0xfc,
; 88.037 0 0x03,0x1f,0xff,0xff,0xfc,0x03,0x1f,0xff,0xff,0xfa,0x03,0x00,0x00,0x00,0x00,
; 88.038 0 0x03,0x3f,0xff,0xff,0xfc,0x03,0x3f,0xff,0xff,0xfc,0x03,0x3f,0xff,0xff,0xf2,
; 88.039 0 0x03,0x00,0x00,0x00,0x00,0x03,0x7f,0xff,0xff,0xfc,0x03,0x7f,0xff,0xff,0xfc,
; 88.040 0 0x03,0x00,0x00,0x00,0x02,0x03,0x3f,0xff,0xff,0xf0,0x03,0x40,0x00,0x00,0x0c,
; 88.041 0 0x03,0x40,0x00,0x00,0x0c,0x03,0x1f,0xff,0xff,0xf2,0x03,0x20,0x00,0x00,0x00,
; 88.042 0 0x03,0x5f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,0x03,0x1f,0x80,0x00,0xf2,
; 88.043 0 0x03,0x20,0x00,0x00,0x00,0x03,0x5f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,
; 88.044 0 0x03,0x1e,0x7f,0xff,0x32,0x03,0x20,0x00,0x00,0x00,0x03,0x53,0x80,0x00,0xfc,
; 88.045 0 0x03,0x5f,0x80,0x00,0xfc,0x03,0x1e,0x7f,0xff,0x32,0x03,0x20,0x00,0x00,0x00,
; 88.046 0 0x03,0x53,0x80,0x00,0xfc,0x03,0x5f,0x80,0x00,0xfc,0x03,0x1e,0x7f,0xff,0x32,
; 88.047 0 0x03,0x21,0x80,0x00,0xc0,0x03,0x5e,0x00,0x00,0x3c,0x03,0x5e,0x00,0x00,0x3c,
; 88.048 0 0x03,0x1f,0x80,0x00,0xf2,0x03,0x20,0x7f,0xff,0x00,0x03,0x5f,0x80,0x00,0xfc,
; 88.049 0 0x03,0x5f,0x80,0x00,0xfc,0x03,0x1f,0xff,0xff,0xf2,0x03,0x20,0x00,0x00,0x00,
; 88.050 0 0x03,0x5f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,0x03,0x1f,0xff,0xff,0xf2,
; 88.051 0 0x03,0x21,0x55,0x55,0x40,0x03,0x5f,0xff,0xff,0xfc,0x03,0x5e,0xaa,0xaa,0xbc,
; 88.052 0 0x03,0x1f,0xff,0xff,0xf2,0x03,0x20,0x00,0x00,0x00,0x03,0x5f,0xff,0xff,0xfc,
; 88.053 0 0x03,0x5f,0xff,0xff,0xfc,0x03,0x00,0x00,0x00,0x04,0x03,0x00,0x00,0x00,0x00,
; 88.054 0 0x03,0x7f,0xff,0xff,0xf8,0x03,0x7f,0xff,0xff,0xf8,0x03,0x3f,0xff,0xff,0xf8,
; 88.055 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 88.056 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 88.057 0 0x03,0x00,0x00,0x00,0x00, };
; 88.058 0 #endif
;130
;131 0 #define USE_NULL_BODY
;132 0 #include "Null.h"
;===> Including file "null.h"
; 89.001 0 #ifdef USE_NULL_COLORS
; 89.002 const ULONG Null_colors[48] =
; 89.003 {
; 89.004 0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
; 89.005 0x00000000,0x00000000,0x00000000,
; 89.006 0xffffffff,0xffffffff,0xffffffff,
; 89.007 0x66666666,0x88888888,0xbbbbbbbb,
; 89.008 0x00000000,0x00000000,0xffffffff,
; 89.009 0xffffffff,0x00000000,0xffffffff,
; 89.010 0x00000000,0xffffffff,0xffffffff,
; 89.011 0xffffffff,0xffffffff,0xffffffff,
; 89.012 0x66666666,0x22222222,0x00000000,
; 89.013 0xeeeeeeee,0x55555555,0x00000000,
; 89.014 0x99999999,0xffffffff,0x11111111,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 16
;
;
;Line# Block Source
; 89.015 0xeeeeeeee,0xbbbbbbbb,0x00000000,
; 89.016 0x99999999,0x99999999,0x99999999,
; 89.017 0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
; 89.018 0xbbbbbbbb,0xaaaaaaaa,0x99999999,
; 89.019 0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
; 89.020 };
; 89.021 #endif
; 89.022
; 89.023 0 #define NULL_WIDTH 32
; 89.024 0 #define NULL_HEIGHT 16
; 89.025 0 #define NULL_DEPTH 4
; 89.026 0 #define NULL_COMPRESSION 1
; 89.027 0 #define NULL_MASKING 0
; 89.028
; 89.029 0 #ifdef USE_NULL_HEADER
; 89.030 const struct BitMapHeader Null_header =
; 89.031 { 32,16,0,0,4,0,1,0,0,1,1,0,0 };
; 89.032 #endif
; 89.033
; 89.034 0 #ifdef USE_NULL_BODY
; 89.035 0 const UBYTE Null_body[320] = {
; 89.036 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.037 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.038 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.039 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.040 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.041 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.042 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.043 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.044 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.045 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.046 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.047 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.048 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.049 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.050 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.051 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.052 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.053 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.054 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.055 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.056 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 89.057 0 0x03,0x00,0x00,0x00,0x00, };
; 89.058 0 #endif
;133
;134 0 #define USE_NOUNIT_BODY
;135 0 #include "NoUnit.h"
;===> Including file "nounit.h"
; 90.001 0 #ifdef USE_NOUNIT_COLORS
; 90.002 const ULONG NoUnit_colors[48] =
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 17
;
;
;Line# Block Source
; 90.003 {
; 90.004 0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
; 90.005 0x00000000,0x00000000,0x00000000,
; 90.006 0xffffffff,0xffffffff,0xffffffff,
; 90.007 0x66666666,0x88888888,0xbbbbbbbb,
; 90.008 0x00000000,0x00000000,0xffffffff,
; 90.009 0xffffffff,0x00000000,0xffffffff,
; 90.010 0x00000000,0xffffffff,0xffffffff,
; 90.011 0xffffffff,0xffffffff,0xffffffff,
; 90.012 0x66666666,0x22222222,0x00000000,
; 90.013 0xeeeeeeee,0x55555555,0x00000000,
; 90.014 0x99999999,0xffffffff,0x11111111,
; 90.015 0xeeeeeeee,0xbbbbbbbb,0x00000000,
; 90.016 0x99999999,0x99999999,0x99999999,
; 90.017 0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
; 90.018 0xbbbbbbbb,0xaaaaaaaa,0x99999999,
; 90.019 0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
; 90.020 };
; 90.021 #endif
; 90.022
; 90.023 0 #define NOUNIT_WIDTH 32
; 90.024 0 #define NOUNIT_HEIGHT 16
; 90.025 0 #define NOUNIT_DEPTH 4
; 90.026 0 #define NOUNIT_COMPRESSION 1
; 90.027 0 #define NOUNIT_MASKING 0
; 90.028
; 90.029 0 #ifdef USE_NOUNIT_HEADER
; 90.030 const struct BitMapHeader NoUnit_header =
; 90.031 { 32,16,0,0,4,0,1,0,0,1,1,0,0 };
; 90.032 #endif
; 90.033
; 90.034 0 #ifdef USE_NOUNIT_BODY
; 90.035 0 const UBYTE NoUnit_body[320] = {
; 90.036 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.037 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.038 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.039 0 0x03,0x00,0x78,0x1e,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x78,0x1e,0x00,
; 90.040 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7c,0x3e,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.041 0 0x03,0x00,0x7c,0x3e,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7e,0x7e,0x00,
; 90.042 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7e,0x7e,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.043 0 0x03,0x00,0x3f,0xfc,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x3f,0xfc,0x00,
; 90.044 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x1f,0xf8,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.045 0 0x03,0x00,0x1f,0xf8,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x0f,0xf0,0x00,
; 90.046 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x0f,0xf0,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.047 0 0x03,0x00,0x07,0xe0,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x07,0xe0,0x00,
; 90.048 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x0f,0xf0,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.049 0 0x03,0x00,0x0f,0xf0,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x1f,0xf8,0x00,
; 90.050 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x1f,0xf8,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.051 0 0x03,0x00,0x3f,0xfc,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x3f,0xfc,0x00,
; 90.052 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7e,0x7e,0x00,0x03,0x00,0x00,0x00,0x00,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 18
;
;
;Line# Block Source
; 90.053 0 0x03,0x00,0x7e,0x7e,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7c,0x3e,0x00,
; 90.054 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7c,0x3e,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.055 0 0x03,0x00,0x78,0x1e,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x78,0x1e,0x00,
; 90.056 0 0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
; 90.057 0 0x03,0x00,0x00,0x00,0x00, };
; 90.058 0 #endif
;136
;137 0 #define USE_PROCESSOR_BODY
;138 0 #define USE_PROCESSOR_COLORS
;139 0 #include "Processor.h"
;===> Including file "processor.h"
; 91.001 0 #ifdef USE_PROCESSOR_COLORS
; 91.002 0 const ULONG Processor_colors[768] =
; 91.003 0 {
; 91.004 0 0x95959595,0x95959595,0x95959595,
; 91.005 0 0x00000000,0x00000000,0x00000000,
; 91.006 0 0xffffffff,0xffffffff,0xffffffff,
; 91.007 0 0x3b3b3b3b,0x67676767,0xa2a2a2a2,
; 91.008 0 0x7b7b7b7b,0x7b7b7b7b,0x7b7b7b7b,
; 91.009 0 0xafafafaf,0xafafafaf,0xafafafaf,
; 91.010 0 0xaaaaaaaa,0x90909090,0x7c7c7c7c,
; 91.011 0 0xffffffff,0xa9a9a9a9,0x97979797,
; 91.012 0 0x00000000,0x00000000,0xffffffff,
; 91.013 0 0x32323232,0x32323232,0x32323232,
; 91.014 0 0x60606060,0x80808080,0x60606060,
; 91.015 0 0xe2e2e2e2,0xd1d1d1d1,0x77777777,
; 91.016 0 0xffffffff,0xd4d4d4d4,0xcbcbcbcb,
; 91.017 0 0x7a7a7a7a,0x60606060,0x48484848,
; 91.018 0 0xd2d2d2d2,0xd2d2d2d2,0xd2d2d2d2,
; 91.019 0 0xe5e5e5e5,0x5d5d5d5d,0x5d5d5d5d,
; 91.020 0 0x00000000,0x00000000,0x00000000,
; 91.021 0 0xeeeeeeee,0x44444444,0x44444444,
; 91.022 0 0x00000000,0x00000000,0x00000000,
; 91.023 0 0xeeeeeeee,0xeeeeeeee,0xcccccccc,
; 91.024 0 0x44444444,0x44444444,0x44444444,
; 91.025 0 0x55555555,0x55555555,0x55555555,
; 91.026 0 0x66666666,0x66666666,0x66666666,
; 91.027 0 0x77777777,0x77777777,0x77777777,
; 91.028 0 0x88888888,0x88888888,0x88888888,
; 91.029 0 0x99999999,0x99999999,0x99999999,
; 91.030 0 0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
; 91.031 0 0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
; 91.032 0 0xcccccccc,0xcccccccc,0xcccccccc,
; 91.033 0 0xdddddddd,0xdddddddd,0xdddddddd,
; 91.034 0 0xeeeeeeee,0xeeeeeeee,0xeeeeeeee,
; 91.035 0 0xffffffff,0xffffffff,0xffffffff,
; 91.036 0 0x09090909,0x09090909,0x09090909,
; 91.037 0 0x00000000,0x20202020,0xc0c0c0c0,
; 91.038 0 0x1f1f1f1f,0x6f6f6f6f,0x0f0f0f0f,
; 91.039 0 0x23232323,0x06060606,0x2a2a2a2a,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 19
;
;
;Line# Block Source
; 91.040 0 0x07070707,0x07070707,0x47474747,
; 91.041 0 0x0a0a0a0a,0x5a5a5a5a,0xcacacaca,
; 91.042 0 0x0a0a0a0a,0x09090909,0x07070707,
; 91.043 0 0xffffffff,0x9a9a9a9a,0x09090909,
; 91.044 0 0x00000000,0x00000000,0x0f0f0f0f,
; 91.045 0 0xf3f3f3f3,0xe3e3e3e3,0x83838383,
; 91.046 0 0x06060606,0x08080808,0x16161616,
; 91.047 0 0x0e0e0e0e,0x4d4d4d4d,0x07070707,
; 91.048 0 0x0f0f0f0f,0x0d0d0d0d,0x1c1c1c1c,
; 91.049 0 0x07070707,0x96969696,0x84848484,
; 91.050 0 0x0d0d0d0d,0x0d0d0d0d,0x0d0d0d0d,
; 91.051 0 0x0e0e0e0e,0x05050505,0x05050505,
; 91.052 0 0x00000000,0x00000000,0x00000000,
; 91.053 0 0x0e0e0e0e,0x04040404,0x04040404,
; 91.054 0 0x00000000,0x00000000,0x00000000,
; 91.055 0 0x0e0e0e0e,0x0e0e0e0e,0x0c0c0c0c,
; 91.056 0 0x04040404,0x04040404,0x04040404,
; 91.057 0 0x05050505,0x05050505,0x05050505,
; 91.058 0 0x06060606,0x06060606,0x06060606,
; 91.059 0 0x07070707,0x07070707,0x07070707,
; 91.060 0 0x08080808,0x08080808,0x08080808,
; 91.061 0 0x09090909,0x09090909,0x09090909,
; 91.062 0 0x0a0a0a0a,0x0a0a0a0a,0x0a0a0a0a,
; 91.063 0 0x0b0b0b0b,0x0b0b0b0b,0x0b0b0b0b,
; 91.064 0 0xfcfcfcfc,0x0c0c0c0c,0x0c0c0c0c,
; 91.065 0 0x0d0d0d0d,0x0d0d0d0d,0x0d0d0d0d,
; 91.066 0 0x0e0e0e0e,0x0e0e0e0e,0x0e0e0e0e,
; 91.067 0 0x0f0f0f0f,0x0f0f0f0f,0x0f0f0f0f,
; 91.068 0 0x70707070,0x40404040,0x90909090,
; 91.069 0 0x50505050,0x22222222,0xcccccccc,
; 91.070 0 0x01010101,0x06060606,0x00000000,
; 91.071 0 0x02020202,0x00000000,0x02020202,
; 91.072 0 0x70707070,0x40404040,0x94949494,
; 91.073 0 0x50505050,0x25252525,0x8c8c8c8c,
; 91.074 0 0x00000000,0x00000000,0x00000000,
; 91.075 0 0x0f0f0f0f,0x09090909,0x00000000,
; 91.076 0 0x00000000,0x00000000,0x00000000,
; 91.077 0 0x0f0f0f0f,0x0e0e0e0e,0x08080808,
; 91.078 0 0x00000000,0x00000000,0x01010101,
; 91.079 0 0x00000000,0x04040404,0x00000000,
; 91.080 0 0x00000000,0x00000000,0x01010101,
; 91.081 0 0x00000000,0x09090909,0x08080808,
; 91.082 0 0xf0f0f0f0,0xf0f0f0f0,0xf0f0f0f0,
; 91.083 0 0x00000000,0x00000000,0xb0b0b0b0,
; 91.084 0 0x00000000,0x00000000,0x00000000,
; 91.085 0 0x00000000,0x00000000,0xb0b0b0b0,
; 91.086 0 0x00000000,0x10101010,0x00000000,
; 91.087 0 0x70707070,0x40404040,0x90909090,
; 91.088 0 0x50505050,0x50505050,0xc0c0c0c0,
; 91.089 0 0x70707070,0x40404040,0x90909090,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 20
;
;
;Line# Block Source
; 91.090 0 0x50505050,0x90909090,0xc0c0c0c0,
; 91.091 0 0x70707070,0x40404040,0x90909090,
; 91.092 0 0xa0a0a0a0,0xd0d0d0d0,0x40404040,
; 91.093 0 0x00000000,0x00000000,0xf0f0f0f0,
; 91.094 0 0x00000000,0x00000000,0x10101010,
; 91.095 0 0x00000000,0x00000000,0x10101010,
; 91.096 0 0x0f0f0f0f,0x00000000,0x10101010,
; 91.097 0 0x00000000,0x00000000,0x10101010,
; 91.098 0 0x00000000,0x00000000,0x10101010,
; 91.099 0 0x00000000,0x00000000,0x10101010,
; 91.100 0 0x07070707,0x04040404,0x19191919,
; 91.101 0 0x05050505,0x02020202,0x1c1c1c1c,
; 91.102 0 0x00000000,0x00000000,0x10101010,
; 91.103 0 0x00000000,0x00000000,0x10101010,
; 91.104 0 0x07070707,0x04040404,0x19191919,
; 91.105 0 0x05050505,0x02020202,0x18181818,
; 91.106 0 0x00000000,0x00000000,0x10101010,
; 91.107 0 0x00000000,0x00000000,0x10101010,
; 91.108 0 0x00000000,0x00000000,0x10101010,
; 91.109 0 0x00000000,0x00000000,0x10101010,
; 91.110 0 0x00000000,0x00000000,0x00000000,
; 91.111 0 0x00000000,0x00000000,0x00000000,
; 91.112 0 0x00000000,0x00000000,0x00000000,
; 91.113 0 0x00000000,0x00000000,0x00000000,
; 91.114 0 0x0f0f0f0f,0x0f0f0f0f,0x0f0f0f0f,
; 91.115 0 0x00000000,0x00000000,0x0b0b0b0b,
; 91.116 0 0x00000000,0x00000000,0x00000000,
; 91.117 0 0x00000000,0x00000000,0x0b0b0b0b,
; 91.118 0 0x00000000,0x01010101,0x00000000,
; 91.119 0 0x07070707,0x04040404,0x09090909,
; 91.120 0 0x05050505,0x05050505,0x0c0c0c0c,
; 91.121 0 0x07070707,0x04040404,0x09090909,
; 91.122 0 0x05050505,0x09090909,0x0c0c0c0c,
; 91.123 0 0x07070707,0x04040404,0x09090909,
; 91.124 0 0x0a0a0a0a,0x0d0d0d0d,0x04040404,
; 91.125 0 0x00000000,0x00000000,0x0f0f0f0f,
; 91.126 0 0xf0f0f0f0,0x00000000,0x01010101,
; 91.127 0 0x10101010,0x00000000,0x21212121,
; 91.128 0 0xf0f0f0f0,0x00000000,0x41414141,
; 91.129 0 0x50505050,0x00000000,0x61616161,
; 91.130 0 0x70707070,0x00000000,0x81818181,
; 91.131 0 0x90909090,0x00000000,0xa1a1a1a1,
; 91.132 0 0x30303030,0x00000000,0xc1c1c1c1,
; 91.133 0 0xd0d0d0d0,0x00000000,0xe1e1e1e1,
; 91.134 0 0xf0f0f0f0,0x10101010,0x01010101,
; 91.135 0 0x10101010,0x10101010,0x21212121,
; 91.136 0 0x30303030,0x10101010,0x41414141,
; 91.137 0 0x50505050,0x10101010,0x61616161,
; 91.138 0 0x70707070,0x10101010,0x81818181,
; 91.139 0 0x90909090,0x10101010,0xa1a1a1a1,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 21
;
;
;Line# Block Source
; 91.140 0 0xb0b0b0b0,0x10101010,0xc1c1c1c1,
; 91.141 0 0xd0d0d0d0,0x10101010,0xe1e1e1e1,
; 91.142 0 0x00000000,0x00000000,0x00000000,
; 91.143 0 0x00000000,0x00000000,0x00000000,
; 91.144 0 0x00000000,0x00000000,0x00000000,
; 91.145 0 0x00000000,0x00000000,0x00000000,
; 91.146 0 0x00000000,0x00000000,0x00000000,
; 91.147 0 0x00000000,0x00000000,0x00000000,
; 91.148 0 0x70707070,0x40404040,0x00000000,
; 91.149 0 0xa0a0a0a0,0x10101010,0x00000000,
; 91.150 0 0x00000000,0x00000000,0x00000000,
; 91.151 0 0x00000000,0x00000000,0x00000000,
; 91.152 0 0x00000000,0x00000000,0xf0f0f0f0,
; 91.153 0 0x00000000,0x00000000,0x80808080,
; 91.154 0 0xf0f0f0f0,0xf0f0f0f0,0xf0f0f0f0,
; 91.155 0 0x00000000,0x00000000,0x00000000,
; 91.156 0 0x10101010,0xc0c0c0c0,0x40404040,
; 91.157 0 0xf0f0f0f0,0x00000000,0x00000000,
; 91.158 0 0x0f0f0f0f,0x00000000,0x00000000,
; 91.159 0 0x01010101,0x00000000,0x02020202,
; 91.160 0 0x0f0f0f0f,0x00000000,0x04040404,
; 91.161 0 0x15151515,0xc0c0c0c0,0x46464646,
; 91.162 0 0x07070707,0x00000000,0x08080808,
; 91.163 0 0x09090909,0x00000000,0x0a0a0a0a,
; 91.164 0 0x03030303,0x00000000,0x0c0c0c0c,
; 91.165 0 0x0d0d0d0d,0x00000000,0x0e0e0e0e,
; 91.166 0 0x0f0f0f0f,0x01010101,0x40404040,
; 91.167 0 0x11111111,0x01010101,0x02020202,
; 91.168 0 0x73737373,0x41414141,0x94949494,
; 91.169 0 0xa5a5a5a5,0x01010101,0x86868686,
; 91.170 0 0x07070707,0x01010101,0x08080808,
; 91.171 0 0x09090909,0x01010101,0x8a8a8a8a,
; 91.172 0 0x0b0b0b0b,0x01010101,0x0c0c0c0c,
; 91.173 0 0x0d0d0d0d,0x41414141,0x3e3e3e3e,
; 91.174 0 0x70707070,0x40404040,0x80808080,
; 91.175 0 0xe0e0e0e0,0x80808080,0x40404040,
; 91.176 0 0x70707070,0x40404040,0x80808080,
; 91.177 0 0x70707070,0x70707070,0x40404040,
; 91.178 0 0x70707070,0x40404040,0x90909090,
; 91.179 0 0x60606060,0x20202020,0x00000000,
; 91.180 0 0x77777777,0x44444444,0xa0a0a0a0,
; 91.181 0 0x7a7a7a7a,0xf1f1f1f1,0xc0c0c0c0,
; 91.182 0 0x00000000,0x00000000,0x00000000,
; 91.183 0 0xc0c0c0c0,0x50505050,0x00000000,
; 91.184 0 0x70707070,0x40404040,0x9f9f9f9f,
; 91.185 0 0xa0a0a0a0,0xb0b0b0b0,0x48484848,
; 91.186 0 0x0f0f0f0f,0x0f0f0f0f,0x0f0f0f0f,
; 91.187 0 0x00000000,0x20202020,0x40404040,
; 91.188 0 0x01010101,0x0c0c0c0c,0x04040404,
; 91.189 0 0x0f0f0f0f,0x00000000,0x00000000,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 22
;
;
;Line# Block Source
; 91.190 0 0x00000000,0x00000000,0x00000000,
; 91.191 0 0x00000000,0x00000000,0x00000000,
; 91.192 0 0x10101010,0x60606060,0xd0d0d0d0,
; 91.193 0 0x91919191,0x5c5c5c5c,0x44444444,
; 91.194 0 0x30303030,0x50505050,0x00000000,
; 91.195 0 0xa0a0a0a0,0x60606060,0x40404040,
; 91.196 0 0x50505050,0x70707070,0x60606060,
; 91.197 0 0x30303030,0x20202020,0xf0f0f0f0,
; 91.198 0 0xe0e0e0e0,0x60606060,0x54545454,
; 91.199 0 0x41414141,0x60606060,0x90909090,
; 91.200 0 0xe7e7e7e7,0x64646464,0x69696969,
; 91.201 0 0xfafafafa,0x20202020,0xe8e8e8e8,
; 91.202 0 0x40404040,0x60606060,0x50505050,
; 91.203 0 0x60606060,0x60606060,0x98989898,
; 91.204 0 0x30303030,0x60606060,0x50505050,
; 91.205 0 0x00000000,0x04040404,0x03030303,
; 91.206 0 0x07070707,0x04040404,0x08080808,
; 91.207 0 0x0e0e0e0e,0x08080808,0x04040404,
; 91.208 0 0xe7e7e7e7,0xf4f4f4f4,0x98989898,
; 91.209 0 0x77777777,0x47474747,0xa4a4a4a4,
; 91.210 0 0xb7b7b7b7,0x34343434,0xc9c9c9c9,
; 91.211 0 0xe6e6e6e6,0xf2f2f2f2,0x90909090,
; 91.212 0 0x77777777,0x44444444,0xaaaaaaaa,
; 91.213 0 0xa7a7a7a7,0xffffffff,0xcccccccc,
; 91.214 0 0xe0e0e0e0,0xf0f0f0f0,0x90909090,
; 91.215 0 0x7c7c7c7c,0x45454545,0xa0a0a0a0,
; 91.216 0 0xa7a7a7a7,0xf4f4f4f4,0x89898989,
; 91.217 0 0xeaeaeaea,0xfbfbfbfb,0x94949494,
; 91.218 0 0x70707070,0x40404040,0xa0a0a0a0,
; 91.219 0 0xa0a0a0a0,0x62626262,0xe4e4e4e4,
; 91.220 0 0xe0e0e0e0,0xf0f0f0f0,0x90909090,
; 91.221 0 0x70707070,0x40404040,0xa0a0a0a0,
; 91.222 0 0xa0a0a0a0,0x10101010,0xc0c0c0c0,
; 91.223 0 0xe0e0e0e0,0xf0f0f0f0,0x90909090,
; 91.224 0 0x71717171,0x46464646,0xadadadad,
; 91.225 0 0x89898989,0xd5d5d5d5,0xc4c4c4c4,
; 91.226 0 0x73737373,0x45454545,0x00000000,
; 91.227 0 0x9a9a9a9a,0x56565656,0xa4a4a4a4,
; 91.228 0 0x75757575,0x47474747,0x56565656,
; 91.229 0 0x63636363,0x82828282,0xcfcfcfcf,
; 91.230 0 0x9e9e9e9e,0x06060606,0x05050505,
; 91.231 0 0x74747474,0x46464646,0x99999999,
; 91.232 0 0xaeaeaeae,0xc6c6c6c6,0x86868686,
; 91.233 0 0x4f4f4f4f,0x02020202,0x0e0e0e0e,
; 91.234 0 0x04040404,0x26262626,0x45454545,
; 91.235 0 0x06060606,0xb6b6b6b6,0xc9c9c9c9,
; 91.236 0 0x03030303,0x06060606,0x45454545,
; 91.237 0 0x00000000,0x00000000,0x10101010,
; 91.238 0 0x70707070,0x40404040,0xa0a0a0a0,
; 91.239 0 0x80808080,0x30303030,0xa0a0a0a0,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 23
;
;
;Line# Block Source
; 91.240 0 0x4e4e4e4e,0x2f2f2f2f,0x89898989,
; 91.241 0 0x07070707,0x04040404,0x0a0a0a0a,
; 91.242 0 0x0b0b0b0b,0x03030303,0x1c1c1c1c,
; 91.243 0 0x1e1e1e1e,0xdfdfdfdf,0x29292929,
; 91.244 0 0x17171717,0xf4f4f4f4,0xfafafafa,
; 91.245 0 0x0a0a0a0a,0x0f0f0f0f,0x0c0c0c0c,
; 91.246 0 0x0e0e0e0e,0x0f0f0f0f,0x09090909,
; 91.247 0 0x07070707,0x04040404,0x0a0a0a0a,
; 91.248 0 0x0a0a0a0a,0x0f0f0f0f,0x08080808,
; 91.249 0 0xfefefefe,0x0f0f0f0f,0x09090909,
; 91.250 0 0x07070707,0x04040404,0x0a0a0a0a,
; 91.251 0 0x0a0a0a0a,0x06060606,0x0e0e0e0e,
; 91.252 0 0x0e0e0e0e,0x0f0f0f0f,0x09090909,
; 91.253 0 0x77777777,0x44444444,0x9a9a9a9a,
; 91.254 0 0x6a6a6a6a,0x91919191,0xecececec,
; 91.255 0 0x0e0e0e0e,0x0f0f0f0f,0x09090909,
; 91.256 0 0x07070707,0x04040404,0x0a0a0a0a,
; 91.257 0 0x78787878,0x4d4d4d4d,0x9c9c9c9c,
; 91.258 0 0x67676767,0x94949494,0xa0a0a0a0,
; 91.259 0 0x09090909,0x05050505,0x0a0a0a0a,
; 91.260 0 };
; 91.261 0 #endif
; 91.262
; 91.263 0 #define PROCESSOR_WIDTH 32
; 91.264 0 #define PROCESSOR_HEIGHT 16
; 91.265 0 #define PROCESSOR_DEPTH 8
; 91.266 0 #define PROCESSOR_COMPRESSION 1
; 91.267 0 #define PROCESSOR_MASKING 0
; 91.268
; 91.269 0 #ifdef USE_PROCESSOR_HEADER
; 91.270 const struct BitMapHeader Processor_header =
; 91.271 { 32,16,0,0,8,0,1,0,0,1,1,0,0 };
; 91.272 #endif
; 91.273
; 91.274 0 #ifdef USE_PROCESSOR_BODY
; 91.275 0 const UBYTE Processor_body[381] = {
; 91.276 0 0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
; 91.277 0 0x00,0xfd,0x00,0x03,0x07,0xff,0xff,0xc0,0x03,0x01,0x11,0x11,0x20,0xfd,0x00,
; 91.278 0 0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x01,0x54,0x10,0x20,0x03,0x05,
; 91.279 0 0x77,0xfb,0xe0,0x03,0x05,0xfe,0xfe,0xc0,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
; 91.280 0 0x00,0xfd,0x00,0x03,0x00,0x05,0xe5,0xa0,0x03,0x05,0xf4,0x78,0x40,0x03,0x11,
; 91.281 0 0x74,0x52,0x50,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x00,
; 91.282 0 0x7a,0x00,0x60,0x03,0x05,0x83,0xee,0x40,0x03,0x01,0x05,0xea,0x58,0xfd,0x00,
; 91.283 0 0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x00,0x5c,0x3b,0xa0,0x03,0x05,
; 91.284 0 0x15,0x44,0xc0,0x03,0x11,0x25,0x00,0x50,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
; 91.285 0 0x00,0xfd,0x00,0x03,0x00,0x7a,0xba,0xa0,0x03,0x07,0x27,0x44,0xc0,0x03,0x07,
; 91.286 0 0x06,0x01,0x50,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x01,
; 91.287 0 0x7b,0xbb,0xa0,0x03,0x07,0x83,0x04,0xd0,0x03,0x13,0x82,0x00,0x48,0xfd,0x00,
; 91.288 0 0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x00,0x04,0x00,0xa0,0x03,0x07,
; 91.289 0 0x9d,0xf8,0xc0,0x03,0x06,0x1d,0xc0,0xd0,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 24
;
;
;Line# Block Source
; 91.290 0 0x00,0xfd,0x00,0x03,0x00,0xe5,0x3f,0xa0,0x03,0x05,0x2b,0xc1,0xc0,0x03,0x03,
; 91.291 0 0x23,0xc0,0xd0,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x00,
; 91.292 0 0xed,0x35,0xa0,0x03,0x07,0x3a,0xf5,0xd0,0x03,0x06,0x32,0x8a,0xc0,0xfd,0x00,
; 91.293 0 0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x00,0x0f,0xeb,0x20,0x03,0x04,
; 91.294 0 0x85,0x41,0x80,0x03,0x03,0x75,0x41,0xd8,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
; 91.295 0 0x00,0xfd,0x00,0x03,0x03,0xfa,0xab,0xe0,0x03,0x02,0x07,0xfe,0x10,0x02,0x08,
; 91.296 0 0x00,0x40,0x00,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x02,
; 91.297 0 0x00,0x0f,0xff,0x00,0x00,0x03,0x01,0x5d,0x55,0x50,0x03,0x12,0xa0,0x00,0xa0,
; 91.298 0 0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x02,0x00,0x00,
; 91.299 0 0x24,0x00,0x00,0x03,0x00,0x0f,0xdb,0x10,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
; 91.300 0 0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,
; 91.301 0 0xfd,0x00,0xfd,0x00,0x00,0x00, };
; 91.302 0 #endif
;140
;141 0 #define USE_SCANNER_BODY
;142 0 #define USE_SCANNER_COLORS
;143 0 #include "Scanner.h"
;===> Including file "scanner.h"
; 92.001 0 #ifdef USE_SCANNER_COLORS
; 92.002 0 const ULONG Scanner_colors[48] =
; 92.003 0 {
; 92.004 0 0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
; 92.005 0 0x00000000,0x00000000,0x00000000,
; 92.006 0 0xffffffff,0xffffffff,0xffffffff,
; 92.007 0 0x66666666,0x88888888,0xbbbbbbbb,
; 92.008 0 0x00000000,0x00000000,0xffffffff,
; 92.009 0 0xffffffff,0x00000000,0xffffffff,
; 92.010 0 0x00000000,0xffffffff,0xffffffff,
; 92.011 0 0xffffffff,0xffffffff,0xffffffff,
; 92.012 0 0x66666666,0x22222222,0x00000000,
; 92.013 0 0xeeeeeeee,0x55555555,0x00000000,
; 92.014 0 0x99999999,0xffffffff,0x11111111,
; 92.015 0 0xeeeeeeee,0xbbbbbbbb,0x00000000,
; 92.016 0 0x99999999,0x99999999,0x99999999,
; 92.017 0 0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
; 92.018 0 0xbbbbbbbb,0xaaaaaaaa,0x99999999,
; 92.019 0 0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
; 92.020 0 };
; 92.021 0 #endif
; 92.022
; 92.023 0 #define SCANNER_WIDTH 34
; 92.024 0 #define SCANNER_HEIGHT 22
; 92.025 0 #define SCANNER_DEPTH 4
; 92.026 0 #define SCANNER_COMPRESSION 1
; 92.027 0 #define SCANNER_MASKING 0
; 92.028
; 92.029 0 #ifdef USE_SCANNER_HEADER
; 92.030 const struct BitMapHeader Scanner_header =
; 92.031 { 34,22,0,0,4,0,1,0,0,1,1,0,0 };
; 92.032 #endif
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 25
;
;
;Line# Block Source
; 92.033
; 92.034 0 #ifdef USE_SCANNER_BODY
; 92.035 0 const UBYTE Scanner_body[616] = {
; 92.036 0 0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
; 92.037 0 0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,
; 92.038 0 0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x01,0xff,
; 92.039 0 0xff,0xff,0x00,0x00,0x05,0x01,0xff,0xff,0xff,0x00,0x00,0x05,0x07,0xff,0xff,
; 92.040 0 0xff,0x80,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x06,0x00,0x00,0x00,
; 92.041 0 0x80,0x00,0x05,0x06,0x00,0x00,0x00,0x80,0x00,0x05,0x1e,0x00,0x00,0x07,0x80,
; 92.042 0 0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x19,0xff,0xff,0xf8,0x00,0x00,
; 92.043 0 0x05,0x19,0xff,0xff,0xf8,0x00,0x00,0x05,0x18,0x00,0x00,0x1f,0x80,0x00,0x05,
; 92.044 0 0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x07,0xff,0xff,0xe4,0x00,0x00,0x05,0x07,
; 92.045 0 0xff,0xff,0xe4,0x00,0x00,0x05,0x20,0x00,0x00,0x3e,0x80,0x00,0x05,0x00,0x00,
; 92.046 0 0x00,0x00,0x00,0x00,0x05,0x1f,0xff,0xff,0xd9,0x00,0x00,0x05,0x1f,0xff,0xff,
; 92.047 0 0xd9,0x00,0x00,0x05,0x3f,0xff,0xff,0xdc,0x80,0x00,0x05,0x00,0x00,0x00,0x00,
; 92.048 0 0x00,0x00,0x05,0x40,0x00,0x00,0x33,0x00,0x00,0x05,0x40,0x00,0x00,0x33,0x00,
; 92.049 0 0x00,0x05,0x1b,0xff,0xff,0xac,0x80,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,
; 92.050 0 0x05,0x64,0x00,0x00,0x73,0x00,0x00,0x05,0x64,0x00,0x00,0x73,0x00,0x00,0x05,
; 92.051 0 0x34,0x00,0x00,0x58,0x80,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x2f,
; 92.052 0 0xff,0xff,0xe7,0x00,0x00,0x05,0x2f,0xff,0xff,0xe7,0x00,0x00,0x05,0x2f,0xff,
; 92.053 0 0xff,0xf2,0x80,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x1f,0xff,0xff,
; 92.054 0 0xcd,0x00,0x00,0x05,0x1f,0xff,0xff,0xcd,0x00,0x00,0x05,0x7f,0xff,0xff,0xe6,
; 92.055 0 0x80,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x19,0x00,
; 92.056 0 0x00,0x05,0x00,0x00,0x00,0x19,0x00,0x00,0x05,0x7f,0xff,0xff,0xee,0x80,0x00,
; 92.057 0 0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x3f,0xff,0xff,0xd1,0x00,0x00,0x05,
; 92.058 0 0x3f,0xff,0xff,0xd1,0x00,0x00,0x05,0x7f,0xff,0xff,0xee,0x80,0x00,0x05,0x31,
; 92.059 0 0xff,0xff,0xc0,0x00,0x00,0x05,0x3f,0xff,0xff,0xd1,0x00,0x00,0x05,0x0e,0x00,
; 92.060 0 0x00,0x11,0x00,0x00,0x05,0x7f,0xff,0xff,0xec,0x00,0x00,0x05,0x20,0x00,0x00,
; 92.061 0 0x00,0x00,0x00,0x05,0x31,0xff,0xff,0xd3,0x80,0x00,0x05,0x1f,0xff,0xff,0xd3,
; 92.062 0 0x80,0x00,0x05,0x7f,0xff,0xff,0xe9,0x00,0x00,0x05,0x20,0x00,0x00,0x00,0x00,
; 92.063 0 0x00,0x05,0x31,0xff,0xff,0xd6,0x00,0x00,0x05,0x1f,0xff,0xff,0xd6,0x00,0x00,
; 92.064 0 0x05,0x71,0xff,0xf8,0x62,0x00,0x00,0x05,0x2e,0x00,0x00,0x00,0x00,0x00,0x05,
; 92.065 0 0x31,0xff,0xff,0xdc,0x00,0x00,0x05,0x1f,0xff,0xff,0xdc,0x00,0x00,0x05,0x71,
; 92.066 0 0xff,0xfb,0x66,0x00,0x00,0x05,0x2e,0x00,0x00,0x00,0x00,0x00,0x05,0x31,0xff,
; 92.067 0 0xfc,0xda,0x00,0x00,0x05,0x1f,0xff,0xfc,0xda,0x00,0x00,0x05,0x71,0xff,0xfb,
; 92.068 0 0x68,0x00,0x00,0x05,0x20,0x00,0x00,0x00,0x00,0x00,0x05,0x3f,0xff,0xfc,0xd4,
; 92.069 0 0x00,0x00,0x05,0x1f,0xff,0xfc,0xd4,0x00,0x00,0x05,0x7f,0xff,0xff,0xe0,0x00,
; 92.070 0 0x00,0x05,0x20,0x00,0x00,0x00,0x00,0x00,0x05,0x3f,0xff,0xff,0xd8,0x00,0x00,
; 92.071 0 0x05,0x1f,0xff,0xff,0xd8,0x00,0x00,0x05,0x7f,0xff,0xff,0xf0,0x00,0x00,0x05,
; 92.072 0 0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x3f,0xff,0xff,0xc0,0x00,0x00,0x05,0x3f,
; 92.073 0 0xff,0xff,0xc0,0x00,0x00,0x05,0x7f,0xff,0xff,0xe0,0x00,0x00,0x05,0x00,0x00,
; 92.074 0 0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,
; 92.075 0 0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,
; 92.076 0 0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,
; 92.077 0 0x00, };
; 92.078 0 #endif
;144
;145 0 #define USE_SCSI_BODY
;146 0 #define USE_SCSI_COLORS
;147 0 #include "ScsiImage.h"
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 26
;
;
;Line# Block Source
;===> Including file "scsiimage.h"
; 93.001 0 #ifdef USE_SCSI_COLORS
; 93.002 0 const ULONG Scsi_colors[48] =
; 93.003 0 {
; 93.004 0 0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
; 93.005 0 0x00000000,0x00000000,0x00000000,
; 93.006 0 0xffffffff,0xffffffff,0xffffffff,
; 93.007 0 0x66666666,0x88888888,0xbbbbbbbb,
; 93.008 0 0x00000000,0x00000000,0xffffffff,
; 93.009 0 0xffffffff,0x00000000,0xffffffff,
; 93.010 0 0x00000000,0xffffffff,0xffffffff,
; 93.011 0 0xffffffff,0xffffffff,0xffffffff,
; 93.012 0 0x66666666,0x22222222,0x00000000,
; 93.013 0 0xeeeeeeee,0x55555555,0x00000000,
; 93.014 0 0x99999999,0xffffffff,0x11111111,
; 93.015 0 0xeeeeeeee,0xbbbbbbbb,0x00000000,
; 93.016 0 0x99999999,0x99999999,0x99999999,
; 93.017 0 0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
; 93.018 0 0xbbbbbbbb,0xaaaaaaaa,0x99999999,
; 93.019 0 0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
; 93.020 0 };
; 93.021 0 #endif
; 93.022
; 93.023 0 #define SCSI_WIDTH 30
; 93.024 0 #define SCSI_HEIGHT 32
; 93.025 0 #define SCSI_DEPTH 4
; 93.026 0 #define SCSI_COMPRESSION 1
; 93.027 0 #define SCSI_MASKING 0
; 93.028
; 93.029 0 #ifdef USE_SCSI_HEADER
; 93.030 const struct BitMapHeader Scsi_header =
; 93.031 { 30,32,0,0,4,0,1,0,0,1,1,0,0 };
; 93.032 #endif
; 93.033
; 93.034 0 #ifdef USE_SCSI_BODY
; 93.035 0 const UBYTE Scsi_body[640] = {
; 93.036 0 0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,
; 93.037 0 0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x00,0x00,0x00,
; 93.038 0 0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x03,0x80,0x03,
; 93.039 0 0x03,0x00,0x01,0x00,0x00,0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x00,0x00,0x03,
; 93.040 0 0x03,0x00,0x07,0xc0,0x03,0x03,0x00,0x02,0x80,0x00,0x03,0x00,0x03,0x80,0x03,
; 93.041 0 0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x0e,0xe0,0x03,0x03,0x00,0x04,0x40,0x00,
; 93.042 0 0x03,0x00,0x07,0xc0,0x03,0x03,0x00,0x03,0x80,0x03,0x03,0x00,0x1c,0x70,0x03,
; 93.043 0 0x03,0x00,0x08,0x20,0x00,0x03,0x00,0x0f,0xe0,0x03,0x03,0x00,0x07,0xc0,0x03,
; 93.044 0 0x03,0x00,0x38,0x38,0x03,0x03,0x00,0x10,0x10,0x00,0x03,0x00,0x1f,0xf0,0x03,
; 93.045 0 0x03,0x00,0x0f,0xe0,0x03,0x03,0x00,0x71,0x1c,0x03,0x03,0x00,0x20,0x08,0x00,
; 93.046 0 0x03,0x00,0x3e,0xf8,0x03,0x03,0x00,0x1e,0xf0,0x03,0x03,0x00,0xe2,0x8e,0x03,
; 93.047 0 0x03,0x00,0x40,0x04,0x00,0x03,0x00,0x7c,0x7c,0x03,0x03,0x00,0x3c,0x78,0x03,
; 93.048 0 0x03,0x01,0xc4,0x47,0x03,0x03,0x00,0x80,0x02,0x00,0x03,0x00,0xf8,0x3e,0x03,
; 93.049 0 0x03,0x00,0x78,0x3c,0x03,0x03,0x03,0x88,0x23,0x83,0x03,0x01,0x00,0x01,0x00,
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 27
;
;
;Line# Block Source
; 93.050 0 0x03,0x01,0xf0,0x1f,0x03,0x03,0x00,0xf0,0x1e,0x03,0x03,0x07,0x10,0x1f,0x83,
; 93.051 0 0x03,0x02,0x00,0x00,0x00,0x03,0x03,0xe0,0x00,0x03,0x03,0x01,0xe0,0x00,0x03,
; 93.052 0 0x03,0x0e,0x20,0x00,0x03,0x03,0x04,0x00,0x00,0x00,0x03,0x07,0xc0,0x00,0x03,
; 93.053 0 0x03,0x03,0xc0,0x00,0x03,0x03,0x1c,0x40,0x00,0x03,0x03,0x08,0x00,0x00,0x00,
; 93.054 0 0x03,0x0f,0x80,0x00,0x03,0x03,0x07,0x80,0x00,0x03,0x03,0x38,0x80,0xff,0xfb,
; 93.055 0 0x03,0x10,0x00,0x00,0x00,0x03,0x1f,0x00,0x00,0x03,0x03,0x0f,0x00,0x00,0x03,
; 93.056 0 0x03,0x71,0x00,0xff,0xfb,0x03,0x20,0x00,0x7f,0xf0,0x03,0x3e,0x00,0x7f,0xf3,
; 93.057 0 0x03,0x1e,0x00,0x00,0x03,0x03,0x71,0x00,0x80,0x0b,0x03,0x20,0x00,0x00,0x00,
; 93.058 0 0x03,0x3e,0x00,0x7f,0xf3,0x03,0x1e,0x00,0x7f,0xf3,0x03,0x38,0x80,0xff,0xfb,
; 93.059 0 0x03,0x10,0x00,0x00,0x00,0x03,0x1f,0x00,0x00,0x03,0x03,0x0f,0x00,0x00,0x03,
; 93.060 0 0x03,0x1c,0x40,0x00,0x03,0x03,0x08,0x00,0x00,0x00,0x03,0x0f,0x80,0x00,0x03,
; 93.061 0 0x03,0x07,0x80,0x00,0x03,0x03,0x0e,0x20,0x00,0x03,0x03,0x04,0x00,0x00,0x00,
; 93.062 0 0x03,0x07,0xc0,0x00,0x01,0x03,0x03,0xc0,0x00,0x01,0x03,0x07,0x10,0x1f,0x83,
; 93.063 0 0x03,0x02,0x00,0x00,0x00,0x03,0x03,0xe0,0x00,0x01,0x03,0x01,0xe0,0x00,0x01,
; 93.064 0 0x03,0x03,0x88,0x23,0x83,0x03,0x01,0x00,0x01,0x00,0x03,0x01,0xf0,0x1f,0x01,
; 93.065 0 0x03,0x00,0xf0,0x1e,0x01,0x03,0x01,0xc4,0x47,0x03,0x03,0x00,0x80,0x02,0x00,
; 93.066 0 0x03,0x00,0xf8,0x3e,0x01,0x03,0x00,0x78,0x3c,0x01,0x03,0x00,0xe2,0x8e,0x03,
; 93.067 0 0x03,0x00,0x40,0x04,0x00,0x03,0x00,0x7c,0x7c,0x03,0x03,0x00,0x3c,0x78,0x03,
; 93.068 0 0x03,0x00,0x71,0x1c,0x03,0x03,0x00,0x20,0x08,0x00,0x03,0x00,0x3e,0xf8,0x03,
; 93.069 0 0x03,0x00,0x1e,0xf0,0x03,0x03,0x00,0x38,0x38,0x03,0x03,0x00,0x10,0x10,0x00,
; 93.070 0 0x03,0x00,0x1f,0xf0,0x03,0x03,0x00,0x0f,0xe0,0x03,0x03,0x00,0x1c,0x70,0x03,
; 93.071 0 0x03,0x00,0x08,0x20,0x00,0x03,0x00,0x0f,0xe0,0x03,0x03,0x00,0x07,0xc0,0x03,
; 93.072 0 0x03,0x00,0x0e,0xe0,0x03,0x03,0x00,0x04,0x40,0x00,0x03,0x00,0x07,0xc0,0x03,
; 93.073 0 0x03,0x00,0x03,0x80,0x03,0x03,0x00,0x07,0xc0,0x03,0x03,0x00,0x02,0x80,0x00,
; 93.074 0 0x03,0x00,0x03,0x80,0x03,0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x03,0x80,0x03,
; 93.075 0 0x03,0x00,0x01,0x00,0x00,0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x00,0x00,0x03,
; 93.076 0 0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,
; 93.077 0 0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,
; 93.078 0 0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x03, };
; 93.079 0 #endif
;148
;149 /*------------------------------------------------------------------------*/
;150
;151 0 #ifndef MAKE_ID
;152 0 #define MAKE_ID(a,b,c,d) ((ULONG) (a)<<24 | (ULONG) (b)<<16 | (ULONG) (c)<<8 | (
; ..... ULONG) (d))
;153 0 #endif
;154
;219 0 End,
;220
;221
;222 /*------------------------------------------------------------------------*/
;223
;224 0 struct MUI_CustomClass *CL_ScsiList;
;225 0 struct LocaleInfo li;
;226
;227 0 APTR app;
;228 0 APTR win1;
;229 0 enum { ID_OK = 1, ID_SELECT, ID_Dev };
;230 0 static APTR lv_tools;
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 28
;
;
;Line# Block Source
;231 0 static APTR lv_scsi;
;232 0 static APTR pg_group;
;233 0 static APTR cycle;
;234 0 char *DevList[20];
;235 0 int totitem = 0;
;236 0 struct ScsiList_Data
;237 0 {
;238 0 Object *SL_OImage_CD;
;239 0 Object *SL_OImage_HD;
;240 0 Object *SL_OImage_RD;
;241 0 Object *SL_OImage_SC;
;242 0 Object *SL_OImage_NO;
;243 0 Object *SL_OImage_NL;
;244 0 Object *SL_OImage_PR;
;245 0 APTR SL_Image_CD;
;246 0 APTR SL_Image_HD;
;247 0 APTR SL_Image_RD;
;248 0 APTR SL_Image_SC;
;249 0 APTR SL_Image_NO;
;250 0 APTR SL_Image_NL;
;251 0 APTR SL_Image_PR;
;252 0 struct Hook DisplayHook;
;253 0 };
;254 0 struct ScsiUnitData
;255 0 {
;256 0 int SUD_Unit; /* Unit Id Number */
;257 0 char *SUD_Vendor; /* Vendor Name */
;258 0 char *SUD_Product; /* Product Name */
;259 0 char *SUD_Revision; /* Product Revision Id */
;260 0 int SUD_Dev_type; /* Type of Device */
;261 0 int SUD_Standard; /* Device Standard */
;262 0 BOOL SUD_Removable; /* Removable Media ? */
;263 0 BOOL SUD_Rel_Addr; /* Relative Addressing ? */
;264 0 BOOL SUD_16Wide_Addr; /* 16 Bit Wide Addressing ? */
;265 0 BOOL SUD_32Wide_Addr; /* 16 Bit Wide Addressing ? */
;266 0 };
;267 0 struct MsgPort *replymp;
;268 0 struct IOStdReq *scsi_req;
;269 0 struct SCSICmd scsi_cmd;
;270 0 UBYTE *scsi_sense;
;271 0 UBYTE *scsi_data = NULL;
;272 0 static char *Units[] = { NULL, "0", "1", "2", "3", "4", "5", "6", NULL }
; ..... ;
;273 0 static APTR Sl_Product[8];
;274 0 static APTR Sl_Vendor[8];
;275 0 static APTR Sl_Revision[8];
;276 0 static APTR Sl_DevType[8];
;277 0 static APTR Sl_Standard[8];
;278 0 static APTR Sl_Removable[8];
;279 0 static APTR Sl_Rel_Addr[8];
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 29
;
;
;Line# Block Source
;280 0 static APTR Sl_16Wide_Addr[8];
;281 0 static APTR Sl_32Wide_Addr[8];
;282
;283 /*------------------------------------------------------------------------*/
;284
;285 0 ULONG __stdargs DoSuperNew(struct IClass *cl,Object *obj,ULONG tag1,...)
;286 0 {
;287 1 return(DoSuperMethod(cl,obj,OM_NEW,&tag1,NULL));
;288 1 }
;289
;290 /*------------------------------------------------------------------------*/
;291
;292 0 void main(int argc, char **argv)
;293 0 {
;294 1 ULONG signals;
;295 1 BOOL running = TRUE;
;296 1 ULONG entry = 0;
;297
;298 1 if (!(li.li_LocaleBase = LocaleBase = OpenLibrary("locale.library",0L)))
;299 1 BailOut(NULL, "Unable to open locale.library");
;300
;301 1 if ((IconBase = OpenLibrary("icon.library",0L)) == NULL)
;302 1 BailOut(NULL, GetString(&li, MSG_Unable_to_Open_icon));
;303
;304 1 GetDevList(argc,argv);
;305
;306 1 li.li_Catalog = OpenCatalog(NULL, "Scsi_List.catalog", TAG_DONE);
;307
;308 1 if (!(MUIMasterBase = OpenLibrary(MUIMASTER_NAME,MUIMASTER_VMIN)))
;309 1 BailOut(NULL, GetString(&li, MSG_Unable_to_Open_MUI));
;310
;311 1 Units[0] = (char *)AllocMem(strlen(GetString(&li, MSG_List)) + 1, MEMF_ANY|M
; ..... EMF_CLEAR);
;312 1 strcpy(Units[0], GetString(&li, MSG_List));
;313
;314 1 if (!(InitClasses()))
;315 1 BailOut(NULL, GetString(&li, MSG_Unable_to_Create_Cust_Class));
;316
;317 1 app = ApplicationObject,
;318 1 MUIA_Application_Title, "Scsi List",
;319 1 MUIA_Application_Version, "$VER: Scsi_List 1.5 (5.9.96)",
;320 1 MUIA_Application_Copyright, "@1996, Richard Sellens",
;321 1 MUIA_Application_Author, "Richard Sellens",
;322 1 MUIA_Application_Description, "Show SCSI Devices",
;323 1 MUIA_Application_Base, "SCSI",
;324
;325 1 MUIA_Application_Window, win1 = WindowObject,
;326 1 MUIA_Window_Title, "Scsi List",
;327 1 MUIA_Window_ID , MAKE_ID('S','C','S','I'),
;328
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 30
;
;
;Line# Block Source
;329 1 WindowContents, VGroup,
;330 1 Child, HGroup, GroupFrame,
;331 1 MUIA_Weight, 100,
;332 1 Child, BodychunkObject, MUIA_FixWidth, SCSI_WIDTH,
;333 1 MUIA_FixHeight, SCSI_HEIGHT,
;334 1 MUIA_Bitmap_Width, SCSI_WIDTH,
;335 1 MUIA_Bitmap_Height, SCSI_HEIGHT,
;336 1 MUIA_Bodychunk_Depth, SCSI_DEPTH,
;337 1 MUIA_Bodychunk_Body, (UBYTE *)Scsi_body,
;338 1 MUIA_Bodychunk_Compression, SCSI_COMPRESSION,
;339 1 MUIA_Bodychunk_Masking, SCSI_MASKING,
;340 1 MUIA_Bitmap_SourceColors, (ULONG *)Scsi_colors,
;341 1 MUIA_Bitmap_Transparent, 0,
;342 1 End,
;343 1 Child, ColGroup(2),
;344 1 Child, Label1(GetString(&li, MSG_Device)),
;345 1 Child, cycle = Cycle(DevList),
;346 1 End,
;347 1 End,
;348 1 Child, pg_group = RegisterGroup(Units),
;349 1 MUIA_Register_Frame, TRUE,
;350 1 Child, lv_tools = ListviewObject,
;351 1 MUIA_Weight, 120,
;352 1 MUIA_CycleChain, 1,
;353 1 MUIA_Listview_Input, TRUE,
;354 1 ReadListFrame,
;355 1 MUIA_Listview_List, lv_scsi = NewObject(CL_ScsiList-
; ..... >mcc_Class, NULL, TAG_DONE),
;356 1 End,
;357 1 MAKE_PAGE(1)
;358 1 MAKE_PAGE(2)
;359 1 MAKE_PAGE(3)
;360 1 MAKE_PAGE(4)
;361 1 MAKE_PAGE(5)
;362 1 MAKE_PAGE(6)
;363 1 MAKE_PAGE(7)
;364 1 End,
;365 1 End,
;366 1 End,
;367 1 End;
;368
;369 1 if (!app)
;370 1 BailOut(app, GetString(&li, MSG_Failed_to_Create_App));
;371
;372 1 DoMethod(win1, MUIM_Notify, MUIA_Window_CloseRequest, TRUE,
;373 1 app,2,MUIM_Application_ReturnID, MUIV_Application_ReturnID_Quit);
;374 1 DoMethod(lv_tools, MUIM_Notify,MUIA_Listview_DoubleClick,TRUE,
;375 1 lv_scsi,1 , ID_SELECT);
;376 1 DoMethod(cycle,MUIM_Notify,MUIA_Cycle_Active, MUIV_EveryTime,
;377 1 app,2,MUIM_Application_ReturnID, ID_Dev);
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 31
;
;
;Line# Block Source
;378
;379 1 set(win1, MUIA_Window_Open, TRUE);
;380
;381 1 set(cycle, MUIA_Cycle_Active, 0);
;382 1 ShowSCSI(DevList[0]);
;383
;384 1 while (running)
;385 1 {
;386 2 ULONG id = DoMethod(app, MUIM_Application_NewInput, &signals);
;387 2 switch (id)
;388 2 {
;389 3 case MUIV_Application_ReturnID_Quit:
;390 3 running = FALSE;
;391 3 break;
;392 3 case ID_Dev:
;393 3 get(cycle, MUIA_Cycle_Active, &entry);
;394 3 DoMethod(lv_tools, MUIM_List_Clear);
;395 3 ShowSCSI(DevList[entry]);
;396 3 set(pg_group, MUIA_Group_ActivePage, 0);
;397 3 break;
;398 3 case ID_OK:
;399 3 break;
;400 3 }
;401 2 if (running && signals)
;402 2 Wait(signals);
;403 2 }
;404
;405 1 set(win1, MUIA_Window_Open, FALSE);
;406 1 BailOut(app, NULL);
;407 1 }
;408
;409 /*------------------------------------------------------------------------*/
;410
;411 0 void BailOut(APTR app, char *str)
;412 0 {
;413 1 int loop;
;414
;415 1 FreeMem(Units[0], strlen(GetString(&li, MSG_List)) + 1);
;416
;417 1 for (loop =0; loop<(totitem +1); loop++)
;418 1 {
;419 2 FreeMem(DevList[loop], strlen(DevList[loop]) + 1);
;420 2 }
;421
;422 1 if (app)
;423 1 MUI_DisposeObject(app);
;424
;425 1 ExitClasses();
;426
;427 1 if (MUIMasterBase)
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 32
;
;
;Line# Block Source
;428 1 CloseLibrary(MUIMasterBase);
;429
;430 1 if (LocaleBase)
;431 1 {
;432 2 CloseCatalog(li.li_Catalog);
;433 2 CloseLibrary(LocaleBase);
;434 2 }
;435
;436 1 if (IconBase)
;437 1 CloseLibrary(IconBase);
;438
;439 1 if (str)
;440 1 {
;441 2 puts(str);
;442 2 exit(20);
;443 2 }
;444
;445 1 exit(0);
;446 1 }
;447
;448 /*------------------------------------------------------------------------*/
;449 0 void GetDevList(int argc, char **argv)
;450 0 {
;451 1 struct WBStartup *WBenchMsg;
;452 1 struct WBArg *wbarg;
;453 1 char *scsi_name = "scsi";
;454 1 struct Node *DeviceLibNode;
;455 1 int i = 0;
;456 1 LONG olddir;
;457 1 BOOL FromWb;
;458
;459 1 Forbid();
;460 1 DeviceLibNode = SysBase->DeviceList.lh_Head;
;461 1 while (DeviceLibNode->ln_Succ)
;462 1 {
;463 2 DeviceLibNode = DeviceLibNode->ln_Succ;
;464 2 if (strstr(DeviceLibNode->ln_Name, strlwr(scsi_name)))
;465 2 {
;466 3 i = AddDeviceToList(i, DeviceLibNode->ln_Name);
;467 3 }
;468 2 else
;469 2 {
;470 3 if (strstr(DeviceLibNode->ln_Name, strupr(scsi_name)))
;471 3 {
;472 4 i = AddDeviceToList(i, DeviceLibNode->ln_Name);
;473 4 }
;474
;475 3 }
;476 2 }
;477 1 Permit();
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 33
;
;
;Line# Block Source
;478
;479 1 FromWb = (argc==0) ? TRUE : FALSE;
;480 1 if (FromWb)
;481 1 {
;482 2 WBenchMsg = (struct WBStartup *)argv;
;483 2 wbarg = WBenchMsg->sm_ArgList;
;484 2 olddir = -1;
;485 2 if ((wbarg->wa_Lock) && (*wbarg->wa_Name))
;486 2 olddir = CurrentDir(wbarg->wa_Lock);
;487 2 i = gettooltypes(wbarg, i);
;488 2 if (olddir != -1)
;489 2 CurrentDir(olddir); /* CD back where we were */
;490 2 }
;491
;492 1 totitem = i - 1;
;493 1 DevList[i] = NULL;
;494 1 return;
;495 1 }
;496
;497 /*------------------------------------------------------------------------*/
;498
;499 0 int gettooltypes(struct WBArg *wbarg, int i)
;500 0 {
;501 1 struct DiskObject *dobj;
;502 1 char **toolarray;
;503 1 char *s;
;504
;505 1 if ((*wbarg->wa_Name) && (dobj = GetDiskObject(wbarg->wa_Name)))
;506 1 {
;507 2 toolarray = (char **)dobj->do_ToolTypes;
;508 2 if (s = (char *)FindToolType(toolarray, "DEVICE"))
;509 2 {
;510 3 i = AddDeviceToList(i, s);
;511 3 }
;512 2 if (s = (char *)FindToolType(toolarray, "DEVICE1"))
;513 2 {
;514 3 i = AddDeviceToList(i, s);
;515 3 }
;516 2 if (s = (char *)FindToolType(toolarray, "DEVICE2"))
;517 2 {
;518 3 i = AddDeviceToList(i, s);
;519 3 }
;520 2 if (s = (char *)FindToolType(toolarray, "DEVICE3"))
;521 2 {
;522 3 i = AddDeviceToList(i, s);
;523 3 }
;524 2 if (s = (char *)FindToolType(toolarray, "DEVICE4"))
;525 2 {
;526 3 i = AddDeviceToList(i, s);
;527 3 }
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 34
;
;
;Line# Block Source
;528 2 FreeDiskObject(dobj);
;529 2 }
;530
;531 1 return(i);
;532 1 }
;533
;534 /*------------------------------------------------------------------------*/
;535
;536 0 int AddDeviceToList(int pos, char *devname)
;537 0 {
;538 1 int srch_pos = 0;
;539 1 BOOL srch_match = FALSE;
;540
;541 1 while(srch_pos < pos)
;542 1 {
;543 2 if (strnicmp(devname,DevList[srch_pos],sizeof(devname)) == 0)
;544 2 {
;545 3 srch_match = TRUE;
;546 3 }
;547 2 srch_pos = srch_pos + 1;
;548 2 }
;549
;550 1 if (srch_match == FALSE)
;551 1 {
;552 2 DevList[pos] = (char *)AllocMem(strlen(devname) + 1, MEMF_ANY|MEMF_CLEAR
; ..... );
;553 2 strcpy(DevList[pos], devname);
;554 2 pos = pos + 1;
;555 2 }
;556
;557 1 return(pos);
;558 1 }
;559
;560 /*------------------------------------------------------------------------*/
;561
;562 0 SAVEDS ASM ULONG ScsiList_Dispatcher(REG(a0) struct IClass *cl,REG(a2) Object *o
; ..... bj,REG(a1) Msg msg)
;563 0 {
;564 1 switch (msg->MethodID)
;565 1 {
;566 2 case OM_NEW : return(ScsiList_New (cl,obj,(APTR)msg));
;567 2 case MUIM_Setup : return(ScsiList_Setup (cl,obj,(APTR)msg));
;568 2 case MUIM_Cleanup : return(ScsiList_Cleanup(cl,obj,(APTR)msg));
;569 2 case ID_SELECT : return(ScsiList_Select (cl,obj,(APTR)msg));
;570 2 }
;571 1 return(DoSuperMethodA(cl,obj,msg));
;572 1 }
;573
;574 /*------------------------------------------------------------------------*/
;575
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 35
;
;
;Line# Block Source
;576 0 SAVEDS ASM APTR ScsiList_ConstructFunc(REG(a1) struct ScsiUnitData *SLCF_src)
;577 0 {
;578 1 struct ScsiUnitData *SLCF_dest = (struct ScsiUnitData *)AllocMem(sizeof(stru
; ..... ct ScsiUnitData), MEMF_ANY|MEMF_CLEAR);
;579
;580 1 SLCF_dest->SUD_Vendor = (char *)AllocMem(10, MEMF_ANY|MEMF_CLEAR);
;581 1 SLCF_dest->SUD_Product = (char *)AllocMem(18, MEMF_ANY|MEMF_CLEAR);
;582 1 SLCF_dest->SUD_Revision = (char *)AllocMem(6, MEMF_ANY|MEMF_CLEAR);
;583
;584 1 SLCF_dest->SUD_Unit = SLCF_src->SUD_Unit;
;585 1 strcpy(SLCF_dest->SUD_Vendor, SLCF_src->SUD_Vendor);
;586 1 strcpy(SLCF_dest->SUD_Product, SLCF_src->SUD_Product);
;587 1 strcpy(SLCF_dest->SUD_Revision, SLCF_src->SUD_Revision);
;588 1 SLCF_dest->SUD_Dev_type = SLCF_src->SUD_Dev_type;
;589 1 SLCF_dest->SUD_Standard = SLCF_src->SUD_Standard;
;590 1 SLCF_dest->SUD_Removable = SLCF_src->SUD_Removable;
;591 1 SLCF_dest->SUD_Rel_Addr = SLCF_src->SUD_Rel_Addr;
;592 1 SLCF_dest->SUD_16Wide_Addr = SLCF_src->SUD_16Wide_Addr;
;593 1 SLCF_dest->SUD_32Wide_Addr = SLCF_src->SUD_32Wide_Addr;
;594
;595 1 return(SLCF_dest);
;596 1 }
;597
;598 /*------------------------------------------------------------------------*/
;599
;600 0 SAVEDS ASM VOID ScsiList_DestructFunc(REG(a1) struct ScsiUnitData *SLDF_data)
;601 0 {
;602 1 FreeMem(SLDF_data->SUD_Vendor, 10);
;603 1 FreeMem(SLDF_data->SUD_Product, 18);
;604 1 FreeMem(SLDF_data->SUD_Revision, 6);
;605
;606 1 FreeMem(SLDF_data, sizeof(struct ScsiUnitData));
;607 1 }
;608
;609 /*------------------------------------------------------------------------*/
;610
;611 0 SAVEDS ASM LONG ScsiList_DisplayFunc(REG(a0) struct Hook *hook,REG(a2) char **ar
; ..... ray, REG(a1) struct ScsiUnitData *data1)
;612 0 {
;613 1 struct ScsiList_Data *data = (APTR)hook->h_Data;
;614 1 static char buf1[50], buf2[30], buf3[30];
;615
;616 1 *array++ = "";
;617
;618 1 if (!data1)
;619 1 {
;620 2 strcpy(buf2,"\33b\33u");
;621 2 strcpy(buf3,"\33b\33u");
;622 2 strcat(buf2, GetString(&li, MSG_Unit));
;623 2 strcat(buf3, GetString(&li, MSG_Product));
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 36
;
;
;Line# Block Source
;624 2 *array++ = "";
;625 2 *array++ = buf2;
;626 2 *array = buf3;
;627 2 }
;628 1 else
;629 1 {
;630 2 switch(data1->SUD_Dev_type)
;631 2 {
;632 3 case 0:
;633 3 if (data1->SUD_Removable)
;634 3 sprintf(buf1, "\33O[%08lx]", data->SL_Image_RD);
;635 3 else
;636 3 sprintf(buf1, "\33O[%08lx]", data->SL_Image_HD);
;637 3 break;
;638 3 case 1:
;639 3 sprintf(buf1, "\33O[%08lx]", data->SL_Image_RD);
;640 3 break;
;641 3 case 3:
;642 3 sprintf(buf1, "\33O[%08lx]", data->SL_Image_PR);
;643 3 break;
;644 3 case 4:
;645 3 sprintf(buf1, "\33O[%08lx]", data->SL_Image_CD);
;646 3 break;
;647 3 case 5:
;648 3 sprintf(buf1, "\33O[%08lx]", data->SL_Image_CD);
;649 3 break;
;650 3 case 6:
;651 3 sprintf(buf1, "\33O[%08lx]", data->SL_Image_SC);
;652 3 break;
;653 3 case 99:
;654 3 sprintf(buf1, "\33O[%08lx]", data->SL_Image_NO);
;655 3 break;
;656 3 default:
;657 3 sprintf(buf1, "\33O[%08lx]", data->SL_Image_NL);
;658 3 break;
;659 3 }
;660 2 sprintf(buf2, "%d", data1->SUD_Unit);
;661 2 strcpy(buf3, data1->SUD_Product);
;662 2 *array++ = buf1;
;663 2 *array++ = buf2;
;664 2 *array = buf3;
;665 2 }
;666
;667 1 return(0);
;668 1 }
;669
;670 /*------------------------------------------------------------------------*/
;671
;672 0 ULONG ScsiList_New(struct IClass *cl,Object *obj,struct opSet *msg)
;673 0 {
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 37
;
;
;Line# Block Source
;674 1 static const struct Hook ScsiList_ConstructHook = { { 0,0 }, (VOID *)ScsiList_C
; ..... onstructFunc, NULL, NULL};
;675 1 static const struct Hook ScsiList_DestructHook = { { 0,0 }, (VOID *)ScsiList_D
; ..... estructFunc, NULL, NULL};
;676
;677 1 obj=(Object *)DoSuperNew(cl,obj,
;678 1 MUIA_List_ConstructHook, &ScsiList_ConstructHook,
;679 1 MUIA_List_DestructHook , &ScsiList_DestructHook,
;680 1 MUIA_List_Format , ",,,",
;681 1 MUIA_List_Title , TRUE,
;682 1 MUIA_List_MinLineHeight, CD_ROM_HEIGHT,
;683 1 TAG_MORE,msg->ops_AttrList);
;684
;685 1 if (obj)
;686 1 {
;687 2 struct ScsiList_Data *data = INST_DATA(cl,obj);
;688
;689 2 data->DisplayHook.h_Entry = (VOID *)ScsiList_DisplayFunc;
; ^
;===> Scsi.c 689 Warning 147: conversion between function and data pointers
;
;690 2 data->DisplayHook.h_Data = (APTR)data;
;691
;692 2 set(obj,MUIA_List_DisplayHook,&data->DisplayHook);
;693 2 }
;694
;695 1 return((ULONG)obj);
;696
;697 1 }
;698
;699 /*------------------------------------------------------------------------*/
;700
;701 0 static Object *makescsiimage(UBYTE *body)
;702 0 {
;703 1 Object *obj = BodychunkObject,
;704 1 MUIA_FixWidth , CD_ROM_WIDTH ,
;705 1 MUIA_FixHeight , CD_ROM_HEIGHT,
;706 1 MUIA_Bitmap_Width , CD_ROM_WIDTH ,
;707 1 MUIA_Bitmap_Height , CD_ROM_HEIGHT,
;708 1 MUIA_Bodychunk_Depth , CD_ROM_DEPTH ,
;709 1 MUIA_Bodychunk_Body , (UBYTE *)body,
;710 1 MUIA_Bodychunk_Compression, CD_ROM_COMPRESSION,
;711 1 MUIA_Bodychunk_Masking , CD_ROM_MASKING,
;712 1 MUIA_Bitmap_SourceColors , (ULONG *)CD_Rom_colors,
;713 1 MUIA_Bitmap_Transparent , 0,
;714 1 End;
;715
;716 1 return(obj);
;717 1 }
;718
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 38
;
;
;Line# Block Source
;719 /*------------------------------------------------------------------------*/
;720
;721 0 static Object *makescsiimagePR(UBYTE *body)
;722 0 {
;723 1 Object *obj = BodychunkObject,
;724 1 MUIA_FixWidth , PROCESSOR_WIDTH ,
;725 1 MUIA_FixHeight , PROCESSOR_HEIGHT,
;726 1 MUIA_Bitmap_Width , PROCESSOR_WIDTH ,
;727 1 MUIA_Bitmap_Height , PROCESSOR_HEIGHT,
;728 1 MUIA_Bodychunk_Depth , PROCESSOR_DEPTH ,
;729 1 MUIA_Bodychunk_Body , (UBYTE *)body,
;730 1 MUIA_Bodychunk_Compression, PROCESSOR_COMPRESSION,
;731 1 MUIA_Bodychunk_Masking , PROCESSOR_MASKING,
;732 1 MUIA_Bitmap_SourceColors , (ULONG *)Processor_colors,
;733 1 MUIA_Bitmap_Transparent , 0,
;734 1 End;
;735
;736 1 return(obj);
;737 1 }
;738
;739 /*------------------------------------------------------------------------*/
;740
;741 0 static Object *makescsiimageSC(UBYTE *body)
;742 0 {
;743 1 Object *obj = BodychunkObject,
;744 1 MUIA_FixWidth , SCANNER_WIDTH ,
;745 1 MUIA_FixHeight , SCANNER_HEIGHT,
;746 1 MUIA_Bitmap_Width , SCANNER_WIDTH ,
;747 1 MUIA_Bitmap_Height , SCANNER_HEIGHT,
;748 1 MUIA_Bodychunk_Depth , SCANNER_DEPTH ,
;749 1 MUIA_Bodychunk_Body , (UBYTE *)body,
;750 1 MUIA_Bodychunk_Compression, SCANNER_COMPRESSION,
;751 1 MUIA_Bodychunk_Masking , SCANNER_MASKING,
;752 1 MUIA_Bitmap_SourceColors , (ULONG *)Scanner_colors,
;753 1 MUIA_Bitmap_Transparent , 0,
;754 1 End;
;755
;756 1 return(obj);
;757 1 }
;758
;759 /*------------------------------------------------------------------------*/
;760
;761 0 ULONG ScsiList_Setup(struct IClass *cl,Object *obj,Msg msg)
;762 0 {
;763 1 struct ScsiList_Data *data = INST_DATA(cl,obj);
;764
;765 1 if (!DoSuperMethodA(cl,obj,msg))
;766 1 return(FALSE);
;767
;768 1 data->SL_OImage_CD = makescsiimage((UBYTE *)CD_Rom_body);
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 39
;
;
;Line# Block Source
;769 1 data->SL_OImage_HD = makescsiimage((UBYTE *)Hard_Drive_body);
;770 1 data->SL_OImage_PR = makescsiimagePR((UBYTE *)Processor_body);
;771 1 data->SL_OImage_RD = makescsiimage((UBYTE *)Remove_Drive_body);
;772 1 data->SL_OImage_SC = makescsiimageSC((UBYTE *)Scanner_body);
;773 1 data->SL_OImage_NO = makescsiimage((UBYTE *)NoUnit_body);
;774 1 data->SL_OImage_NL = makescsiimage((UBYTE *)Null_body);
;775
;776 1 data->SL_Image_CD = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_CD
; ..... ,0);
;777 1 data->SL_Image_HD = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_HD
; ..... ,0);
;778 1 data->SL_Image_PR = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_PR
; ..... ,0);
;779 1 data->SL_Image_RD = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_RD
; ..... ,0);
;780 1 data->SL_Image_SC = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_SC
; ..... ,0);
;781 1 data->SL_Image_NO = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_NO
; ..... ,0);
;782 1 data->SL_Image_NL = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_NL
; ..... ,0);
;783
;784 1 MUI_RequestIDCMP(obj,IDCMP_MOUSEBUTTONS);
;785
;786 1 return(TRUE);
;787 1 }
;788 /*------------------------------------------------------------------------*/
;789
;790 0 ULONG ScsiList_Cleanup(struct IClass *cl,Object *obj,Msg msg)
;791 0 {
;792 1 struct ScsiList_Data *data = INST_DATA(cl,obj);
;793
;794 1 DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_CD);
;795 1 DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_HD);
;796 1 DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_PR);
;797 1 DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_RD);
;798 1 DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_SC);
;799 1 DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_NO);
;800 1 DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_NL);
;801
;802 1 MUI_RejectIDCMP(obj,IDCMP_MOUSEBUTTONS);
;803
;804 1 return(DoSuperMethodA(cl,obj,msg));
;805 1 }
;806
;807
;808 /*------------------------------------------------------------------------*/
;809
;810 0 ULONG ScsiList_Select(struct IClass *cl,Object *obj,Msg msg)
;811 0 {
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 40
;
;
;Line# Block Source
;812 1 ULONG c_pos;
;813
;814 1 get(lv_tools, MUIA_List_Active, &c_pos);
;815 1 set(pg_group, MUIA_Group_ActivePage, (c_pos + 1));
;816
;817 1 return(DoSuperMethodA(cl,obj,msg));
;818 1 }
;819
;820 /*------------------------------------------------------------------------*/
;821
;822 0 BOOL InitClasses(VOID)
;823 0 {
;824 1 CL_ScsiList = MUI_CreateCustomClass(NULL, MUIC_List, NULL, sizeof(struct Scsi
; ..... List_Data), ScsiList_Dispatcher);
;825
;826 1 if (CL_ScsiList)
;827 1 return(TRUE);
;828
;829 1 ExitClasses();
;830 1 return(FALSE);
;831 1 }
;832
;833 /*------------------------------------------------------------------------*/
;834
;835 0 VOID ExitClasses(VOID)
;836 0 {
;837 1 if (CL_ScsiList)
;838 1 MUI_DeleteCustomClass(CL_ScsiList);
;839 1 }
;840
;841 /*------------------------------------------------------------------------*/
;842
;843 0 void ShowSCSI(char *SSdevice)
;844 0 {
;845 1 if (!(scsi_sense = (UBYTE *)AllocMem(252, MEMF_CHIP|MEMF_CLEAR)))
;846 1 ShowScsi_exit(20, GetString(&li, MSG_Unable_to_Allocate_Memory));
;847
;848 1 if (!(scsi_data = (UBYTE *)AllocMem(252, MEMF_CHIP|MEMF_CLEAR)))
;849 1 ShowScsi_exit(20, GetString(&li, MSG_Unable_to_Allocate_Memory));
;850
;851 1 if (!(replymp = (struct MsgPort *)CreatePort(NULL, 0)))
;852 1 ShowScsi_exit(20, GetString(&li, MSG_Unable_to_Create_Mess_Port));
;853
;854 1 if (!(scsi_req = (struct IOStdReq *)CreateStdIO(replymp)))
;855 1 ShowScsi_exit(20, GetString(&li, MSG_Unable_to_Create_StandardIO));
;856
;857 1 ListDevices(SSdevice);
;858
;859 1 ShowScsi_exit(0, NULL);
;860 1 }
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 41
;
;
;Line# Block Source
;861
;862 /*------------------------------------------------------------------------*/
;863
;864 0 void ShowScsi_exit(long code, char *errmsg)
;865 0 {
;866 1 if (scsi_req)
;867 1 DeleteStdIO(scsi_req);
;868
;869 1 if (replymp)
;870 1 DeletePort(replymp);
;871
;872 1 if (scsi_sense)
;873 1 FreeMem(scsi_sense, 252);
;874
;875 1 if (scsi_data)
;876 1 FreeMem(scsi_data, 252);
;877
;878 1 if (errmsg)
;879 1 printf("\n%s\n", errmsg);
;880
;881 1 return;
;882 1 }
;883
;884 /*------------------------------------------------------------------------*/
;885
;886 0 void ListDevices(char *devname)
;887 0 {
;888 1 int i;
;889 1 struct ScsiUnitData *SUdata = (struct ScsiUnitData *)AllocMem(sizeof(struct
; ..... ScsiUnitData), MEMF_ANY|MEMF_CLEAR);
;890 1 static UBYTE cmd[] = { SCSI_CMD_INQ, 0, 0, 0, 252, 0, };
;891
;892 1 SUdata->SUD_Vendor = (char *)AllocMem(10, MEMF_ANY|MEMF_CLEAR);
;893 1 SUdata->SUD_Product = (char *)AllocMem(18, MEMF_ANY|MEMF_CLEAR);
;894 1 SUdata->SUD_Revision = (char *)AllocMem(6, MEMF_ANY|MEMF_CLEAR);
;895
;896 1 set(lv_tools, MUIA_List_Quiet, TRUE);
;897 1 for (i = 0; i < 7; i++)
;898 1 {
;899 2 SUdata->SUD_Unit = i;
;900 2 if (OpenDevice(devname, i, scsi_req, 0))
;901 2 {
;902 3 strcpy(SUdata->SUD_Vendor, " ");
;903 3 strcpy(SUdata->SUD_Product, GetString(&li, MSG_Not_Used));
;904 3 strcpy(SUdata->SUD_Revision, " ");
;905 3 SUdata->SUD_Dev_type = 99;
;906 3 SUdata->SUD_Standard = 9;
;907 3 SUdata->SUD_Removable = FALSE;
;908 3 SUdata->SUD_Rel_Addr = FALSE;
;909 3 SUdata->SUD_16Wide_Addr = FALSE;
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 42
;
;
;Line# Block Source
;910 3 SUdata->SUD_32Wide_Addr = FALSE;
;911 3 }
;912 2 else
;913 2 {
;914 3 scsi_req->io_Length = sizeof(struct SCSICmd);
;915 3 scsi_req->io_Data = (APTR) &scsi_cmd;
;916 3 scsi_req->io_Command = HD_SCSICMD;
;917 3 scsi_cmd.scsi_Data = (APTR) scsi_data;
;918 3 scsi_cmd.scsi_Length = 252;
;919 3 scsi_cmd.scsi_SenseActual = 0;
;920 3 scsi_cmd.scsi_SenseData = scsi_sense;
;921 3 scsi_cmd.scsi_SenseLength = 252;
;922 3 scsi_cmd.scsi_Command = (UBYTE *)cmd;
;923 3 scsi_cmd.scsi_CmdLength = sizeof(cmd);
;924 3 scsi_cmd.scsi_Flags = SCSIF_READ|SCSIF_AUTOSENSE;
;925
;926 3 DoIO((struct IOStdReq *)scsi_req);
;927
;928
;929 3 if (scsi_req->io_Error)
;930 3 {
;931 4 strcpy(SUdata->SUD_Vendor," ");
;932 4 strcpy(SUdata->SUD_Product, GetString(&li, MSG_Not_Used));
;933 4 strcpy(SUdata->SUD_Revision, " ");
;934 4 SUdata->SUD_Dev_type = 99;
;935 4 SUdata->SUD_Standard = 9;
;936 4 SUdata->SUD_Removable = FALSE;
;937 4 SUdata->SUD_Rel_Addr = FALSE;
;938 4 SUdata->SUD_16Wide_Addr = FALSE;
;939 4 SUdata->SUD_32Wide_Addr = FALSE;
;940 4 }
;941 3 else
;942 3 {
;943 4 sprintf(SUdata->SUD_Vendor, "%.8s", &scsi_data[8]);
;944 4 sprintf(SUdata->SUD_Product, "%.16s", &scsi_data[16]);
;945 4 sprintf(SUdata->SUD_Revision, "%.4s", &scsi_data[32]);
;946 4 SUdata->SUD_Dev_type = (scsi_data[0] & 0x1F);
;947 4 SUdata->SUD_Standard = (scsi_data[3] & 0x0F);
;948 4 SUdata->SUD_Removable = ((scsi_data[1] & 0x80) ? TRUE : FALSE);
;949 4 SUdata->SUD_Rel_Addr = ((scsi_data[7] & 0x80) ? TRUE : FALSE);
;950 4 SUdata->SUD_16Wide_Addr = ((scsi_data[7] & 0x20) ? TRUE : FALSE)
; ..... ;
;951 4 SUdata->SUD_32Wide_Addr = ((scsi_data[7] & 0x40) ? TRUE : FALSE)
; ..... ;
;952 4 }
;953 3 CloseDevice(scsi_req);
;954 3 }
;955 2 DoMethod(lv_tools, MUIM_List_InsertSingle, SUdata, MUIV_List_Insert_Bott
; ..... om);
;956 2 set(Sl_Product[i+1], MUIA_Text_Contents, SUdata->SUD_Product);
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 43
;
;
;Line# Block Source
;957 2 set(Sl_Vendor[i+1], MUIA_Text_Contents, SUdata->SUD_Vendor);
;958 2 set(Sl_Revision[i+1], MUIA_Text_Contents, SUdata->SUD_Revision);
;959 2 set(Sl_DevType[i+1], MUIA_Text_Contents, SetDeviceType(SUdata->SUD_Dev_t
; ..... ype));
;960 2 set(Sl_Standard[i+1], MUIA_Text_Contents, SetStandard(SUdata->SUD_Standa
; ..... rd));
;961 2 set(Sl_Removable[i+1], MUIA_Selected, SUdata->SUD_Removable);
;962 2 set(Sl_Rel_Addr[i+1], MUIA_Selected, SUdata->SUD_Rel_Addr);
;963 2 set(Sl_16Wide_Addr[i+1], MUIA_Selected, SUdata->SUD_16Wide_Addr);
;964 2 set(Sl_32Wide_Addr[i+1], MUIA_Selected, SUdata->SUD_32Wide_Addr);
;965 2 }
;966 1 set(lv_tools, MUIA_List_Quiet, FALSE);
;967
;968 1 FreeMem(SUdata->SUD_Vendor, 10);
;969 1 FreeMem(SUdata->SUD_Product, 18);
;970 1 FreeMem(SUdata->SUD_Revision, 6);
;971
;972 1 FreeMem(SUdata, sizeof(struct ScsiUnitData));
;973 1 }
;974
;975 /*------------------------------------------------------------------------*/
;976
;977 0 STRPTR SetStandard(int id)
;978 0 {
;979 1 switch(id)
;980 1 {
;981 2 case 0:
;982 2 return("SCSI-1");
;983 2 break;
;984 2 case 1:
;985 2 return("CCS");
;986 2 break;
;987 2 case 2:
;988 2 return("SCSI-2");
;989 2 break;
;990 2 default:
;991 2 return(" ");
;992 2 break;
;993 2 }
;994 1 }
;995
;996
;997 /*------------------------------------------------------------------------*/
;998
;999 0 STRPTR SetDeviceType(int id)
;000 0 {
;001 1 char *empty = " ";
;002
;003 1 switch(id)
;004 1 {
;SAS/C Amiga Compiler (Phase 1) 6.3 10:17:12 Page 44
;
;
;Line# Block Source
;005 2 case 0:
;006 2 return(GetString(&li, MSG_Direct_Access_Device));
;007 2 break;
;008 2 case 1:
;009 2 return(GetString(&li, MSG_Sequential_Access_Device));
;010 2 break;
;011 2 case 2:
;012 2 return(GetString(&li, MSG_Printer_Device));
;013 2 break;
;014 2 case 3:
;015 2 return(GetString(&li, MSG_Processor_Device));
;016 2 break;
;017 2 case 4:
;018 2 return(GetString(&li, MSG_Write_Once_Device));
;019 2 break;
;020 2 case 5:
;021 2 return(GetString(&li, MSG_CDROM_Device));
;022 2 break;
;023 2 case 6:
;024 2 return(GetString(&li, MSG_Scanner_Device));
;025 2 break;
;026 2 case 7:
;027 2 return(GetString(&li, MSG_Optical_Device));
;028 2 break;
;029 2 case 8:
;030 2 return(GetString(&li, MSG_Medium_Changer_Device));
;031 2 break;
;032 2 case 9:
;033 2 return(GetString(&li, MSG_Communications_Device));
;034 2 break;
;035 2 case 99:
;036 2 return(empty);
;037 2 break;
;038 2 default:
;039 2 return(GetString(&li, MSG_Unknown_Device));
;040 2 break;
;041 2 }
;042 1 }