home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / disks / misc / scsi_list / source / scsi.lst < prev    next >
File List  |  1996-11-10  |  117KB  |  2,502 lines

  1.  
  2. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 1
  3. ;
  4. ;
  5. ;Line#  Block                                  Source
  6. ;  1          /*
  7. ;  2           * SCSI.C - Show SCSI Devices
  8. ;  3           *
  9. ;  4           *   $VER: SCSI.C 1.5 (05.9.96)
  10. ;  5           *
  11. ;  6           * (c) Copyright 1996 Richard Sellens.  All rights reserved.
  12. ;  7           *
  13. ;  8           * This software is provided as-is and is subject to change; no warranties
  14. ;  9           * are made.  All use is at your own risk.  No liability or responsibility
  15. ; 10           * is assumed.
  16. ; 11           *
  17. ; 12           * Release  Date     Change
  18. ; 13           *
  19. ; 14           * 1.0      02/02/96 Initial Program
  20. ; 15           * 1.1      31/03/96 Made SCSI Device string area longer
  21. ; 16           * 1.2      07/04/96 Added ability to select unit from List for display,
  22. ; 17           *                   Added Locale support for most strings
  23. ; 18           * 1.3      05/05/96 Added ability to select controller device,
  24. ; 19           *                   Added Locale support for remaining strings
  25. ; 20           * 1.4      16/06/96 Corrected Bug which cause unwanted characters to
  26. ; 21           *                      display on empty device
  27. ; 22           *                   Corrected Image display in List (not showing
  28. ; 23           *                      complete Image)
  29. ; 24           *                   Added ability to have 5 device TOOLTYPES
  30. ; 25           *                   Added code to prevent duplication of devices
  31. ; 26           * 1.5      05/09/96 Minor Change to method used to display device
  32. ; 27           *                      standard
  33. ; 28           *                   Modified Device List search to use same routine
  34. ; 29           *                      as TOOLTYPES to add device to list.
  35. ; 30           *                   Modified Method used to select page from list
  36. ; 31           *                      gadget.
  37. ; 32           *
  38. ; 33           */
  39. ; 34
  40. ; 35
  41. ; 36          /*------------------------------------------------------------------------*/
  42. ; 37
  43. ; 38       0  #define INTUITION_IOBSOLETE_H
  44. ; 39       0  #define CATCOMP_NUMBERS
  45. ; 40       0  #define CATCOMP_BLOCK
  46. ; 41       0  #define CATCOMP_CODE
  47. ; 42       0  #define REG(x) register __ ## x
  48. ; 43       0  #define ASM    __asm
  49. ; 44       0  #define SAVEDS __saveds
  50. ; 45
  51. ; 46       0  #include <dos/dos.h>
  52. ;===> Including file "include:dos/dos.h"
  53.  
  54. ;===> Including file "include:exec/types.h"
  55.  
  56. ; 47       0  #include <exec/devices.h>
  57. ;===> Including file "include:exec/devices.h"
  58.  
  59.  
  60. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 2
  61. ;
  62. ;
  63. ;Line#  Block                                  Source
  64. ;===> Including file "include:exec/libraries.h"
  65.  
  66. ;===> Including file "include:exec/nodes.h"
  67.  
  68. ;===> Including file "include:exec/ports.h"
  69.  
  70. ;===> Including file "include:exec/lists.h"
  71.  
  72. ;===> Including file "include:exec/tasks.h"
  73.  
  74. ; 48       0  #include <exec/errors.h>
  75. ;===> Including file "include:exec/errors.h"
  76.  
  77. ; 49       0  #include <exec/execbase.h>
  78. ;===> Including file "include:exec/execbase.h"
  79.  
  80. ;===> Including file "include:exec/interrupts.h"
  81.  
  82. ; 50       0  #include <exec/memory.h>
  83. ;===> Including file "include:exec/memory.h"
  84.  
  85. ; 51       0  #include <exec/types.h>
  86. ; 52       0  #include <graphics/gfxmacros.h>
  87. ;===> Including file "include:graphics/gfxmacros.h"
  88.  
  89. ;===> Including file "include:graphics/rastport.h"
  90.  
  91. ;===> Including file "include:graphics/gfx.h"
  92.  
  93. ; 53       0  #include <libraries/mui.h>
  94. ;===> Including file "include:libraries/mui.h"
  95.  
  96. ;===> Including file "include:intuition/classes.h"
  97.  
  98. ;===> Including file "include:utility/hooks.h"
  99.  
  100. ;===> Including file "include:intuition/classusr.h"
  101.  
  102. ;===> Including file "include:intuition/screens.h"
  103.  
  104. ;===> Including file "include:graphics/clip.h"
  105.  
  106. ;===> Including file "include:exec/semaphores.h"
  107.  
  108. ;===> Including file "include:graphics/view.h"
  109.  
  110. ;===> Including file "include:graphics/copper.h"
  111.  
  112. ;===> Including file "include:graphics/gfxnodes.h"
  113.  
  114. ;===> Including file "include:graphics/monitor.h"
  115.  
  116. ;===> Including file "include:graphics/displayinfo.h"
  117.  
  118. ;===> Including file "include:graphics/modeid.h"
  119.  
  120. ;===> Including file "include:utility/tagitem.h"
  121.  
  122. ;===> Including file "include:hardware/custom.h"
  123.  
  124. ;===> Including file "include:graphics/layers.h"
  125.  
  126. ;===> Including file "include:clib/intuition_protos.h"
  127.  
  128. ;===> Including file "include:intuition/intuition.h"
  129.  
  130. ;===> Including file "include:graphics/text.h"
  131.  
  132. ;===> Including file "include:devices/inputevent.h"
  133.  
  134. ;===> Including file "include:devices/timer.h"
  135.  
  136. ;===> Including file "include:exec/io.h"
  137.  
  138. ;===> Including file "include:intuition/preferences.h"
  139.  
  140. ;===> Including file "include:intuition/cghooks.h"
  141.  
  142. ; 54       0  #include <libraries/locale.h>
  143. ;===> Including file "include:libraries/locale.h"
  144.  
  145. ; 55       0  #include <workbench/workbench.h>
  146. ;===> Including file "include:workbench/workbench.h"
  147.  
  148. ; 56
  149. ; 57       0  #include <clib/alib_protos.h>
  150. ;===> Including file "include:clib/alib_protos.h"
  151.  
  152. ;===> Including file "include:devices/keymap.h"
  153.  
  154.  
  155. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 3
  156. ;
  157. ;
  158. ;Line#  Block                                  Source
  159. ;===> Including file "include:libraries/commodities.h"
  160.  
  161. ;===> Including file "include:graphics/graphint.h"
  162.  
  163. ; 58       0  #include <clib/asl_protos.h>
  164. ;===> Including file "include:clib/asl_protos.h"
  165.  
  166. ;===> Including file "include:libraries/asl.h"
  167.  
  168. ;===> Including file "include:workbench/startup.h"
  169.  
  170. ;===> Including file "include:libraries/dos.h"
  171.  
  172. ; 59       0  #include <clib/dos_protos.h>
  173. ;===> Including file "include:clib/dos_protos.h"
  174.  
  175. ;===> Including file "include:dos/dosextens.h"
  176.  
  177. ;===> Including file "include:dos/record.h"
  178.  
  179. ;===> Including file "include:dos/rdargs.h"
  180.  
  181. ;===> Including file "include:dos/dosasl.h"
  182.  
  183. ;===> Including file "include:dos/var.h"
  184.  
  185. ;===> Including file "include:dos/notify.h"
  186.  
  187. ;===> Including file "include:dos/datetime.h"
  188.  
  189. ; 60       0  #include <clib/exec_protos.h>
  190. ;===> Including file "include:clib/exec_protos.h"
  191.  
  192. ; 61       0  #include <clib/graphics_protos.h>
  193. ;===> Including file "include:clib/graphics_protos.h"
  194.  
  195. ;===> Including file "include:graphics/gels.h"
  196.  
  197. ;===> Including file "include:graphics/regions.h"
  198.  
  199. ;===> Including file "include:graphics/sprite.h"
  200.  
  201. ;===> Including file "include:hardware/blit.h"
  202.  
  203. ; 62       0  #include <clib/icon_protos.h>
  204. ;===> Including file "include:clib/icon_protos.h"
  205.  
  206. ; 63       0  #include <clib/intuition_protos.h>
  207. ; 64       0  #include <clib/locale_protos.h>
  208. ;===> Including file "include:clib/locale_protos.h"
  209.  
  210. ;===> Including file "include:rexx/storage.h"
  211.  
  212. ; 65       0  #include <clib/muimaster_protos.h>
  213. ;===> Including file "include:clib/muimaster_protos.h"
  214.  
  215. ; 66       0  #include <clib/utility_protos.h>
  216. ;===> Including file "include:clib/utility_protos.h"
  217.  
  218. ;===> Including file "include:utility/date.h"
  219.  
  220. ;===> Including file "include:utility/name.h"
  221.  
  222. ; 67
  223. ; 68       0  #include <stdlib.h>
  224. ;===> Including file "include:stdlib.h"
  225.  
  226. ; 69       0  #include <string.h>
  227. ;===> Including file "include:string.h"
  228.  
  229. ; 70       0  #include <stdio.h>
  230. ;===> Including file "include:stdio.h"
  231.  
  232. ; 71
  233. ; 72       0  #include <pragmas/asl_pragmas.h>
  234. ;===> Including file "include:pragmas/asl_pragmas.h"
  235.  
  236. ; 73       0  #include <pragmas/dos_pragmas.h>
  237. ;===> Including file "include:pragmas/dos_pragmas.h"
  238.  
  239. ; 74       0  #include <pragmas/exec_pragmas.h>
  240. ;===> Including file "include:pragmas/exec_pragmas.h"
  241.  
  242.  
  243. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 4
  244. ;
  245. ;
  246. ;Line#  Block                                  Source
  247. ; 75       0  #include <pragmas/graphics_pragmas.h>
  248. ;===> Including file "include:pragmas/graphics_pragmas.h"
  249.  
  250. ; 76       0  #include <pragmas/icon_pragmas.h>
  251. ;===> Including file "include:pragmas/icon_pragmas.h"
  252.  
  253. ; 77       0  #include <pragmas/intuition_pragmas.h>
  254. ;===> Including file "include:pragmas/intuition_pragmas.h"
  255.  
  256. ; 78       0  #include <pragmas/locale_pragmas.h>
  257. ;===> Including file "include:pragmas/locale_pragmas.h"
  258.  
  259. ; 79       0  #include <pragmas/muimaster_pragmas.h>
  260. ;===> Including file "include:pragmas/muimaster_pragmas.h"
  261.  
  262. ; 80       0  #include <pragmas/utility_pragmas.h>
  263. ;===> Including file "include:pragmas/utility_pragmas.h"
  264.  
  265. ; 81
  266. ; 82       0  #include "Scsi_Cmd.h"
  267. ;===> Including file "scsi_cmd.h"
  268.  
  269. ; 83.001      /*
  270. ; 83.002       *    scsi_cmd.h
  271. ; 83.003       */
  272. ; 83.004
  273. ; 83.005   0  #include <devices/scsidisk.h>
  274. ;===> Including file "include:devices/scsidisk.h"
  275.  
  276. ; 83.006   0  #define SCSI_DEVICE "scsi.device"
  277. ; 83.007
  278. ; 83.008      /*------------------------------------------------------------------------*/
  279. ; 83.009
  280. ; 83.010      /*  type used for 6 byte SCSI command                                     */
  281. ; 83.011
  282. ; 83.012   0  typedef struct
  283. ; 83.013   0  {
  284. ; 83.014   0      UBYTE   opcode;
  285. ; 83.015   0      UBYTE   b1;
  286. ; 83.016   0      UBYTE   b2;
  287. ; 83.017   0      UBYTE   b3;
  288. ; 83.018   0      UBYTE   b4;
  289. ; 83.019   0      UBYTE   control;
  290. ; 83.020   0  }   SCSICMD6;
  291. ; 83.021
  292. ; 83.022      /*------------------------------------------------------------------------*/
  293. ; 83.023
  294. ; 83.024      /* SCSI commands */
  295. ; 83.025
  296. ; 83.026   0  #define    SCSI_CMD_TUR            0x00    /* Test Unit Ready              */
  297. ; 83.027   0  #define    SCSI_CMD_RZU            0x01    /* Rezero Unit                  */
  298. ; 83.028   0  #define    SCSI_CMD_RQS            0x03    /* Request Sense              */
  299. ; 83.029   0  #define    SCSI_CMD_FMU            0x04    /* Format unit                  */
  300. ; 83.030   0  #define    SCSI_CMD_RAB            0x07    /* Reassign Block              */
  301. ; 83.031   0  #define    SCSI_CMD_RD                0x08    /* Read                          */
  302. ; 83.032   0  #define    SCSI_CMD_WR                0x0A    /* Write                      */
  303. ; 83.033   0  #define    SCSI_CMD_SK                0x0B    /* Seek                          */
  304. ; 83.034   0  #define    SCSI_CMD_INQ            0x12    /*  6B: Inquiry                  */
  305.  
  306. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 5
  307. ;
  308. ;
  309. ;Line#  Block                                  Source
  310. ; 83.035   0  #define    SCSI_CMD_MSL            0x15    /* Mode Select                  */
  311. ; 83.036   0  #define    SCSI_CMD_RU                0x16    /* Reserve Unit                  */
  312. ; 83.037   0  #define    SCSI_CMD_RLU            0x17    /* Release Unit                  */
  313. ; 83.038   0  #define    SCSI_CMD_MSE            0x1A    /*  6B: Mode Sense              */
  314. ; 83.039   0  #define    SCSI_CMD_SSU            0x1B    /*  6B: Start/Stop Unit          */
  315. ; 83.040   0  #define    SCSI_CMD_RDI            0x1C    /* Receive Diagnostic          */
  316. ; 83.041   0  #define    SCSI_CMD_SDI            0x1D    /* Send Diagnostic              */
  317. ; 83.042   0  #define    SCSI_CMD_RCP            0x25    /* Read Capacity              */
  318. ; 83.043   0  #define    SCSI_CMD_RXT            0x28    /* Read Extended              */
  319. ; 83.044   0  #define    SCSI_CMD_WXT            0x2A    /* Write Extended              */
  320. ; 83.045   0  #define    SCSI_CMD_SKX            0x2B    /* Seek Extended              */
  321. ; 83.046   0  #define    SCSI_CMD_WVF            0x2E    /* Write & Verify              */
  322. ; 83.047   0  #define    SCSI_CMD_VF                0x2F    /* Verify                      */
  323. ; 83.048   0  #define    SCSI_CMD_RDD            0x37    /* Read Defect Data              */
  324. ; 83.049   0  #define    SCSI_CMD_WDB            0x3B    /* Write Data Buffer          */
  325. ; 83.050   0  #define    SCSI_CMD_RDB            0x3C    /* Read Data Buffer              */
  326. ; 83.051   0  #define SCSI_CMD_COPY            0x18    /*  6B: Copy                  */
  327. ; 83.052   0  #define SCSI_CMD_COMPARE        0x39    /* 10B: Compare               */
  328. ; 83.053   0  #define SCSI_CMD_COPYANDVERIFY    0x3A    /* 10B: Copy and Verify       */
  329. ; 83.054   0  #define SCSI_CMD_CHGEDEF        0x40    /* 10B: Change Definition     */
  330. ; 83.055   0  #define SCSI_CMD_READSUBCHANNEL    0x42    /* 10B: Read Sub-Channel      */
  331. ; 83.056   0  #define SCSI_CMD_READTOC        0x43    /* Read TOC from CD Audio     */
  332. ; 83.057   0  #define SCSI_CMD_READHEADER        0x44    /* 10B: Read data block address header */
  333. ; 83.058   0  #define SCSI_CMD_PLAYAUDIO10    0x45    /* Play CD Audio              */
  334. ; 83.059   0  #define SCSI_CMD_PLAYAUDIOTRACKINDEX    0x48    /* Play CD Audio Track */
  335. ; 83.060
  336. ; 83.061      /* Sony CDU 561 / Sony CDU 8003 = Apple CD 300 specific commands      */
  337. ; 83.062   0  #define SCSI_CMD_READCDDA        0xD8    /* 12B: read digital audio    */
  338. ; 83.063   0  #define SCSI_CMD_READCDDAMSF    0xD9    /* 12B: read digital audio    */
  339. ; 83
  340. ; 84          /*------------------------------------------------------------------------*/
  341. ; 85
  342. ; 86       0  void    Main(int argc, char **argv);
  343. ; 87       0  void    BailOut(APTR app, char *str);
  344. ; 88       0  void    GetDevList(int argc, char **argv);
  345. ; 89       0  int     gettooltypes(struct WBArg *, int);
  346. ; 90       0  BOOL    InitClasses(void);
  347. ; 91       0  void    ExitClasses(void);
  348. ; 92       0  ULONG   ScsiList_New(struct IClass *, Object *, struct opSet *);
  349. ; 93       0  ULONG   ScsiList_Cleanup(struct IClass *, Object *, Msg);
  350. ; 94       0  ULONG   ScsiList_Setup(struct IClass *, Object *, Msg);
  351. ; 95       0  ULONG   ScsiList_Select(struct IClass *, Object *, Msg);
  352. ; 96       0  void    ShowSCSI(char *);
  353. ; 97       0  void    ShowScsi_exit(long code, char *);
  354. ; 98       0  void    ListDevices(char *);
  355. ; 99       0  STRPTR  GetString(struct LocaleInfo *li, LONG stringNum);
  356. ;100       0  STRPTR  SetStandard(int id);
  357. ;101       0  STRPTR  SetDeviceType(int id);
  358. ;102       0  int     AddDeviceToList(int pos, char *devname);
  359. ;103
  360.  
  361. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 6
  362. ;
  363. ;
  364. ;Line#  Block                                  Source
  365. ;104          /*------------------------------------------------------------------------*/
  366. ;105
  367. ;106       0  extern  struct  Library         *DOSBase;
  368. ;107       0  extern  struct  ExecBase        *SysBase;
  369. ;108       0  extern  struct  GfxBase         *GfxBase;
  370. ;109       0  extern  struct  IntuitionBase   *IntuitionBase;
  371. ;110       0  extern  struct  Library         *UtilityBase;
  372. ;111       0  struct  Library                 *LocaleBase;
  373. ;112       0  struct  Library                 *IconBase;
  374. ;113       0  struct  Library                 *MUIMasterBase  = NULL;
  375. ;114
  376. ;115          /*------------------------------------------------------------------------*/
  377. ;116
  378. ;117       0  #include "Scsi_Locale.h"
  379. ;===> Including file "scsi_locale.h"
  380.  
  381. ; 85.001   0  #ifndef SCSI_LOCALE_H
  382. ; 85.002   0  #define SCSI_LOCALE_H
  383. ; 85.003
  384. ; 85.004
  385. ; 85.005      /****************************************************************************/
  386. ; 85.006
  387. ; 85.007
  388. ; 85.008      /* This file was created automatically by CatComp.
  389. ; 85.009       * Do NOT edit by hand!
  390. ; 85.010       */
  391. ; 85.011
  392. ; 85.012
  393. ; 85.013   0  #ifndef EXEC_TYPES_H
  394. ; 85.014      #include <exec/types.h>
  395. ; 85.015      #endif
  396. ; 85.016
  397. ; 85.017   0  #ifdef CATCOMP_ARRAY
  398. ; 85.018      #undef CATCOMP_NUMBERS
  399. ; 85.019      #undef CATCOMP_STRINGS
  400. ; 85.020      #define CATCOMP_NUMBERS
  401. ; 85.021      #define CATCOMP_STRINGS
  402. ; 85.022      #endif
  403. ; 85.023
  404. ; 85.024   0  #ifdef CATCOMP_BLOCK
  405. ; 85.025   0  #undef CATCOMP_STRINGS
  406. ; 85.026   0  #define CATCOMP_STRINGS
  407. ; 85.027   0  #endif
  408. ; 85.028
  409. ; 85.029
  410. ; 85.030      /****************************************************************************/
  411. ; 85.031
  412. ; 85.032
  413. ; 85.033   0  #ifdef CATCOMP_NUMBERS
  414. ; 85.034
  415. ; 85.035   0  #define MSG_Vendor 0
  416.  
  417. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 7
  418. ;
  419. ;
  420. ;Line#  Block                                  Source
  421. ; 85.036   0  #define MSG_Product 1
  422. ; 85.037   0  #define MSG_Revision 2
  423. ; 85.038   0  #define MSG_Device_Type 3
  424. ; 85.039   0  #define MSG_Standard 4
  425. ; 85.040   0  #define MSG_Removable 5
  426. ; 85.041   0  #define MSG_Unable_to_Open_icon 6
  427. ; 85.042   0  #define MSG_Unable_to_Open_MUI 7
  428. ; 85.043   0  #define MSG_Unable_to_Create_Cust_Class 8
  429. ; 85.044   0  #define MSG_Device 9
  430. ; 85.045   0  #define MSG_Failed_to_Create_App 10
  431. ; 85.046   0  #define MSG_Unit 11
  432. ; 85.047   0  #define MSG_Unable_to_Allocate_Memory 12
  433. ; 85.048   0  #define MSG_Unable_to_Create_Mess_Port 13
  434. ; 85.049   0  #define MSG_Unable_to_Create_StandardIO 14
  435. ; 85.050   0  #define MSG_Not_Used 15
  436. ; 85.051   0  #define MSG_Rel_Addr 16
  437. ; 85.052   0  #define MSG_16_Wide 17
  438. ; 85.053   0  #define MSG_32_Wide 18
  439. ; 85.054   0  #define MSG_List 19
  440. ; 85.055   0  #define MSG_Direct_Access_Device 20
  441. ; 85.056   0  #define MSG_Sequential_Access_Device 21
  442. ; 85.057   0  #define MSG_Printer_Device 22
  443. ; 85.058   0  #define MSG_Processor_Device 23
  444. ; 85.059   0  #define MSG_Write_Once_Device 24
  445. ; 85.060   0  #define MSG_CDROM_Device 25
  446. ; 85.061   0  #define MSG_Scanner_Device 26
  447. ; 85.062   0  #define MSG_Optical_Device 27
  448. ; 85.063   0  #define MSG_Medium_Changer_Device 28
  449. ; 85.064   0  #define MSG_Communications_Device 29
  450. ; 85.065   0  #define MSG_Unknown_Device 30
  451. ; 85.066
  452. ; 85.067   0  #endif /* CATCOMP_NUMBERS */
  453. ; 85.068
  454. ; 85.069
  455. ; 85.070      /****************************************************************************/
  456. ; 85.071
  457. ; 85.072
  458. ; 85.073   0  #ifdef CATCOMP_STRINGS
  459. ; 85.074
  460. ; 85.075   0  #define MSG_Vendor_STR "Vendor"
  461. ; 85.076   0  #define MSG_Product_STR "Product"
  462. ; 85.077   0  #define MSG_Revision_STR "Revision"
  463. ; 85.078   0  #define MSG_Device_Type_STR "Device Type"
  464. ; 85.079   0  #define MSG_Standard_STR "Standard"
  465. ; 85.080   0  #define MSG_Removable_STR "Removable"
  466. ; 85.081   0  #define MSG_Unable_to_Open_icon_STR "Unable to open icon.library"
  467. ; 85.082   0  #define MSG_Unable_to_Open_MUI_STR "Unable to open muimaster.library"
  468. ; 85.083   0  #define MSG_Unable_to_Create_Cust_Class_STR "Unable to Create Custom Classes"
  469. ; 85.084   0  #define MSG_Device_STR "Device"
  470. ; 85.085   0  #define MSG_Failed_to_Create_App_STR "Failed to create application"
  471.  
  472. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 8
  473. ;
  474. ;
  475. ;Line#  Block                                  Source
  476. ; 85.086   0  #define MSG_Unit_STR "Unit"
  477. ; 85.087   0  #define MSG_Unable_to_Allocate_Memory_STR "Unable to Allocate Memory"
  478. ; 85.088   0  #define MSG_Unable_to_Create_Mess_Port_STR "Unable to Create Message Port"
  479. ; 85.089   0  #define MSG_Unable_to_Create_StandardIO_STR "Unable to Create Standard IO"
  480. ; 85.090   0  #define MSG_Not_Used_STR "Not Used"
  481. ; 85.091   0  #define MSG_Rel_Addr_STR "Relative Addressing"
  482. ; 85.092   0  #define MSG_16_Wide_STR "16 Bit Wide Data Transfer"
  483. ; 85.093   0  #define MSG_32_Wide_STR "32 Bit Wide Data Transfer"
  484. ; 85.094   0  #define MSG_List_STR "List"
  485. ; 85.095   0  #define MSG_Direct_Access_Device_STR "Direct-access device (e.g., magnetic disk)
  486. ;       ..... "
  487. ; 85.096   0  #define MSG_Sequential_Access_Device_STR "Sequential-access device (e.g., magnet
  488. ;       ..... ic tape)"
  489. ; 85.097   0  #define MSG_Printer_Device_STR "Printer device"
  490. ; 85.098   0  #define MSG_Processor_Device_STR "Processor device"
  491. ; 85.099   0  #define MSG_Write_Once_Device_STR "Write-once device (e.g., some optical disks)"
  492. ; 85.100   0  #define MSG_CDROM_Device_STR "CD-ROM device"
  493. ; 85.101   0  #define MSG_Scanner_Device_STR "Scanner device"
  494. ; 85.102   0  #define MSG_Optical_Device_STR "Optical memory device (e.g., some optical disks)
  495. ;       ..... "
  496. ; 85.103   0  #define MSG_Medium_Changer_Device_STR "Medium Changer device (e.g., jukeboxes)"
  497. ; 85.104   0  #define MSG_Communications_Device_STR "Communications device"
  498. ; 85.105   0  #define MSG_Unknown_Device_STR "Unknown SCSI device type"
  499. ; 85.106
  500. ; 85.107   0  #endif /* CATCOMP_STRINGS */
  501. ; 85.108
  502. ; 85.109
  503. ; 85.110      /****************************************************************************/
  504. ; 85.111
  505. ; 85.112
  506. ; 85.113   0  #ifdef CATCOMP_ARRAY
  507. ; 85.114
  508. ; 85.115      struct CatCompArrayType
  509. ; 85.116      {
  510. ; 85.117          LONG   cca_ID;
  511. ; 85.118          STRPTR cca_Str;
  512. ; 85.119      };
  513. ; 85.120
  514. ; 85.121      static const struct CatCompArrayType CatCompArray[] =
  515. ; 85.122      {
  516. ; 85.123          {MSG_Vendor,(STRPTR)MSG_Vendor_STR},
  517. ; 85.124          {MSG_Product,(STRPTR)MSG_Product_STR},
  518. ; 85.125          {MSG_Revision,(STRPTR)MSG_Revision_STR},
  519. ; 85.126          {MSG_Device_Type,(STRPTR)MSG_Device_Type_STR},
  520. ; 85.127          {MSG_Standard,(STRPTR)MSG_Standard_STR},
  521. ; 85.128          {MSG_Removable,(STRPTR)MSG_Removable_STR},
  522. ; 85.129          {MSG_Unable_to_Open_icon,(STRPTR)MSG_Unable_to_Open_icon_STR},
  523. ; 85.130          {MSG_Unable_to_Open_MUI,(STRPTR)MSG_Unable_to_Open_MUI_STR},
  524. ; 85.131          {MSG_Unable_to_Create_Cust_Class,(STRPTR)MSG_Unable_to_Create_Cust_Class_STR
  525. ;       ..... },
  526.  
  527. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 9
  528. ;
  529. ;
  530. ;Line#  Block                                  Source
  531. ; 85.132          {MSG_Device,(STRPTR)MSG_Device_STR},
  532. ; 85.133          {MSG_Failed_to_Create_App,(STRPTR)MSG_Failed_to_Create_App_STR},
  533. ; 85.134          {MSG_Unit,(STRPTR)MSG_Unit_STR},
  534. ; 85.135          {MSG_Unable_to_Allocate_Memory,(STRPTR)MSG_Unable_to_Allocate_Memory_STR},
  535. ; 85.136          {MSG_Unable_to_Create_Mess_Port,(STRPTR)MSG_Unable_to_Create_Mess_Port_STR},
  536. ; 85.137          {MSG_Unable_to_Create_StandardIO,(STRPTR)MSG_Unable_to_Create_StandardIO_STR
  537. ;       ..... },
  538. ; 85.138          {MSG_Not_Used,(STRPTR)MSG_Not_Used_STR},
  539. ; 85.139          {MSG_Rel_Addr,(STRPTR)MSG_Rel_Addr_STR},
  540. ; 85.140          {MSG_16_Wide,(STRPTR)MSG_16_Wide_STR},
  541. ; 85.141          {MSG_32_Wide,(STRPTR)MSG_32_Wide_STR},
  542. ; 85.142          {MSG_List,(STRPTR)MSG_List_STR},
  543. ; 85.143          {MSG_Direct_Access_Device,(STRPTR)MSG_Direct_Access_Device_STR},
  544. ; 85.144          {MSG_Sequential_Access_Device,(STRPTR)MSG_Sequential_Access_Device_STR},
  545. ; 85.145          {MSG_Printer_Device,(STRPTR)MSG_Printer_Device_STR},
  546. ; 85.146          {MSG_Processor_Device,(STRPTR)MSG_Processor_Device_STR},
  547. ; 85.147          {MSG_Write_Once_Device,(STRPTR)MSG_Write_Once_Device_STR},
  548. ; 85.148          {MSG_CDROM_Device,(STRPTR)MSG_CDROM_Device_STR},
  549. ; 85.149          {MSG_Scanner_Device,(STRPTR)MSG_Scanner_Device_STR},
  550. ; 85.150          {MSG_Optical_Device,(STRPTR)MSG_Optical_Device_STR},
  551. ; 85.151          {MSG_Medium_Changer_Device,(STRPTR)MSG_Medium_Changer_Device_STR},
  552. ; 85.152          {MSG_Communications_Device,(STRPTR)MSG_Communications_Device_STR},
  553. ; 85.153          {MSG_Unknown_Device,(STRPTR)MSG_Unknown_Device_STR},
  554. ; 85.154      };
  555. ; 85.155
  556. ; 85.156      #endif /* CATCOMP_ARRAY */
  557. ; 85.157
  558. ; 85.158
  559. ; 85.159      /****************************************************************************/
  560. ; 85.160
  561. ; 85.161
  562. ; 85.162   0  #ifdef CATCOMP_BLOCK
  563. ; 85.163
  564. ; 85.164   0  static const char CatCompBlock[] =
  565. ; 85.165   0  {
  566. ; 85.166   0      "\x00\x00\x00\x00\x00\x08"
  567. ; 85.167   0      MSG_Vendor_STR "\x00\x00"
  568. ; 85.168   0      "\x00\x00\x00\x01\x00\x08"
  569. ; 85.169   0      MSG_Product_STR "\x00"
  570. ; 85.170   0      "\x00\x00\x00\x02\x00\x0A"
  571. ; 85.171   0      MSG_Revision_STR "\x00\x00"
  572. ; 85.172   0      "\x00\x00\x00\x03\x00\x0C"
  573. ; 85.173   0      MSG_Device_Type_STR "\x00"
  574. ; 85.174   0      "\x00\x00\x00\x04\x00\x0A"
  575. ; 85.175   0      MSG_Standard_STR "\x00\x00"
  576. ; 85.176   0      "\x00\x00\x00\x05\x00\x0A"
  577. ; 85.177   0      MSG_Removable_STR "\x00"
  578. ; 85.178   0      "\x00\x00\x00\x06\x00\x1C"
  579. ; 85.179   0      MSG_Unable_to_Open_icon_STR "\x00"
  580. ; 85.180   0      "\x00\x00\x00\x07\x00\x22"
  581.  
  582. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 10
  583. ;
  584. ;
  585. ;Line#  Block                                  Source
  586. ; 85.181   0      MSG_Unable_to_Open_MUI_STR "\x00\x00"
  587. ; 85.182   0      "\x00\x00\x00\x08\x00\x20"
  588. ; 85.183   0      MSG_Unable_to_Create_Cust_Class_STR "\x00"
  589. ; 85.184   0      "\x00\x00\x00\x09\x00\x08"
  590. ; 85.185   0      MSG_Device_STR "\x00\x00"
  591. ; 85.186   0      "\x00\x00\x00\x0A\x00\x1E"
  592. ; 85.187   0      MSG_Failed_to_Create_App_STR "\x00\x00"
  593. ; 85.188   0      "\x00\x00\x00\x0B\x00\x06"
  594. ; 85.189   0      MSG_Unit_STR "\x00\x00"
  595. ; 85.190   0      "\x00\x00\x00\x0C\x00\x1A"
  596. ; 85.191   0      MSG_Unable_to_Allocate_Memory_STR "\x00"
  597. ; 85.192   0      "\x00\x00\x00\x0D\x00\x1E"
  598. ; 85.193   0      MSG_Unable_to_Create_Mess_Port_STR "\x00"
  599. ; 85.194   0      "\x00\x00\x00\x0E\x00\x1E"
  600. ; 85.195   0      MSG_Unable_to_Create_StandardIO_STR "\x00\x00"
  601. ; 85.196   0      "\x00\x00\x00\x0F\x00\x0A"
  602. ; 85.197   0      MSG_Not_Used_STR "\x00\x00"
  603. ; 85.198   0      "\x00\x00\x00\x10\x00\x14"
  604. ; 85.199   0      MSG_Rel_Addr_STR "\x00"
  605. ; 85.200   0      "\x00\x00\x00\x11\x00\x1A"
  606. ; 85.201   0      MSG_16_Wide_STR "\x00"
  607. ; 85.202   0      "\x00\x00\x00\x12\x00\x1A"
  608. ; 85.203   0      MSG_32_Wide_STR "\x00"
  609. ; 85.204   0      "\x00\x00\x00\x13\x00\x06"
  610. ; 85.205   0      MSG_List_STR "\x00\x00"
  611. ; 85.206   0      "\x00\x00\x00\x14\x00\x2C"
  612. ; 85.207   0      MSG_Direct_Access_Device_STR "\x00\x00"
  613. ; 85.208   0      "\x00\x00\x00\x15\x00\x30"
  614. ; 85.209   0      MSG_Sequential_Access_Device_STR "\x00\x00"
  615. ; 85.210   0      "\x00\x00\x00\x16\x00\x10"
  616. ; 85.211   0      MSG_Printer_Device_STR "\x00\x00"
  617. ; 85.212   0      "\x00\x00\x00\x17\x00\x12"
  618. ; 85.213   0      MSG_Processor_Device_STR "\x00\x00"
  619. ; 85.214   0      "\x00\x00\x00\x18\x00\x2E"
  620. ; 85.215   0      MSG_Write_Once_Device_STR "\x00\x00"
  621. ; 85.216   0      "\x00\x00\x00\x19\x00\x0E"
  622. ; 85.217   0      MSG_CDROM_Device_STR "\x00"
  623. ; 85.218   0      "\x00\x00\x00\x1A\x00\x10"
  624. ; 85.219   0      MSG_Scanner_Device_STR "\x00\x00"
  625. ; 85.220   0      "\x00\x00\x00\x1B\x00\x32"
  626. ; 85.221   0      MSG_Optical_Device_STR "\x00\x00"
  627. ; 85.222   0      "\x00\x00\x00\x1C\x00\x28"
  628. ; 85.223   0      MSG_Medium_Changer_Device_STR "\x00"
  629. ; 85.224   0      "\x00\x00\x00\x1D\x00\x16"
  630. ; 85.225   0      MSG_Communications_Device_STR "\x00"
  631. ; 85.226   0      "\x00\x00\x00\x1E\x00\x1A"
  632. ; 85.227   0      MSG_Unknown_Device_STR "\x00\x00"
  633. ; 85.228   0  };
  634. ; 85.229
  635. ; 85.230   0  #endif /* CATCOMP_BLOCK */
  636.  
  637. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 11
  638. ;
  639. ;
  640. ;Line#  Block                                  Source
  641. ; 85.231
  642. ; 85.232
  643. ; 85.233      /****************************************************************************/
  644. ; 85.234
  645. ; 85.235
  646. ; 85.236   0  struct LocaleInfo
  647. ; 85.237   0  {
  648. ; 85.238   0      APTR li_LocaleBase;
  649. ; 85.239   0      APTR li_Catalog;
  650. ; 85.240   0  };
  651. ; 85.241
  652. ; 85.242
  653. ; 85.243   0  #ifdef CATCOMP_CODE
  654. ; 85.244
  655. ; 85.245   0  STRPTR GetString(struct LocaleInfo *li, LONG stringNum)
  656. ; 85.246   0  {
  657. ; 85.247   1  LONG   *l;
  658. ; 85.248   1  UWORD  *w;
  659. ; 85.249   1  STRPTR  builtIn;
  660. ; 85.250
  661. ; 85.251   1      l = (LONG *)CatCompBlock;
  662. ; 85.252
  663. ; 85.253   1      while (*l != stringNum)
  664. ; 85.254   1      {
  665. ; 85.255   2          w = (UWORD *)((ULONG)l + 4);
  666. ; 85.256   2          l = (LONG *)((ULONG)l + (ULONG)*w + 6);
  667. ; 85.257   2      }
  668. ; 85.258   1      builtIn = (STRPTR)((ULONG)l + 6);
  669. ; 85.259
  670. ; 85.260   1      if (LocaleBase)
  671. ; 85.261   1          return(GetCatalogStr(li->li_Catalog,stringNum,builtIn));
  672. ; 85.262
  673. ; 85.263   1      return(builtIn);
  674. ; 85.264   1  }
  675. ; 85.265
  676. ; 85.266
  677. ; 85.267   0  #endif /* CATCOMP_CODE */
  678. ; 85.268
  679. ; 85.269
  680. ; 85.270      /****************************************************************************/
  681. ; 85.271
  682. ; 85.272
  683. ; 85.273   0  #endif /* SCSI_LOCALE_H */
  684. ;118
  685. ;119          /*------------------------------------------------------------------------*/
  686. ;120
  687. ;121       0  #define USE_CD_ROM_BODY
  688. ;122       0  #define USE_CD_ROM_COLORS
  689. ;123       0  #include "CD_Rom.h"
  690. ;===> Including file "cd_rom.h"
  691.  
  692.  
  693. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 12
  694. ;
  695. ;
  696. ;Line#  Block                                  Source
  697. ; 86.001   0  #ifdef USE_CD_ROM_COLORS
  698. ; 86.002   0  const ULONG CD_Rom_colors[48] =
  699. ; 86.003   0  {
  700. ; 86.004   0      0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
  701. ; 86.005   0      0x00000000,0x00000000,0x00000000,
  702. ; 86.006   0      0xffffffff,0xffffffff,0xffffffff,
  703. ; 86.007   0      0x66666666,0x88888888,0xbbbbbbbb,
  704. ; 86.008   0      0x00000000,0x00000000,0xffffffff,
  705. ; 86.009   0      0xffffffff,0x00000000,0xffffffff,
  706. ; 86.010   0      0x00000000,0xffffffff,0xffffffff,
  707. ; 86.011   0      0xffffffff,0xffffffff,0xffffffff,
  708. ; 86.012   0      0x66666666,0x22222222,0x00000000,
  709. ; 86.013   0      0xeeeeeeee,0x55555555,0x00000000,
  710. ; 86.014   0      0x99999999,0xffffffff,0x11111111,
  711. ; 86.015   0      0xeeeeeeee,0xbbbbbbbb,0x00000000,
  712. ; 86.016   0      0x99999999,0x99999999,0x99999999,
  713. ; 86.017   0      0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
  714. ; 86.018   0      0xbbbbbbbb,0xaaaaaaaa,0x99999999,
  715. ; 86.019   0      0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
  716. ; 86.020   0  };
  717. ; 86.021   0  #endif
  718. ; 86.022
  719. ; 86.023   0  #define CD_ROM_WIDTH        32
  720. ; 86.024   0  #define CD_ROM_HEIGHT       16
  721. ; 86.025   0  #define CD_ROM_DEPTH         4
  722. ; 86.026   0  #define CD_ROM_COMPRESSION   1
  723. ; 86.027   0  #define CD_ROM_MASKING       0
  724. ; 86.028
  725. ; 86.029   0  #ifdef USE_CD_ROM_HEADER
  726. ; 86.030      const struct BitMapHeader CD_Rom_header =
  727. ; 86.031      { 32,16,0,0,4,0,1,0,0,1,1,0,0 };
  728. ; 86.032      #endif
  729. ; 86.033
  730. ; 86.034   0  #ifdef USE_CD_ROM_BODY
  731. ; 86.035   0  const UBYTE CD_Rom_body[320] = {
  732. ; 86.036   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  733. ; 86.037   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  734. ; 86.038   0  0x03,0x0f,0xff,0xff,0xfe,0x03,0x0f,0xff,0xff,0xfe,0x03,0x0f,0xf5,0xe2,0x7e,
  735. ; 86.039   0  0x03,0x00,0x00,0x00,0x00,0x03,0x1f,0xf5,0xe2,0x7c,0x03,0x1f,0xf5,0xe2,0x7c,
  736. ; 86.040   0  0x03,0x1f,0xe3,0xf2,0x32,0x03,0x00,0x00,0x00,0x00,0x03,0x3f,0xe3,0xf2,0x3c,
  737. ; 86.041   0  0x03,0x3f,0xe3,0xf2,0x3c,0x03,0x00,0x00,0x00,0x02,0x03,0x3f,0xff,0xff,0xe0,
  738. ; 86.042   0  0x03,0x40,0x00,0x00,0x1c,0x03,0x40,0x00,0x00,0x1c,0x03,0x3f,0xff,0xff,0xe2,
  739. ; 86.043   0  0x03,0x20,0x00,0x00,0x00,0x03,0x7f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,
  740. ; 86.044   0  0x03,0x3f,0xff,0xff,0xe2,0x03,0x2f,0xff,0xff,0xc0,0x03,0x7f,0xff,0xff,0xfc,
  741. ; 86.045   0  0x03,0x50,0x00,0x00,0x3c,0x03,0x30,0x00,0x00,0x22,0x03,0x20,0x00,0x00,0x00,
  742. ; 86.046   0  0x03,0x7f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,0x03,0x33,0xff,0x47,0xe2,
  743. ; 86.047   0  0x03,0x22,0x81,0xb8,0x00,0x03,0x7f,0xfe,0x7f,0xbc,0x03,0x5d,0x7f,0xc7,0xbc,
  744. ; 86.048   0  0x03,0x37,0xff,0x23,0xe2,0x03,0x25,0x03,0xdc,0x00,0x03,0x7f,0xfc,0x3f,0xbc,
  745. ; 86.049   0  0x03,0x5a,0xff,0xe3,0xbc,0x03,0x33,0xff,0x21,0xe2,0x03,0x2a,0x01,0xde,0x00,
  746. ; 86.050   0  0x03,0x77,0xfe,0x3f,0x7c,0x03,0x5d,0xff,0xe1,0x7c,0x03,0x3d,0xff,0x91,0xe2,
  747.  
  748. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 13
  749. ;
  750. ;
  751. ;Line#  Block                                  Source
  752. ; 86.051   0  0x03,0x20,0x03,0xee,0x00,0x03,0x73,0xfc,0x1e,0xfc,0x03,0x53,0xff,0xf0,0xfc,
  753. ; 86.052   0  0x03,0x3e,0x7f,0x97,0xe4,0x03,0x20,0x01,0xe0,0x00,0x03,0x7f,0xfe,0x19,0xf8,
  754. ; 86.053   0  0x03,0x5f,0xff,0xf9,0xf8,0x03,0x00,0x0f,0xb8,0x08,0x03,0x00,0x03,0xc0,0x00,
  755. ; 86.054   0  0x03,0x7f,0xfc,0x07,0xf0,0x03,0x7f,0xff,0xc7,0xf0,0x03,0x3f,0xff,0xff,0xf0,
  756. ; 86.055   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  757. ; 86.056   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  758. ; 86.057   0  0x03,0x00,0x00,0x00,0x00, };
  759. ; 86.058   0  #endif
  760. ;124
  761. ;125       0  #define USE_HARD_DRIVE_BODY
  762. ;126       0  #include "Hard_Drive.h"
  763. ;===> Including file "hard_drive.h"
  764.  
  765. ; 87.001   0  #ifdef USE_HARD_DRIVE_COLORS
  766. ; 87.002      const ULONG Hard_Drive_colors[48] =
  767. ; 87.003      {
  768. ; 87.004          0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
  769. ; 87.005          0x00000000,0x00000000,0x00000000,
  770. ; 87.006          0xffffffff,0xffffffff,0xffffffff,
  771. ; 87.007          0x66666666,0x88888888,0xbbbbbbbb,
  772. ; 87.008          0x00000000,0x00000000,0xffffffff,
  773. ; 87.009          0xffffffff,0x00000000,0xffffffff,
  774. ; 87.010          0x00000000,0xffffffff,0xffffffff,
  775. ; 87.011          0xffffffff,0xffffffff,0xffffffff,
  776. ; 87.012          0x66666666,0x22222222,0x00000000,
  777. ; 87.013          0xeeeeeeee,0x55555555,0x00000000,
  778. ; 87.014          0x99999999,0xffffffff,0x11111111,
  779. ; 87.015          0xeeeeeeee,0xbbbbbbbb,0x00000000,
  780. ; 87.016          0x99999999,0x99999999,0x99999999,
  781. ; 87.017          0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
  782. ; 87.018          0xbbbbbbbb,0xaaaaaaaa,0x99999999,
  783. ; 87.019          0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
  784. ; 87.020      };
  785. ; 87.021      #endif
  786. ; 87.022
  787. ; 87.023   0  #define HARD_DRIVE_WIDTH        32
  788. ; 87.024   0  #define HARD_DRIVE_HEIGHT       16
  789. ; 87.025   0  #define HARD_DRIVE_DEPTH         4
  790. ; 87.026   0  #define HARD_DRIVE_COMPRESSION   1
  791. ; 87.027   0  #define HARD_DRIVE_MASKING       0
  792. ; 87.028
  793. ; 87.029   0  #ifdef USE_HARD_DRIVE_HEADER
  794. ; 87.030      const struct BitMapHeader Hard_Drive_header =
  795. ; 87.031      { 32,16,0,0,4,0,1,0,0,1,1,0,0 };
  796. ; 87.032      #endif
  797. ; 87.033
  798. ; 87.034   0  #ifdef USE_HARD_DRIVE_BODY
  799. ; 87.035   0  const UBYTE Hard_Drive_body[320] = {
  800. ; 87.036   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  801. ; 87.037   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  802. ; 87.038   0  0x03,0x0f,0xff,0xff,0xfc,0x03,0x0f,0xff,0xff,0xfc,0x03,0x0f,0xff,0xff,0xfa,
  803.  
  804. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 14
  805. ;
  806. ;
  807. ;Line#  Block                                  Source
  808. ; 87.039   0  0x03,0x00,0x00,0x00,0x00,0x03,0x1f,0xff,0xff,0xfc,0x03,0x1f,0xff,0xff,0xfc,
  809. ; 87.040   0  0x03,0x1f,0xff,0xff,0xf2,0x03,0x00,0x00,0x00,0x00,0x03,0x3f,0xff,0xff,0xfc,
  810. ; 87.041   0  0x03,0x3f,0xff,0xff,0xfc,0x03,0x3f,0xff,0xff,0xe2,0x03,0x3f,0xff,0xff,0xe0,
  811. ; 87.042   0  0x03,0x7f,0xff,0xff,0xfc,0x03,0x40,0x00,0x00,0x1c,0x03,0x3f,0xff,0xfc,0x62,
  812. ; 87.043   0  0x03,0x20,0x00,0x03,0x80,0x03,0x7f,0xff,0xfc,0x7c,0x03,0x5f,0xff,0xff,0xfc,
  813. ; 87.044   0  0x03,0x3f,0xff,0xff,0xe2,0x03,0x20,0x00,0x00,0x00,0x03,0x7f,0xff,0xfc,0x7c,
  814. ; 87.045   0  0x03,0x5f,0xff,0xfc,0x7c,0x03,0x3f,0xff,0xff,0xe2,0x03,0x20,0x00,0x00,0x00,
  815. ; 87.046   0  0x03,0x7f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,0x03,0x30,0x00,0x00,0x62,
  816. ; 87.047   0  0x03,0x20,0x00,0x00,0x00,0x03,0x7f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,
  817. ; 87.048   0  0x03,0x3f,0xff,0xff,0xe2,0x03,0x2f,0xff,0xff,0x80,0x03,0x7f,0xff,0xff,0xfc,
  818. ; 87.049   0  0x03,0x50,0x00,0x00,0x7c,0x03,0x30,0x00,0x00,0x62,0x03,0x20,0x00,0x00,0x00,
  819. ; 87.050   0  0x03,0x7f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,0x03,0x3f,0xff,0xff,0xe2,
  820. ; 87.051   0  0x03,0x2f,0xff,0xff,0x80,0x03,0x7f,0xff,0xff,0xfc,0x03,0x50,0x00,0x00,0x7c,
  821. ; 87.052   0  0x03,0x3f,0xff,0xff,0xe4,0x03,0x20,0x00,0x00,0x00,0x03,0x7f,0xff,0xff,0xf8,
  822. ; 87.053   0  0x03,0x5f,0xff,0xff,0xf8,0x03,0x00,0x00,0x00,0x08,0x03,0x00,0x00,0x00,0x00,
  823. ; 87.054   0  0x03,0x7f,0xff,0xff,0xf0,0x03,0x7f,0xff,0xff,0xf0,0x03,0x3f,0xff,0xff,0xf0,
  824. ; 87.055   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  825. ; 87.056   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  826. ; 87.057   0  0x03,0x00,0x00,0x00,0x00, };
  827. ; 87.058   0  #endif
  828. ;127
  829. ;128       0  #define USE_REMOVE_DRIVE_BODY
  830. ;129       0  #include "Remove_Drive.h"
  831. ;===> Including file "remove_drive.h"
  832.  
  833. ; 88.001   0  #ifdef USE_REMOVE_DRIVE_COLORS
  834. ; 88.002      const ULONG Remove_Drive_colors[48] =
  835. ; 88.003      {
  836. ; 88.004          0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
  837. ; 88.005          0x00000000,0x00000000,0x00000000,
  838. ; 88.006          0xffffffff,0xffffffff,0xffffffff,
  839. ; 88.007          0x66666666,0x88888888,0xbbbbbbbb,
  840. ; 88.008          0x00000000,0x00000000,0xffffffff,
  841. ; 88.009          0xffffffff,0x00000000,0xffffffff,
  842. ; 88.010          0x00000000,0xffffffff,0xffffffff,
  843. ; 88.011          0xffffffff,0xffffffff,0xffffffff,
  844. ; 88.012          0x66666666,0x22222222,0x00000000,
  845. ; 88.013          0xeeeeeeee,0x55555555,0x00000000,
  846. ; 88.014          0x99999999,0xffffffff,0x11111111,
  847. ; 88.015          0xeeeeeeee,0xbbbbbbbb,0x00000000,
  848. ; 88.016          0x99999999,0x99999999,0x99999999,
  849. ; 88.017          0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
  850. ; 88.018          0xbbbbbbbb,0xaaaaaaaa,0x99999999,
  851. ; 88.019          0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
  852. ; 88.020      };
  853. ; 88.021      #endif
  854. ; 88.022
  855. ; 88.023   0  #define REMOVE_DRIVE_WIDTH        32
  856. ; 88.024   0  #define REMOVE_DRIVE_HEIGHT       16
  857. ; 88.025   0  #define REMOVE_DRIVE_DEPTH         4
  858. ; 88.026   0  #define REMOVE_DRIVE_COMPRESSION   1
  859.  
  860. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 15
  861. ;
  862. ;
  863. ;Line#  Block                                  Source
  864. ; 88.027   0  #define REMOVE_DRIVE_MASKING       0
  865. ; 88.028
  866. ; 88.029   0  #ifdef USE_REMOVE_DRIVE_HEADER
  867. ; 88.030      const struct BitMapHeader Remove_Drive_header =
  868. ; 88.031      { 32,16,0,0,4,0,1,0,0,1,1,0,0 };
  869. ; 88.032      #endif
  870. ; 88.033
  871. ; 88.034   0  #ifdef USE_REMOVE_DRIVE_BODY
  872. ; 88.035   0  const UBYTE Remove_Drive_body[320] = {
  873. ; 88.036   0  0x03,0x00,0x00,0x00,0x02,0x03,0x00,0x00,0x00,0x00,0x03,0x1f,0xff,0xff,0xfc,
  874. ; 88.037   0  0x03,0x1f,0xff,0xff,0xfc,0x03,0x1f,0xff,0xff,0xfa,0x03,0x00,0x00,0x00,0x00,
  875. ; 88.038   0  0x03,0x3f,0xff,0xff,0xfc,0x03,0x3f,0xff,0xff,0xfc,0x03,0x3f,0xff,0xff,0xf2,
  876. ; 88.039   0  0x03,0x00,0x00,0x00,0x00,0x03,0x7f,0xff,0xff,0xfc,0x03,0x7f,0xff,0xff,0xfc,
  877. ; 88.040   0  0x03,0x00,0x00,0x00,0x02,0x03,0x3f,0xff,0xff,0xf0,0x03,0x40,0x00,0x00,0x0c,
  878. ; 88.041   0  0x03,0x40,0x00,0x00,0x0c,0x03,0x1f,0xff,0xff,0xf2,0x03,0x20,0x00,0x00,0x00,
  879. ; 88.042   0  0x03,0x5f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,0x03,0x1f,0x80,0x00,0xf2,
  880. ; 88.043   0  0x03,0x20,0x00,0x00,0x00,0x03,0x5f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,
  881. ; 88.044   0  0x03,0x1e,0x7f,0xff,0x32,0x03,0x20,0x00,0x00,0x00,0x03,0x53,0x80,0x00,0xfc,
  882. ; 88.045   0  0x03,0x5f,0x80,0x00,0xfc,0x03,0x1e,0x7f,0xff,0x32,0x03,0x20,0x00,0x00,0x00,
  883. ; 88.046   0  0x03,0x53,0x80,0x00,0xfc,0x03,0x5f,0x80,0x00,0xfc,0x03,0x1e,0x7f,0xff,0x32,
  884. ; 88.047   0  0x03,0x21,0x80,0x00,0xc0,0x03,0x5e,0x00,0x00,0x3c,0x03,0x5e,0x00,0x00,0x3c,
  885. ; 88.048   0  0x03,0x1f,0x80,0x00,0xf2,0x03,0x20,0x7f,0xff,0x00,0x03,0x5f,0x80,0x00,0xfc,
  886. ; 88.049   0  0x03,0x5f,0x80,0x00,0xfc,0x03,0x1f,0xff,0xff,0xf2,0x03,0x20,0x00,0x00,0x00,
  887. ; 88.050   0  0x03,0x5f,0xff,0xff,0xfc,0x03,0x5f,0xff,0xff,0xfc,0x03,0x1f,0xff,0xff,0xf2,
  888. ; 88.051   0  0x03,0x21,0x55,0x55,0x40,0x03,0x5f,0xff,0xff,0xfc,0x03,0x5e,0xaa,0xaa,0xbc,
  889. ; 88.052   0  0x03,0x1f,0xff,0xff,0xf2,0x03,0x20,0x00,0x00,0x00,0x03,0x5f,0xff,0xff,0xfc,
  890. ; 88.053   0  0x03,0x5f,0xff,0xff,0xfc,0x03,0x00,0x00,0x00,0x04,0x03,0x00,0x00,0x00,0x00,
  891. ; 88.054   0  0x03,0x7f,0xff,0xff,0xf8,0x03,0x7f,0xff,0xff,0xf8,0x03,0x3f,0xff,0xff,0xf8,
  892. ; 88.055   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  893. ; 88.056   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  894. ; 88.057   0  0x03,0x00,0x00,0x00,0x00, };
  895. ; 88.058   0  #endif
  896. ;130
  897. ;131       0  #define USE_NULL_BODY
  898. ;132       0  #include "Null.h"
  899. ;===> Including file "null.h"
  900.  
  901. ; 89.001   0  #ifdef USE_NULL_COLORS
  902. ; 89.002      const ULONG Null_colors[48] =
  903. ; 89.003      {
  904. ; 89.004          0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
  905. ; 89.005          0x00000000,0x00000000,0x00000000,
  906. ; 89.006          0xffffffff,0xffffffff,0xffffffff,
  907. ; 89.007          0x66666666,0x88888888,0xbbbbbbbb,
  908. ; 89.008          0x00000000,0x00000000,0xffffffff,
  909. ; 89.009          0xffffffff,0x00000000,0xffffffff,
  910. ; 89.010          0x00000000,0xffffffff,0xffffffff,
  911. ; 89.011          0xffffffff,0xffffffff,0xffffffff,
  912. ; 89.012          0x66666666,0x22222222,0x00000000,
  913. ; 89.013          0xeeeeeeee,0x55555555,0x00000000,
  914. ; 89.014          0x99999999,0xffffffff,0x11111111,
  915.  
  916. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 16
  917. ;
  918. ;
  919. ;Line#  Block                                  Source
  920. ; 89.015          0xeeeeeeee,0xbbbbbbbb,0x00000000,
  921. ; 89.016          0x99999999,0x99999999,0x99999999,
  922. ; 89.017          0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
  923. ; 89.018          0xbbbbbbbb,0xaaaaaaaa,0x99999999,
  924. ; 89.019          0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
  925. ; 89.020      };
  926. ; 89.021      #endif
  927. ; 89.022
  928. ; 89.023   0  #define NULL_WIDTH        32
  929. ; 89.024   0  #define NULL_HEIGHT       16
  930. ; 89.025   0  #define NULL_DEPTH         4
  931. ; 89.026   0  #define NULL_COMPRESSION   1
  932. ; 89.027   0  #define NULL_MASKING       0
  933. ; 89.028
  934. ; 89.029   0  #ifdef USE_NULL_HEADER
  935. ; 89.030      const struct BitMapHeader Null_header =
  936. ; 89.031      { 32,16,0,0,4,0,1,0,0,1,1,0,0 };
  937. ; 89.032      #endif
  938. ; 89.033
  939. ; 89.034   0  #ifdef USE_NULL_BODY
  940. ; 89.035   0  const UBYTE Null_body[320] = {
  941. ; 89.036   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  942. ; 89.037   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  943. ; 89.038   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  944. ; 89.039   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  945. ; 89.040   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  946. ; 89.041   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  947. ; 89.042   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  948. ; 89.043   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  949. ; 89.044   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  950. ; 89.045   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  951. ; 89.046   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  952. ; 89.047   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  953. ; 89.048   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  954. ; 89.049   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  955. ; 89.050   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  956. ; 89.051   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  957. ; 89.052   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  958. ; 89.053   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  959. ; 89.054   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  960. ; 89.055   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  961. ; 89.056   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  962. ; 89.057   0  0x03,0x00,0x00,0x00,0x00, };
  963. ; 89.058   0  #endif
  964. ;133
  965. ;134       0  #define USE_NOUNIT_BODY
  966. ;135       0  #include "NoUnit.h"
  967. ;===> Including file "nounit.h"
  968.  
  969. ; 90.001   0  #ifdef USE_NOUNIT_COLORS
  970. ; 90.002      const ULONG NoUnit_colors[48] =
  971.  
  972. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 17
  973. ;
  974. ;
  975. ;Line#  Block                                  Source
  976. ; 90.003      {
  977. ; 90.004          0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
  978. ; 90.005          0x00000000,0x00000000,0x00000000,
  979. ; 90.006          0xffffffff,0xffffffff,0xffffffff,
  980. ; 90.007          0x66666666,0x88888888,0xbbbbbbbb,
  981. ; 90.008          0x00000000,0x00000000,0xffffffff,
  982. ; 90.009          0xffffffff,0x00000000,0xffffffff,
  983. ; 90.010          0x00000000,0xffffffff,0xffffffff,
  984. ; 90.011          0xffffffff,0xffffffff,0xffffffff,
  985. ; 90.012          0x66666666,0x22222222,0x00000000,
  986. ; 90.013          0xeeeeeeee,0x55555555,0x00000000,
  987. ; 90.014          0x99999999,0xffffffff,0x11111111,
  988. ; 90.015          0xeeeeeeee,0xbbbbbbbb,0x00000000,
  989. ; 90.016          0x99999999,0x99999999,0x99999999,
  990. ; 90.017          0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
  991. ; 90.018          0xbbbbbbbb,0xaaaaaaaa,0x99999999,
  992. ; 90.019          0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
  993. ; 90.020      };
  994. ; 90.021      #endif
  995. ; 90.022
  996. ; 90.023   0  #define NOUNIT_WIDTH        32
  997. ; 90.024   0  #define NOUNIT_HEIGHT       16
  998. ; 90.025   0  #define NOUNIT_DEPTH         4
  999. ; 90.026   0  #define NOUNIT_COMPRESSION   1
  1000. ; 90.027   0  #define NOUNIT_MASKING       0
  1001. ; 90.028
  1002. ; 90.029   0  #ifdef USE_NOUNIT_HEADER
  1003. ; 90.030      const struct BitMapHeader NoUnit_header =
  1004. ; 90.031      { 32,16,0,0,4,0,1,0,0,1,1,0,0 };
  1005. ; 90.032      #endif
  1006. ; 90.033
  1007. ; 90.034   0  #ifdef USE_NOUNIT_BODY
  1008. ; 90.035   0  const UBYTE NoUnit_body[320] = {
  1009. ; 90.036   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  1010. ; 90.037   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  1011. ; 90.038   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  1012. ; 90.039   0  0x03,0x00,0x78,0x1e,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x78,0x1e,0x00,
  1013. ; 90.040   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7c,0x3e,0x00,0x03,0x00,0x00,0x00,0x00,
  1014. ; 90.041   0  0x03,0x00,0x7c,0x3e,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7e,0x7e,0x00,
  1015. ; 90.042   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7e,0x7e,0x00,0x03,0x00,0x00,0x00,0x00,
  1016. ; 90.043   0  0x03,0x00,0x3f,0xfc,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x3f,0xfc,0x00,
  1017. ; 90.044   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x1f,0xf8,0x00,0x03,0x00,0x00,0x00,0x00,
  1018. ; 90.045   0  0x03,0x00,0x1f,0xf8,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x0f,0xf0,0x00,
  1019. ; 90.046   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x0f,0xf0,0x00,0x03,0x00,0x00,0x00,0x00,
  1020. ; 90.047   0  0x03,0x00,0x07,0xe0,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x07,0xe0,0x00,
  1021. ; 90.048   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x0f,0xf0,0x00,0x03,0x00,0x00,0x00,0x00,
  1022. ; 90.049   0  0x03,0x00,0x0f,0xf0,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x1f,0xf8,0x00,
  1023. ; 90.050   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x1f,0xf8,0x00,0x03,0x00,0x00,0x00,0x00,
  1024. ; 90.051   0  0x03,0x00,0x3f,0xfc,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x3f,0xfc,0x00,
  1025. ; 90.052   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7e,0x7e,0x00,0x03,0x00,0x00,0x00,0x00,
  1026.  
  1027. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 18
  1028. ;
  1029. ;
  1030. ;Line#  Block                                  Source
  1031. ; 90.053   0  0x03,0x00,0x7e,0x7e,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7c,0x3e,0x00,
  1032. ; 90.054   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x7c,0x3e,0x00,0x03,0x00,0x00,0x00,0x00,
  1033. ; 90.055   0  0x03,0x00,0x78,0x1e,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x78,0x1e,0x00,
  1034. ; 90.056   0  0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,
  1035. ; 90.057   0  0x03,0x00,0x00,0x00,0x00, };
  1036. ; 90.058   0  #endif
  1037. ;136
  1038. ;137       0  #define USE_PROCESSOR_BODY
  1039. ;138       0  #define USE_PROCESSOR_COLORS
  1040. ;139       0  #include "Processor.h"
  1041. ;===> Including file "processor.h"
  1042.  
  1043. ; 91.001   0  #ifdef USE_PROCESSOR_COLORS
  1044. ; 91.002   0  const ULONG Processor_colors[768] =
  1045. ; 91.003   0  {
  1046. ; 91.004   0      0x95959595,0x95959595,0x95959595,
  1047. ; 91.005   0      0x00000000,0x00000000,0x00000000,
  1048. ; 91.006   0      0xffffffff,0xffffffff,0xffffffff,
  1049. ; 91.007   0      0x3b3b3b3b,0x67676767,0xa2a2a2a2,
  1050. ; 91.008   0      0x7b7b7b7b,0x7b7b7b7b,0x7b7b7b7b,
  1051. ; 91.009   0      0xafafafaf,0xafafafaf,0xafafafaf,
  1052. ; 91.010   0      0xaaaaaaaa,0x90909090,0x7c7c7c7c,
  1053. ; 91.011   0      0xffffffff,0xa9a9a9a9,0x97979797,
  1054. ; 91.012   0      0x00000000,0x00000000,0xffffffff,
  1055. ; 91.013   0      0x32323232,0x32323232,0x32323232,
  1056. ; 91.014   0      0x60606060,0x80808080,0x60606060,
  1057. ; 91.015   0      0xe2e2e2e2,0xd1d1d1d1,0x77777777,
  1058. ; 91.016   0      0xffffffff,0xd4d4d4d4,0xcbcbcbcb,
  1059. ; 91.017   0      0x7a7a7a7a,0x60606060,0x48484848,
  1060. ; 91.018   0      0xd2d2d2d2,0xd2d2d2d2,0xd2d2d2d2,
  1061. ; 91.019   0      0xe5e5e5e5,0x5d5d5d5d,0x5d5d5d5d,
  1062. ; 91.020   0      0x00000000,0x00000000,0x00000000,
  1063. ; 91.021   0      0xeeeeeeee,0x44444444,0x44444444,
  1064. ; 91.022   0      0x00000000,0x00000000,0x00000000,
  1065. ; 91.023   0      0xeeeeeeee,0xeeeeeeee,0xcccccccc,
  1066. ; 91.024   0      0x44444444,0x44444444,0x44444444,
  1067. ; 91.025   0      0x55555555,0x55555555,0x55555555,
  1068. ; 91.026   0      0x66666666,0x66666666,0x66666666,
  1069. ; 91.027   0      0x77777777,0x77777777,0x77777777,
  1070. ; 91.028   0      0x88888888,0x88888888,0x88888888,
  1071. ; 91.029   0      0x99999999,0x99999999,0x99999999,
  1072. ; 91.030   0      0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
  1073. ; 91.031   0      0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
  1074. ; 91.032   0      0xcccccccc,0xcccccccc,0xcccccccc,
  1075. ; 91.033   0      0xdddddddd,0xdddddddd,0xdddddddd,
  1076. ; 91.034   0      0xeeeeeeee,0xeeeeeeee,0xeeeeeeee,
  1077. ; 91.035   0      0xffffffff,0xffffffff,0xffffffff,
  1078. ; 91.036   0      0x09090909,0x09090909,0x09090909,
  1079. ; 91.037   0      0x00000000,0x20202020,0xc0c0c0c0,
  1080. ; 91.038   0      0x1f1f1f1f,0x6f6f6f6f,0x0f0f0f0f,
  1081. ; 91.039   0      0x23232323,0x06060606,0x2a2a2a2a,
  1082.  
  1083. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 19
  1084. ;
  1085. ;
  1086. ;Line#  Block                                  Source
  1087. ; 91.040   0      0x07070707,0x07070707,0x47474747,
  1088. ; 91.041   0      0x0a0a0a0a,0x5a5a5a5a,0xcacacaca,
  1089. ; 91.042   0      0x0a0a0a0a,0x09090909,0x07070707,
  1090. ; 91.043   0      0xffffffff,0x9a9a9a9a,0x09090909,
  1091. ; 91.044   0      0x00000000,0x00000000,0x0f0f0f0f,
  1092. ; 91.045   0      0xf3f3f3f3,0xe3e3e3e3,0x83838383,
  1093. ; 91.046   0      0x06060606,0x08080808,0x16161616,
  1094. ; 91.047   0      0x0e0e0e0e,0x4d4d4d4d,0x07070707,
  1095. ; 91.048   0      0x0f0f0f0f,0x0d0d0d0d,0x1c1c1c1c,
  1096. ; 91.049   0      0x07070707,0x96969696,0x84848484,
  1097. ; 91.050   0      0x0d0d0d0d,0x0d0d0d0d,0x0d0d0d0d,
  1098. ; 91.051   0      0x0e0e0e0e,0x05050505,0x05050505,
  1099. ; 91.052   0      0x00000000,0x00000000,0x00000000,
  1100. ; 91.053   0      0x0e0e0e0e,0x04040404,0x04040404,
  1101. ; 91.054   0      0x00000000,0x00000000,0x00000000,
  1102. ; 91.055   0      0x0e0e0e0e,0x0e0e0e0e,0x0c0c0c0c,
  1103. ; 91.056   0      0x04040404,0x04040404,0x04040404,
  1104. ; 91.057   0      0x05050505,0x05050505,0x05050505,
  1105. ; 91.058   0      0x06060606,0x06060606,0x06060606,
  1106. ; 91.059   0      0x07070707,0x07070707,0x07070707,
  1107. ; 91.060   0      0x08080808,0x08080808,0x08080808,
  1108. ; 91.061   0      0x09090909,0x09090909,0x09090909,
  1109. ; 91.062   0      0x0a0a0a0a,0x0a0a0a0a,0x0a0a0a0a,
  1110. ; 91.063   0      0x0b0b0b0b,0x0b0b0b0b,0x0b0b0b0b,
  1111. ; 91.064   0      0xfcfcfcfc,0x0c0c0c0c,0x0c0c0c0c,
  1112. ; 91.065   0      0x0d0d0d0d,0x0d0d0d0d,0x0d0d0d0d,
  1113. ; 91.066   0      0x0e0e0e0e,0x0e0e0e0e,0x0e0e0e0e,
  1114. ; 91.067   0      0x0f0f0f0f,0x0f0f0f0f,0x0f0f0f0f,
  1115. ; 91.068   0      0x70707070,0x40404040,0x90909090,
  1116. ; 91.069   0      0x50505050,0x22222222,0xcccccccc,
  1117. ; 91.070   0      0x01010101,0x06060606,0x00000000,
  1118. ; 91.071   0      0x02020202,0x00000000,0x02020202,
  1119. ; 91.072   0      0x70707070,0x40404040,0x94949494,
  1120. ; 91.073   0      0x50505050,0x25252525,0x8c8c8c8c,
  1121. ; 91.074   0      0x00000000,0x00000000,0x00000000,
  1122. ; 91.075   0      0x0f0f0f0f,0x09090909,0x00000000,
  1123. ; 91.076   0      0x00000000,0x00000000,0x00000000,
  1124. ; 91.077   0      0x0f0f0f0f,0x0e0e0e0e,0x08080808,
  1125. ; 91.078   0      0x00000000,0x00000000,0x01010101,
  1126. ; 91.079   0      0x00000000,0x04040404,0x00000000,
  1127. ; 91.080   0      0x00000000,0x00000000,0x01010101,
  1128. ; 91.081   0      0x00000000,0x09090909,0x08080808,
  1129. ; 91.082   0      0xf0f0f0f0,0xf0f0f0f0,0xf0f0f0f0,
  1130. ; 91.083   0      0x00000000,0x00000000,0xb0b0b0b0,
  1131. ; 91.084   0      0x00000000,0x00000000,0x00000000,
  1132. ; 91.085   0      0x00000000,0x00000000,0xb0b0b0b0,
  1133. ; 91.086   0      0x00000000,0x10101010,0x00000000,
  1134. ; 91.087   0      0x70707070,0x40404040,0x90909090,
  1135. ; 91.088   0      0x50505050,0x50505050,0xc0c0c0c0,
  1136. ; 91.089   0      0x70707070,0x40404040,0x90909090,
  1137.  
  1138. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 20
  1139. ;
  1140. ;
  1141. ;Line#  Block                                  Source
  1142. ; 91.090   0      0x50505050,0x90909090,0xc0c0c0c0,
  1143. ; 91.091   0      0x70707070,0x40404040,0x90909090,
  1144. ; 91.092   0      0xa0a0a0a0,0xd0d0d0d0,0x40404040,
  1145. ; 91.093   0      0x00000000,0x00000000,0xf0f0f0f0,
  1146. ; 91.094   0      0x00000000,0x00000000,0x10101010,
  1147. ; 91.095   0      0x00000000,0x00000000,0x10101010,
  1148. ; 91.096   0      0x0f0f0f0f,0x00000000,0x10101010,
  1149. ; 91.097   0      0x00000000,0x00000000,0x10101010,
  1150. ; 91.098   0      0x00000000,0x00000000,0x10101010,
  1151. ; 91.099   0      0x00000000,0x00000000,0x10101010,
  1152. ; 91.100   0      0x07070707,0x04040404,0x19191919,
  1153. ; 91.101   0      0x05050505,0x02020202,0x1c1c1c1c,
  1154. ; 91.102   0      0x00000000,0x00000000,0x10101010,
  1155. ; 91.103   0      0x00000000,0x00000000,0x10101010,
  1156. ; 91.104   0      0x07070707,0x04040404,0x19191919,
  1157. ; 91.105   0      0x05050505,0x02020202,0x18181818,
  1158. ; 91.106   0      0x00000000,0x00000000,0x10101010,
  1159. ; 91.107   0      0x00000000,0x00000000,0x10101010,
  1160. ; 91.108   0      0x00000000,0x00000000,0x10101010,
  1161. ; 91.109   0      0x00000000,0x00000000,0x10101010,
  1162. ; 91.110   0      0x00000000,0x00000000,0x00000000,
  1163. ; 91.111   0      0x00000000,0x00000000,0x00000000,
  1164. ; 91.112   0      0x00000000,0x00000000,0x00000000,
  1165. ; 91.113   0      0x00000000,0x00000000,0x00000000,
  1166. ; 91.114   0      0x0f0f0f0f,0x0f0f0f0f,0x0f0f0f0f,
  1167. ; 91.115   0      0x00000000,0x00000000,0x0b0b0b0b,
  1168. ; 91.116   0      0x00000000,0x00000000,0x00000000,
  1169. ; 91.117   0      0x00000000,0x00000000,0x0b0b0b0b,
  1170. ; 91.118   0      0x00000000,0x01010101,0x00000000,
  1171. ; 91.119   0      0x07070707,0x04040404,0x09090909,
  1172. ; 91.120   0      0x05050505,0x05050505,0x0c0c0c0c,
  1173. ; 91.121   0      0x07070707,0x04040404,0x09090909,
  1174. ; 91.122   0      0x05050505,0x09090909,0x0c0c0c0c,
  1175. ; 91.123   0      0x07070707,0x04040404,0x09090909,
  1176. ; 91.124   0      0x0a0a0a0a,0x0d0d0d0d,0x04040404,
  1177. ; 91.125   0      0x00000000,0x00000000,0x0f0f0f0f,
  1178. ; 91.126   0      0xf0f0f0f0,0x00000000,0x01010101,
  1179. ; 91.127   0      0x10101010,0x00000000,0x21212121,
  1180. ; 91.128   0      0xf0f0f0f0,0x00000000,0x41414141,
  1181. ; 91.129   0      0x50505050,0x00000000,0x61616161,
  1182. ; 91.130   0      0x70707070,0x00000000,0x81818181,
  1183. ; 91.131   0      0x90909090,0x00000000,0xa1a1a1a1,
  1184. ; 91.132   0      0x30303030,0x00000000,0xc1c1c1c1,
  1185. ; 91.133   0      0xd0d0d0d0,0x00000000,0xe1e1e1e1,
  1186. ; 91.134   0      0xf0f0f0f0,0x10101010,0x01010101,
  1187. ; 91.135   0      0x10101010,0x10101010,0x21212121,
  1188. ; 91.136   0      0x30303030,0x10101010,0x41414141,
  1189. ; 91.137   0      0x50505050,0x10101010,0x61616161,
  1190. ; 91.138   0      0x70707070,0x10101010,0x81818181,
  1191. ; 91.139   0      0x90909090,0x10101010,0xa1a1a1a1,
  1192.  
  1193. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 21
  1194. ;
  1195. ;
  1196. ;Line#  Block                                  Source
  1197. ; 91.140   0      0xb0b0b0b0,0x10101010,0xc1c1c1c1,
  1198. ; 91.141   0      0xd0d0d0d0,0x10101010,0xe1e1e1e1,
  1199. ; 91.142   0      0x00000000,0x00000000,0x00000000,
  1200. ; 91.143   0      0x00000000,0x00000000,0x00000000,
  1201. ; 91.144   0      0x00000000,0x00000000,0x00000000,
  1202. ; 91.145   0      0x00000000,0x00000000,0x00000000,
  1203. ; 91.146   0      0x00000000,0x00000000,0x00000000,
  1204. ; 91.147   0      0x00000000,0x00000000,0x00000000,
  1205. ; 91.148   0      0x70707070,0x40404040,0x00000000,
  1206. ; 91.149   0      0xa0a0a0a0,0x10101010,0x00000000,
  1207. ; 91.150   0      0x00000000,0x00000000,0x00000000,
  1208. ; 91.151   0      0x00000000,0x00000000,0x00000000,
  1209. ; 91.152   0      0x00000000,0x00000000,0xf0f0f0f0,
  1210. ; 91.153   0      0x00000000,0x00000000,0x80808080,
  1211. ; 91.154   0      0xf0f0f0f0,0xf0f0f0f0,0xf0f0f0f0,
  1212. ; 91.155   0      0x00000000,0x00000000,0x00000000,
  1213. ; 91.156   0      0x10101010,0xc0c0c0c0,0x40404040,
  1214. ; 91.157   0      0xf0f0f0f0,0x00000000,0x00000000,
  1215. ; 91.158   0      0x0f0f0f0f,0x00000000,0x00000000,
  1216. ; 91.159   0      0x01010101,0x00000000,0x02020202,
  1217. ; 91.160   0      0x0f0f0f0f,0x00000000,0x04040404,
  1218. ; 91.161   0      0x15151515,0xc0c0c0c0,0x46464646,
  1219. ; 91.162   0      0x07070707,0x00000000,0x08080808,
  1220. ; 91.163   0      0x09090909,0x00000000,0x0a0a0a0a,
  1221. ; 91.164   0      0x03030303,0x00000000,0x0c0c0c0c,
  1222. ; 91.165   0      0x0d0d0d0d,0x00000000,0x0e0e0e0e,
  1223. ; 91.166   0      0x0f0f0f0f,0x01010101,0x40404040,
  1224. ; 91.167   0      0x11111111,0x01010101,0x02020202,
  1225. ; 91.168   0      0x73737373,0x41414141,0x94949494,
  1226. ; 91.169   0      0xa5a5a5a5,0x01010101,0x86868686,
  1227. ; 91.170   0      0x07070707,0x01010101,0x08080808,
  1228. ; 91.171   0      0x09090909,0x01010101,0x8a8a8a8a,
  1229. ; 91.172   0      0x0b0b0b0b,0x01010101,0x0c0c0c0c,
  1230. ; 91.173   0      0x0d0d0d0d,0x41414141,0x3e3e3e3e,
  1231. ; 91.174   0      0x70707070,0x40404040,0x80808080,
  1232. ; 91.175   0      0xe0e0e0e0,0x80808080,0x40404040,
  1233. ; 91.176   0      0x70707070,0x40404040,0x80808080,
  1234. ; 91.177   0      0x70707070,0x70707070,0x40404040,
  1235. ; 91.178   0      0x70707070,0x40404040,0x90909090,
  1236. ; 91.179   0      0x60606060,0x20202020,0x00000000,
  1237. ; 91.180   0      0x77777777,0x44444444,0xa0a0a0a0,
  1238. ; 91.181   0      0x7a7a7a7a,0xf1f1f1f1,0xc0c0c0c0,
  1239. ; 91.182   0      0x00000000,0x00000000,0x00000000,
  1240. ; 91.183   0      0xc0c0c0c0,0x50505050,0x00000000,
  1241. ; 91.184   0      0x70707070,0x40404040,0x9f9f9f9f,
  1242. ; 91.185   0      0xa0a0a0a0,0xb0b0b0b0,0x48484848,
  1243. ; 91.186   0      0x0f0f0f0f,0x0f0f0f0f,0x0f0f0f0f,
  1244. ; 91.187   0      0x00000000,0x20202020,0x40404040,
  1245. ; 91.188   0      0x01010101,0x0c0c0c0c,0x04040404,
  1246. ; 91.189   0      0x0f0f0f0f,0x00000000,0x00000000,
  1247.  
  1248. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 22
  1249. ;
  1250. ;
  1251. ;Line#  Block                                  Source
  1252. ; 91.190   0      0x00000000,0x00000000,0x00000000,
  1253. ; 91.191   0      0x00000000,0x00000000,0x00000000,
  1254. ; 91.192   0      0x10101010,0x60606060,0xd0d0d0d0,
  1255. ; 91.193   0      0x91919191,0x5c5c5c5c,0x44444444,
  1256. ; 91.194   0      0x30303030,0x50505050,0x00000000,
  1257. ; 91.195   0      0xa0a0a0a0,0x60606060,0x40404040,
  1258. ; 91.196   0      0x50505050,0x70707070,0x60606060,
  1259. ; 91.197   0      0x30303030,0x20202020,0xf0f0f0f0,
  1260. ; 91.198   0      0xe0e0e0e0,0x60606060,0x54545454,
  1261. ; 91.199   0      0x41414141,0x60606060,0x90909090,
  1262. ; 91.200   0      0xe7e7e7e7,0x64646464,0x69696969,
  1263. ; 91.201   0      0xfafafafa,0x20202020,0xe8e8e8e8,
  1264. ; 91.202   0      0x40404040,0x60606060,0x50505050,
  1265. ; 91.203   0      0x60606060,0x60606060,0x98989898,
  1266. ; 91.204   0      0x30303030,0x60606060,0x50505050,
  1267. ; 91.205   0      0x00000000,0x04040404,0x03030303,
  1268. ; 91.206   0      0x07070707,0x04040404,0x08080808,
  1269. ; 91.207   0      0x0e0e0e0e,0x08080808,0x04040404,
  1270. ; 91.208   0      0xe7e7e7e7,0xf4f4f4f4,0x98989898,
  1271. ; 91.209   0      0x77777777,0x47474747,0xa4a4a4a4,
  1272. ; 91.210   0      0xb7b7b7b7,0x34343434,0xc9c9c9c9,
  1273. ; 91.211   0      0xe6e6e6e6,0xf2f2f2f2,0x90909090,
  1274. ; 91.212   0      0x77777777,0x44444444,0xaaaaaaaa,
  1275. ; 91.213   0      0xa7a7a7a7,0xffffffff,0xcccccccc,
  1276. ; 91.214   0      0xe0e0e0e0,0xf0f0f0f0,0x90909090,
  1277. ; 91.215   0      0x7c7c7c7c,0x45454545,0xa0a0a0a0,
  1278. ; 91.216   0      0xa7a7a7a7,0xf4f4f4f4,0x89898989,
  1279. ; 91.217   0      0xeaeaeaea,0xfbfbfbfb,0x94949494,
  1280. ; 91.218   0      0x70707070,0x40404040,0xa0a0a0a0,
  1281. ; 91.219   0      0xa0a0a0a0,0x62626262,0xe4e4e4e4,
  1282. ; 91.220   0      0xe0e0e0e0,0xf0f0f0f0,0x90909090,
  1283. ; 91.221   0      0x70707070,0x40404040,0xa0a0a0a0,
  1284. ; 91.222   0      0xa0a0a0a0,0x10101010,0xc0c0c0c0,
  1285. ; 91.223   0      0xe0e0e0e0,0xf0f0f0f0,0x90909090,
  1286. ; 91.224   0      0x71717171,0x46464646,0xadadadad,
  1287. ; 91.225   0      0x89898989,0xd5d5d5d5,0xc4c4c4c4,
  1288. ; 91.226   0      0x73737373,0x45454545,0x00000000,
  1289. ; 91.227   0      0x9a9a9a9a,0x56565656,0xa4a4a4a4,
  1290. ; 91.228   0      0x75757575,0x47474747,0x56565656,
  1291. ; 91.229   0      0x63636363,0x82828282,0xcfcfcfcf,
  1292. ; 91.230   0      0x9e9e9e9e,0x06060606,0x05050505,
  1293. ; 91.231   0      0x74747474,0x46464646,0x99999999,
  1294. ; 91.232   0      0xaeaeaeae,0xc6c6c6c6,0x86868686,
  1295. ; 91.233   0      0x4f4f4f4f,0x02020202,0x0e0e0e0e,
  1296. ; 91.234   0      0x04040404,0x26262626,0x45454545,
  1297. ; 91.235   0      0x06060606,0xb6b6b6b6,0xc9c9c9c9,
  1298. ; 91.236   0      0x03030303,0x06060606,0x45454545,
  1299. ; 91.237   0      0x00000000,0x00000000,0x10101010,
  1300. ; 91.238   0      0x70707070,0x40404040,0xa0a0a0a0,
  1301. ; 91.239   0      0x80808080,0x30303030,0xa0a0a0a0,
  1302.  
  1303. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 23
  1304. ;
  1305. ;
  1306. ;Line#  Block                                  Source
  1307. ; 91.240   0      0x4e4e4e4e,0x2f2f2f2f,0x89898989,
  1308. ; 91.241   0      0x07070707,0x04040404,0x0a0a0a0a,
  1309. ; 91.242   0      0x0b0b0b0b,0x03030303,0x1c1c1c1c,
  1310. ; 91.243   0      0x1e1e1e1e,0xdfdfdfdf,0x29292929,
  1311. ; 91.244   0      0x17171717,0xf4f4f4f4,0xfafafafa,
  1312. ; 91.245   0      0x0a0a0a0a,0x0f0f0f0f,0x0c0c0c0c,
  1313. ; 91.246   0      0x0e0e0e0e,0x0f0f0f0f,0x09090909,
  1314. ; 91.247   0      0x07070707,0x04040404,0x0a0a0a0a,
  1315. ; 91.248   0      0x0a0a0a0a,0x0f0f0f0f,0x08080808,
  1316. ; 91.249   0      0xfefefefe,0x0f0f0f0f,0x09090909,
  1317. ; 91.250   0      0x07070707,0x04040404,0x0a0a0a0a,
  1318. ; 91.251   0      0x0a0a0a0a,0x06060606,0x0e0e0e0e,
  1319. ; 91.252   0      0x0e0e0e0e,0x0f0f0f0f,0x09090909,
  1320. ; 91.253   0      0x77777777,0x44444444,0x9a9a9a9a,
  1321. ; 91.254   0      0x6a6a6a6a,0x91919191,0xecececec,
  1322. ; 91.255   0      0x0e0e0e0e,0x0f0f0f0f,0x09090909,
  1323. ; 91.256   0      0x07070707,0x04040404,0x0a0a0a0a,
  1324. ; 91.257   0      0x78787878,0x4d4d4d4d,0x9c9c9c9c,
  1325. ; 91.258   0      0x67676767,0x94949494,0xa0a0a0a0,
  1326. ; 91.259   0      0x09090909,0x05050505,0x0a0a0a0a,
  1327. ; 91.260   0  };
  1328. ; 91.261   0  #endif
  1329. ; 91.262
  1330. ; 91.263   0  #define PROCESSOR_WIDTH        32
  1331. ; 91.264   0  #define PROCESSOR_HEIGHT       16
  1332. ; 91.265   0  #define PROCESSOR_DEPTH         8
  1333. ; 91.266   0  #define PROCESSOR_COMPRESSION   1
  1334. ; 91.267   0  #define PROCESSOR_MASKING       0
  1335. ; 91.268
  1336. ; 91.269   0  #ifdef USE_PROCESSOR_HEADER
  1337. ; 91.270      const struct BitMapHeader Processor_header =
  1338. ; 91.271      { 32,16,0,0,8,0,1,0,0,1,1,0,0 };
  1339. ; 91.272      #endif
  1340. ; 91.273
  1341. ; 91.274   0  #ifdef USE_PROCESSOR_BODY
  1342. ; 91.275   0  const UBYTE Processor_body[381] = {
  1343. ; 91.276   0  0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
  1344. ; 91.277   0  0x00,0xfd,0x00,0x03,0x07,0xff,0xff,0xc0,0x03,0x01,0x11,0x11,0x20,0xfd,0x00,
  1345. ; 91.278   0  0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x01,0x54,0x10,0x20,0x03,0x05,
  1346. ; 91.279   0  0x77,0xfb,0xe0,0x03,0x05,0xfe,0xfe,0xc0,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
  1347. ; 91.280   0  0x00,0xfd,0x00,0x03,0x00,0x05,0xe5,0xa0,0x03,0x05,0xf4,0x78,0x40,0x03,0x11,
  1348. ; 91.281   0  0x74,0x52,0x50,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x00,
  1349. ; 91.282   0  0x7a,0x00,0x60,0x03,0x05,0x83,0xee,0x40,0x03,0x01,0x05,0xea,0x58,0xfd,0x00,
  1350. ; 91.283   0  0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x00,0x5c,0x3b,0xa0,0x03,0x05,
  1351. ; 91.284   0  0x15,0x44,0xc0,0x03,0x11,0x25,0x00,0x50,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
  1352. ; 91.285   0  0x00,0xfd,0x00,0x03,0x00,0x7a,0xba,0xa0,0x03,0x07,0x27,0x44,0xc0,0x03,0x07,
  1353. ; 91.286   0  0x06,0x01,0x50,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x01,
  1354. ; 91.287   0  0x7b,0xbb,0xa0,0x03,0x07,0x83,0x04,0xd0,0x03,0x13,0x82,0x00,0x48,0xfd,0x00,
  1355. ; 91.288   0  0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x00,0x04,0x00,0xa0,0x03,0x07,
  1356. ; 91.289   0  0x9d,0xf8,0xc0,0x03,0x06,0x1d,0xc0,0xd0,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
  1357.  
  1358. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 24
  1359. ;
  1360. ;
  1361. ;Line#  Block                                  Source
  1362. ; 91.290   0  0x00,0xfd,0x00,0x03,0x00,0xe5,0x3f,0xa0,0x03,0x05,0x2b,0xc1,0xc0,0x03,0x03,
  1363. ; 91.291   0  0x23,0xc0,0xd0,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x00,
  1364. ; 91.292   0  0xed,0x35,0xa0,0x03,0x07,0x3a,0xf5,0xd0,0x03,0x06,0x32,0x8a,0xc0,0xfd,0x00,
  1365. ; 91.293   0  0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x03,0x00,0x0f,0xeb,0x20,0x03,0x04,
  1366. ; 91.294   0  0x85,0x41,0x80,0x03,0x03,0x75,0x41,0xd8,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
  1367. ; 91.295   0  0x00,0xfd,0x00,0x03,0x03,0xfa,0xab,0xe0,0x03,0x02,0x07,0xfe,0x10,0x02,0x08,
  1368. ; 91.296   0  0x00,0x40,0x00,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x02,
  1369. ; 91.297   0  0x00,0x0f,0xff,0x00,0x00,0x03,0x01,0x5d,0x55,0x50,0x03,0x12,0xa0,0x00,0xa0,
  1370. ; 91.298   0  0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0x02,0x00,0x00,
  1371. ; 91.299   0  0x24,0x00,0x00,0x03,0x00,0x0f,0xdb,0x10,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,
  1372. ; 91.300   0  0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,0xfd,0x00,
  1373. ; 91.301   0  0xfd,0x00,0xfd,0x00,0x00,0x00, };
  1374. ; 91.302   0  #endif
  1375. ;140
  1376. ;141       0  #define USE_SCANNER_BODY
  1377. ;142       0  #define USE_SCANNER_COLORS
  1378. ;143       0  #include "Scanner.h"
  1379. ;===> Including file "scanner.h"
  1380.  
  1381. ; 92.001   0  #ifdef USE_SCANNER_COLORS
  1382. ; 92.002   0  const ULONG Scanner_colors[48] =
  1383. ; 92.003   0  {
  1384. ; 92.004   0      0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
  1385. ; 92.005   0      0x00000000,0x00000000,0x00000000,
  1386. ; 92.006   0      0xffffffff,0xffffffff,0xffffffff,
  1387. ; 92.007   0      0x66666666,0x88888888,0xbbbbbbbb,
  1388. ; 92.008   0      0x00000000,0x00000000,0xffffffff,
  1389. ; 92.009   0      0xffffffff,0x00000000,0xffffffff,
  1390. ; 92.010   0      0x00000000,0xffffffff,0xffffffff,
  1391. ; 92.011   0      0xffffffff,0xffffffff,0xffffffff,
  1392. ; 92.012   0      0x66666666,0x22222222,0x00000000,
  1393. ; 92.013   0      0xeeeeeeee,0x55555555,0x00000000,
  1394. ; 92.014   0      0x99999999,0xffffffff,0x11111111,
  1395. ; 92.015   0      0xeeeeeeee,0xbbbbbbbb,0x00000000,
  1396. ; 92.016   0      0x99999999,0x99999999,0x99999999,
  1397. ; 92.017   0      0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
  1398. ; 92.018   0      0xbbbbbbbb,0xaaaaaaaa,0x99999999,
  1399. ; 92.019   0      0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
  1400. ; 92.020   0  };
  1401. ; 92.021   0  #endif
  1402. ; 92.022
  1403. ; 92.023   0  #define SCANNER_WIDTH        34
  1404. ; 92.024   0  #define SCANNER_HEIGHT       22
  1405. ; 92.025   0  #define SCANNER_DEPTH         4
  1406. ; 92.026   0  #define SCANNER_COMPRESSION   1
  1407. ; 92.027   0  #define SCANNER_MASKING       0
  1408. ; 92.028
  1409. ; 92.029   0  #ifdef USE_SCANNER_HEADER
  1410. ; 92.030      const struct BitMapHeader Scanner_header =
  1411. ; 92.031      { 34,22,0,0,4,0,1,0,0,1,1,0,0 };
  1412. ; 92.032      #endif
  1413.  
  1414. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 25
  1415. ;
  1416. ;
  1417. ;Line#  Block                                  Source
  1418. ; 92.033
  1419. ; 92.034   0  #ifdef USE_SCANNER_BODY
  1420. ; 92.035   0  const UBYTE Scanner_body[616] = {
  1421. ; 92.036   0  0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,
  1422. ; 92.037   0  0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,
  1423. ; 92.038   0  0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x01,0xff,
  1424. ; 92.039   0  0xff,0xff,0x00,0x00,0x05,0x01,0xff,0xff,0xff,0x00,0x00,0x05,0x07,0xff,0xff,
  1425. ; 92.040   0  0xff,0x80,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x06,0x00,0x00,0x00,
  1426. ; 92.041   0  0x80,0x00,0x05,0x06,0x00,0x00,0x00,0x80,0x00,0x05,0x1e,0x00,0x00,0x07,0x80,
  1427. ; 92.042   0  0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x19,0xff,0xff,0xf8,0x00,0x00,
  1428. ; 92.043   0  0x05,0x19,0xff,0xff,0xf8,0x00,0x00,0x05,0x18,0x00,0x00,0x1f,0x80,0x00,0x05,
  1429. ; 92.044   0  0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x07,0xff,0xff,0xe4,0x00,0x00,0x05,0x07,
  1430. ; 92.045   0  0xff,0xff,0xe4,0x00,0x00,0x05,0x20,0x00,0x00,0x3e,0x80,0x00,0x05,0x00,0x00,
  1431. ; 92.046   0  0x00,0x00,0x00,0x00,0x05,0x1f,0xff,0xff,0xd9,0x00,0x00,0x05,0x1f,0xff,0xff,
  1432. ; 92.047   0  0xd9,0x00,0x00,0x05,0x3f,0xff,0xff,0xdc,0x80,0x00,0x05,0x00,0x00,0x00,0x00,
  1433. ; 92.048   0  0x00,0x00,0x05,0x40,0x00,0x00,0x33,0x00,0x00,0x05,0x40,0x00,0x00,0x33,0x00,
  1434. ; 92.049   0  0x00,0x05,0x1b,0xff,0xff,0xac,0x80,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,
  1435. ; 92.050   0  0x05,0x64,0x00,0x00,0x73,0x00,0x00,0x05,0x64,0x00,0x00,0x73,0x00,0x00,0x05,
  1436. ; 92.051   0  0x34,0x00,0x00,0x58,0x80,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x2f,
  1437. ; 92.052   0  0xff,0xff,0xe7,0x00,0x00,0x05,0x2f,0xff,0xff,0xe7,0x00,0x00,0x05,0x2f,0xff,
  1438. ; 92.053   0  0xff,0xf2,0x80,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x1f,0xff,0xff,
  1439. ; 92.054   0  0xcd,0x00,0x00,0x05,0x1f,0xff,0xff,0xcd,0x00,0x00,0x05,0x7f,0xff,0xff,0xe6,
  1440. ; 92.055   0  0x80,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x19,0x00,
  1441. ; 92.056   0  0x00,0x05,0x00,0x00,0x00,0x19,0x00,0x00,0x05,0x7f,0xff,0xff,0xee,0x80,0x00,
  1442. ; 92.057   0  0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x3f,0xff,0xff,0xd1,0x00,0x00,0x05,
  1443. ; 92.058   0  0x3f,0xff,0xff,0xd1,0x00,0x00,0x05,0x7f,0xff,0xff,0xee,0x80,0x00,0x05,0x31,
  1444. ; 92.059   0  0xff,0xff,0xc0,0x00,0x00,0x05,0x3f,0xff,0xff,0xd1,0x00,0x00,0x05,0x0e,0x00,
  1445. ; 92.060   0  0x00,0x11,0x00,0x00,0x05,0x7f,0xff,0xff,0xec,0x00,0x00,0x05,0x20,0x00,0x00,
  1446. ; 92.061   0  0x00,0x00,0x00,0x05,0x31,0xff,0xff,0xd3,0x80,0x00,0x05,0x1f,0xff,0xff,0xd3,
  1447. ; 92.062   0  0x80,0x00,0x05,0x7f,0xff,0xff,0xe9,0x00,0x00,0x05,0x20,0x00,0x00,0x00,0x00,
  1448. ; 92.063   0  0x00,0x05,0x31,0xff,0xff,0xd6,0x00,0x00,0x05,0x1f,0xff,0xff,0xd6,0x00,0x00,
  1449. ; 92.064   0  0x05,0x71,0xff,0xf8,0x62,0x00,0x00,0x05,0x2e,0x00,0x00,0x00,0x00,0x00,0x05,
  1450. ; 92.065   0  0x31,0xff,0xff,0xdc,0x00,0x00,0x05,0x1f,0xff,0xff,0xdc,0x00,0x00,0x05,0x71,
  1451. ; 92.066   0  0xff,0xfb,0x66,0x00,0x00,0x05,0x2e,0x00,0x00,0x00,0x00,0x00,0x05,0x31,0xff,
  1452. ; 92.067   0  0xfc,0xda,0x00,0x00,0x05,0x1f,0xff,0xfc,0xda,0x00,0x00,0x05,0x71,0xff,0xfb,
  1453. ; 92.068   0  0x68,0x00,0x00,0x05,0x20,0x00,0x00,0x00,0x00,0x00,0x05,0x3f,0xff,0xfc,0xd4,
  1454. ; 92.069   0  0x00,0x00,0x05,0x1f,0xff,0xfc,0xd4,0x00,0x00,0x05,0x7f,0xff,0xff,0xe0,0x00,
  1455. ; 92.070   0  0x00,0x05,0x20,0x00,0x00,0x00,0x00,0x00,0x05,0x3f,0xff,0xff,0xd8,0x00,0x00,
  1456. ; 92.071   0  0x05,0x1f,0xff,0xff,0xd8,0x00,0x00,0x05,0x7f,0xff,0xff,0xf0,0x00,0x00,0x05,
  1457. ; 92.072   0  0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x3f,0xff,0xff,0xc0,0x00,0x00,0x05,0x3f,
  1458. ; 92.073   0  0xff,0xff,0xc0,0x00,0x00,0x05,0x7f,0xff,0xff,0xe0,0x00,0x00,0x05,0x00,0x00,
  1459. ; 92.074   0  0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,
  1460. ; 92.075   0  0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,
  1461. ; 92.076   0  0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,
  1462. ; 92.077   0  0x00, };
  1463. ; 92.078   0  #endif
  1464. ;144
  1465. ;145       0  #define USE_SCSI_BODY
  1466. ;146       0  #define USE_SCSI_COLORS
  1467. ;147       0  #include "ScsiImage.h"
  1468.  
  1469. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 26
  1470. ;
  1471. ;
  1472. ;Line#  Block                                  Source
  1473. ;===> Including file "scsiimage.h"
  1474.  
  1475. ; 93.001   0  #ifdef USE_SCSI_COLORS
  1476. ; 93.002   0  const ULONG Scsi_colors[48] =
  1477. ; 93.003   0  {
  1478. ; 93.004   0      0xaaaaaaaa,0xaaaaaaaa,0xaaaaaaaa,
  1479. ; 93.005   0      0x00000000,0x00000000,0x00000000,
  1480. ; 93.006   0      0xffffffff,0xffffffff,0xffffffff,
  1481. ; 93.007   0      0x66666666,0x88888888,0xbbbbbbbb,
  1482. ; 93.008   0      0x00000000,0x00000000,0xffffffff,
  1483. ; 93.009   0      0xffffffff,0x00000000,0xffffffff,
  1484. ; 93.010   0      0x00000000,0xffffffff,0xffffffff,
  1485. ; 93.011   0      0xffffffff,0xffffffff,0xffffffff,
  1486. ; 93.012   0      0x66666666,0x22222222,0x00000000,
  1487. ; 93.013   0      0xeeeeeeee,0x55555555,0x00000000,
  1488. ; 93.014   0      0x99999999,0xffffffff,0x11111111,
  1489. ; 93.015   0      0xeeeeeeee,0xbbbbbbbb,0x00000000,
  1490. ; 93.016   0      0x99999999,0x99999999,0x99999999,
  1491. ; 93.017   0      0xbbbbbbbb,0xbbbbbbbb,0xbbbbbbbb,
  1492. ; 93.018   0      0xbbbbbbbb,0xaaaaaaaa,0x99999999,
  1493. ; 93.019   0      0xffffffff,0xbbbbbbbb,0xaaaaaaaa,
  1494. ; 93.020   0  };
  1495. ; 93.021   0  #endif
  1496. ; 93.022
  1497. ; 93.023   0  #define SCSI_WIDTH        30
  1498. ; 93.024   0  #define SCSI_HEIGHT       32
  1499. ; 93.025   0  #define SCSI_DEPTH         4
  1500. ; 93.026   0  #define SCSI_COMPRESSION   1
  1501. ; 93.027   0  #define SCSI_MASKING       0
  1502. ; 93.028
  1503. ; 93.029   0  #ifdef USE_SCSI_HEADER
  1504. ; 93.030      const struct BitMapHeader Scsi_header =
  1505. ; 93.031      { 30,32,0,0,4,0,1,0,0,1,1,0,0 };
  1506. ; 93.032      #endif
  1507. ; 93.033
  1508. ; 93.034   0  #ifdef USE_SCSI_BODY
  1509. ; 93.035   0  const UBYTE Scsi_body[640] = {
  1510. ; 93.036   0  0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,
  1511. ; 93.037   0  0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x00,0x00,0x00,
  1512. ; 93.038   0  0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x03,0x80,0x03,
  1513. ; 93.039   0  0x03,0x00,0x01,0x00,0x00,0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x00,0x00,0x03,
  1514. ; 93.040   0  0x03,0x00,0x07,0xc0,0x03,0x03,0x00,0x02,0x80,0x00,0x03,0x00,0x03,0x80,0x03,
  1515. ; 93.041   0  0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x0e,0xe0,0x03,0x03,0x00,0x04,0x40,0x00,
  1516. ; 93.042   0  0x03,0x00,0x07,0xc0,0x03,0x03,0x00,0x03,0x80,0x03,0x03,0x00,0x1c,0x70,0x03,
  1517. ; 93.043   0  0x03,0x00,0x08,0x20,0x00,0x03,0x00,0x0f,0xe0,0x03,0x03,0x00,0x07,0xc0,0x03,
  1518. ; 93.044   0  0x03,0x00,0x38,0x38,0x03,0x03,0x00,0x10,0x10,0x00,0x03,0x00,0x1f,0xf0,0x03,
  1519. ; 93.045   0  0x03,0x00,0x0f,0xe0,0x03,0x03,0x00,0x71,0x1c,0x03,0x03,0x00,0x20,0x08,0x00,
  1520. ; 93.046   0  0x03,0x00,0x3e,0xf8,0x03,0x03,0x00,0x1e,0xf0,0x03,0x03,0x00,0xe2,0x8e,0x03,
  1521. ; 93.047   0  0x03,0x00,0x40,0x04,0x00,0x03,0x00,0x7c,0x7c,0x03,0x03,0x00,0x3c,0x78,0x03,
  1522. ; 93.048   0  0x03,0x01,0xc4,0x47,0x03,0x03,0x00,0x80,0x02,0x00,0x03,0x00,0xf8,0x3e,0x03,
  1523. ; 93.049   0  0x03,0x00,0x78,0x3c,0x03,0x03,0x03,0x88,0x23,0x83,0x03,0x01,0x00,0x01,0x00,
  1524.  
  1525. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 27
  1526. ;
  1527. ;
  1528. ;Line#  Block                                  Source
  1529. ; 93.050   0  0x03,0x01,0xf0,0x1f,0x03,0x03,0x00,0xf0,0x1e,0x03,0x03,0x07,0x10,0x1f,0x83,
  1530. ; 93.051   0  0x03,0x02,0x00,0x00,0x00,0x03,0x03,0xe0,0x00,0x03,0x03,0x01,0xe0,0x00,0x03,
  1531. ; 93.052   0  0x03,0x0e,0x20,0x00,0x03,0x03,0x04,0x00,0x00,0x00,0x03,0x07,0xc0,0x00,0x03,
  1532. ; 93.053   0  0x03,0x03,0xc0,0x00,0x03,0x03,0x1c,0x40,0x00,0x03,0x03,0x08,0x00,0x00,0x00,
  1533. ; 93.054   0  0x03,0x0f,0x80,0x00,0x03,0x03,0x07,0x80,0x00,0x03,0x03,0x38,0x80,0xff,0xfb,
  1534. ; 93.055   0  0x03,0x10,0x00,0x00,0x00,0x03,0x1f,0x00,0x00,0x03,0x03,0x0f,0x00,0x00,0x03,
  1535. ; 93.056   0  0x03,0x71,0x00,0xff,0xfb,0x03,0x20,0x00,0x7f,0xf0,0x03,0x3e,0x00,0x7f,0xf3,
  1536. ; 93.057   0  0x03,0x1e,0x00,0x00,0x03,0x03,0x71,0x00,0x80,0x0b,0x03,0x20,0x00,0x00,0x00,
  1537. ; 93.058   0  0x03,0x3e,0x00,0x7f,0xf3,0x03,0x1e,0x00,0x7f,0xf3,0x03,0x38,0x80,0xff,0xfb,
  1538. ; 93.059   0  0x03,0x10,0x00,0x00,0x00,0x03,0x1f,0x00,0x00,0x03,0x03,0x0f,0x00,0x00,0x03,
  1539. ; 93.060   0  0x03,0x1c,0x40,0x00,0x03,0x03,0x08,0x00,0x00,0x00,0x03,0x0f,0x80,0x00,0x03,
  1540. ; 93.061   0  0x03,0x07,0x80,0x00,0x03,0x03,0x0e,0x20,0x00,0x03,0x03,0x04,0x00,0x00,0x00,
  1541. ; 93.062   0  0x03,0x07,0xc0,0x00,0x01,0x03,0x03,0xc0,0x00,0x01,0x03,0x07,0x10,0x1f,0x83,
  1542. ; 93.063   0  0x03,0x02,0x00,0x00,0x00,0x03,0x03,0xe0,0x00,0x01,0x03,0x01,0xe0,0x00,0x01,
  1543. ; 93.064   0  0x03,0x03,0x88,0x23,0x83,0x03,0x01,0x00,0x01,0x00,0x03,0x01,0xf0,0x1f,0x01,
  1544. ; 93.065   0  0x03,0x00,0xf0,0x1e,0x01,0x03,0x01,0xc4,0x47,0x03,0x03,0x00,0x80,0x02,0x00,
  1545. ; 93.066   0  0x03,0x00,0xf8,0x3e,0x01,0x03,0x00,0x78,0x3c,0x01,0x03,0x00,0xe2,0x8e,0x03,
  1546. ; 93.067   0  0x03,0x00,0x40,0x04,0x00,0x03,0x00,0x7c,0x7c,0x03,0x03,0x00,0x3c,0x78,0x03,
  1547. ; 93.068   0  0x03,0x00,0x71,0x1c,0x03,0x03,0x00,0x20,0x08,0x00,0x03,0x00,0x3e,0xf8,0x03,
  1548. ; 93.069   0  0x03,0x00,0x1e,0xf0,0x03,0x03,0x00,0x38,0x38,0x03,0x03,0x00,0x10,0x10,0x00,
  1549. ; 93.070   0  0x03,0x00,0x1f,0xf0,0x03,0x03,0x00,0x0f,0xe0,0x03,0x03,0x00,0x1c,0x70,0x03,
  1550. ; 93.071   0  0x03,0x00,0x08,0x20,0x00,0x03,0x00,0x0f,0xe0,0x03,0x03,0x00,0x07,0xc0,0x03,
  1551. ; 93.072   0  0x03,0x00,0x0e,0xe0,0x03,0x03,0x00,0x04,0x40,0x00,0x03,0x00,0x07,0xc0,0x03,
  1552. ; 93.073   0  0x03,0x00,0x03,0x80,0x03,0x03,0x00,0x07,0xc0,0x03,0x03,0x00,0x02,0x80,0x00,
  1553. ; 93.074   0  0x03,0x00,0x03,0x80,0x03,0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x03,0x80,0x03,
  1554. ; 93.075   0  0x03,0x00,0x01,0x00,0x00,0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x00,0x00,0x03,
  1555. ; 93.076   0  0x03,0x00,0x01,0x00,0x03,0x03,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,
  1556. ; 93.077   0  0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x00,
  1557. ; 93.078   0  0x03,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x00,0x03, };
  1558. ; 93.079   0  #endif
  1559. ;148
  1560. ;149          /*------------------------------------------------------------------------*/
  1561. ;150
  1562. ;151       0  #ifndef MAKE_ID
  1563. ;152       0  #define MAKE_ID(a,b,c,d) ((ULONG) (a)<<24 | (ULONG) (b)<<16 | (ULONG) (c)<<8 | (
  1564. ;       ..... ULONG) (d))
  1565. ;153       0  #endif
  1566. ;154
  1567. ;219       0                          End,
  1568. ;220
  1569. ;221
  1570. ;222          /*------------------------------------------------------------------------*/
  1571. ;223
  1572. ;224       0  struct  MUI_CustomClass         *CL_ScsiList;
  1573. ;225       0  struct  LocaleInfo              li;
  1574. ;226
  1575. ;227       0  APTR    app;
  1576. ;228       0  APTR    win1;
  1577. ;229       0  enum    { ID_OK = 1, ID_SELECT, ID_Dev };
  1578. ;230       0  static  APTR    lv_tools;
  1579.  
  1580. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 28
  1581. ;
  1582. ;
  1583. ;Line#  Block                                  Source
  1584. ;231       0  static  APTR    lv_scsi;
  1585. ;232       0  static  APTR    pg_group;
  1586. ;233       0  static  APTR    cycle;
  1587. ;234       0  char    *DevList[20];
  1588. ;235       0  int     totitem = 0;
  1589. ;236       0  struct  ScsiList_Data
  1590. ;237       0  {
  1591. ;238       0      Object  *SL_OImage_CD;
  1592. ;239       0      Object  *SL_OImage_HD;
  1593. ;240       0      Object  *SL_OImage_RD;
  1594. ;241       0      Object  *SL_OImage_SC;
  1595. ;242       0      Object  *SL_OImage_NO;
  1596. ;243       0      Object  *SL_OImage_NL;
  1597. ;244       0      Object  *SL_OImage_PR;
  1598. ;245       0      APTR    SL_Image_CD;
  1599. ;246       0      APTR    SL_Image_HD;
  1600. ;247       0      APTR    SL_Image_RD;
  1601. ;248       0      APTR    SL_Image_SC;
  1602. ;249       0      APTR    SL_Image_NO;
  1603. ;250       0      APTR    SL_Image_NL;
  1604. ;251       0      APTR    SL_Image_PR;
  1605. ;252       0      struct  Hook    DisplayHook;
  1606. ;253       0  };
  1607. ;254       0  struct  ScsiUnitData
  1608. ;255       0  {
  1609. ;256       0      int     SUD_Unit;           /*  Unit Id Number                        */
  1610. ;257       0      char    *SUD_Vendor;        /*  Vendor Name                           */
  1611. ;258       0      char    *SUD_Product;       /*  Product Name                          */
  1612. ;259       0      char    *SUD_Revision;      /*  Product Revision Id                   */
  1613. ;260       0      int     SUD_Dev_type;       /*  Type of Device                        */
  1614. ;261       0      int     SUD_Standard;       /*  Device Standard                       */
  1615. ;262       0      BOOL    SUD_Removable;      /*  Removable Media ?                     */
  1616. ;263       0      BOOL    SUD_Rel_Addr;       /*  Relative Addressing ?                 */
  1617. ;264       0      BOOL    SUD_16Wide_Addr;    /*  16 Bit Wide Addressing ?              */
  1618. ;265       0      BOOL    SUD_32Wide_Addr;    /*  16 Bit Wide Addressing ?              */
  1619. ;266       0  };
  1620. ;267       0  struct  MsgPort     *replymp;
  1621. ;268       0  struct  IOStdReq    *scsi_req;
  1622. ;269       0  struct  SCSICmd     scsi_cmd;
  1623. ;270       0  UBYTE               *scsi_sense;
  1624. ;271       0  UBYTE               *scsi_data      = NULL;
  1625. ;272       0  static  char        *Units[] = { NULL, "0", "1", "2", "3", "4", "5", "6", NULL }
  1626. ;       ..... ;
  1627. ;273       0  static  APTR        Sl_Product[8];
  1628. ;274       0  static  APTR        Sl_Vendor[8];
  1629. ;275       0  static  APTR        Sl_Revision[8];
  1630. ;276       0  static  APTR        Sl_DevType[8];
  1631. ;277       0  static  APTR        Sl_Standard[8];
  1632. ;278       0  static  APTR        Sl_Removable[8];
  1633. ;279       0  static  APTR        Sl_Rel_Addr[8];
  1634.  
  1635. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 29
  1636. ;
  1637. ;
  1638. ;Line#  Block                                  Source
  1639. ;280       0  static  APTR        Sl_16Wide_Addr[8];
  1640. ;281       0  static  APTR        Sl_32Wide_Addr[8];
  1641. ;282
  1642. ;283          /*------------------------------------------------------------------------*/
  1643. ;284
  1644. ;285       0  ULONG __stdargs DoSuperNew(struct IClass *cl,Object *obj,ULONG tag1,...)
  1645. ;286       0  {
  1646. ;287       1      return(DoSuperMethod(cl,obj,OM_NEW,&tag1,NULL));
  1647. ;288       1  }
  1648. ;289
  1649. ;290          /*------------------------------------------------------------------------*/
  1650. ;291
  1651. ;292       0  void main(int argc, char **argv)
  1652. ;293       0  {
  1653. ;294       1      ULONG   signals;
  1654. ;295       1      BOOL    running = TRUE;
  1655. ;296       1      ULONG   entry       = 0;
  1656. ;297
  1657. ;298       1      if (!(li.li_LocaleBase = LocaleBase = OpenLibrary("locale.library",0L)))
  1658. ;299       1          BailOut(NULL, "Unable to open locale.library");
  1659. ;300
  1660. ;301       1      if ((IconBase = OpenLibrary("icon.library",0L)) == NULL)
  1661. ;302       1          BailOut(NULL, GetString(&li, MSG_Unable_to_Open_icon));
  1662. ;303
  1663. ;304       1      GetDevList(argc,argv);
  1664. ;305
  1665. ;306       1      li.li_Catalog = OpenCatalog(NULL, "Scsi_List.catalog", TAG_DONE);
  1666. ;307
  1667. ;308       1      if (!(MUIMasterBase = OpenLibrary(MUIMASTER_NAME,MUIMASTER_VMIN)))
  1668. ;309       1          BailOut(NULL, GetString(&li, MSG_Unable_to_Open_MUI));
  1669. ;310
  1670. ;311       1      Units[0] = (char *)AllocMem(strlen(GetString(&li, MSG_List)) + 1, MEMF_ANY|M
  1671. ;       ..... EMF_CLEAR);
  1672. ;312       1      strcpy(Units[0], GetString(&li, MSG_List));
  1673. ;313
  1674. ;314       1      if (!(InitClasses()))
  1675. ;315       1          BailOut(NULL, GetString(&li, MSG_Unable_to_Create_Cust_Class));
  1676. ;316
  1677. ;317       1      app = ApplicationObject,
  1678. ;318       1              MUIA_Application_Title,         "Scsi List",
  1679. ;319       1              MUIA_Application_Version,       "$VER: Scsi_List 1.5 (5.9.96)",
  1680. ;320       1              MUIA_Application_Copyright,     "@1996, Richard Sellens",
  1681. ;321       1              MUIA_Application_Author,        "Richard Sellens",
  1682. ;322       1              MUIA_Application_Description,   "Show SCSI Devices",
  1683. ;323       1              MUIA_Application_Base,          "SCSI",
  1684. ;324
  1685. ;325       1              MUIA_Application_Window, win1 = WindowObject,
  1686. ;326       1                  MUIA_Window_Title, "Scsi List",
  1687. ;327       1                  MUIA_Window_ID   , MAKE_ID('S','C','S','I'),
  1688. ;328
  1689.  
  1690. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 30
  1691. ;
  1692. ;
  1693. ;Line#  Block                                  Source
  1694. ;329       1                  WindowContents, VGroup,
  1695. ;330       1                      Child, HGroup, GroupFrame,
  1696. ;331       1                          MUIA_Weight, 100,
  1697. ;332       1                          Child, BodychunkObject, MUIA_FixWidth, SCSI_WIDTH,
  1698. ;333       1                                   MUIA_FixHeight, SCSI_HEIGHT,
  1699. ;334       1                                   MUIA_Bitmap_Width, SCSI_WIDTH,
  1700. ;335       1                                   MUIA_Bitmap_Height, SCSI_HEIGHT,
  1701. ;336       1                                   MUIA_Bodychunk_Depth, SCSI_DEPTH,
  1702. ;337       1                                   MUIA_Bodychunk_Body, (UBYTE *)Scsi_body,
  1703. ;338       1                                   MUIA_Bodychunk_Compression, SCSI_COMPRESSION,
  1704. ;339       1                                   MUIA_Bodychunk_Masking, SCSI_MASKING,
  1705. ;340       1                                   MUIA_Bitmap_SourceColors, (ULONG *)Scsi_colors,
  1706. ;341       1                                   MUIA_Bitmap_Transparent, 0,
  1707. ;342       1                          End,
  1708. ;343       1                          Child, ColGroup(2),
  1709. ;344       1                              Child, Label1(GetString(&li, MSG_Device)),
  1710. ;345       1                              Child, cycle = Cycle(DevList),
  1711. ;346       1                          End,
  1712. ;347       1                      End,
  1713. ;348       1                      Child, pg_group = RegisterGroup(Units),
  1714. ;349       1                          MUIA_Register_Frame, TRUE,
  1715. ;350       1                          Child, lv_tools = ListviewObject,
  1716. ;351       1                              MUIA_Weight, 120,
  1717. ;352       1                              MUIA_CycleChain, 1,
  1718. ;353       1                              MUIA_Listview_Input, TRUE,
  1719. ;354       1                              ReadListFrame,
  1720. ;355       1                              MUIA_Listview_List, lv_scsi = NewObject(CL_ScsiList-
  1721. ;       ..... >mcc_Class, NULL, TAG_DONE),
  1722. ;356       1                          End,
  1723. ;357       1                          MAKE_PAGE(1)
  1724. ;358       1                          MAKE_PAGE(2)
  1725. ;359       1                          MAKE_PAGE(3)
  1726. ;360       1                          MAKE_PAGE(4)
  1727. ;361       1                          MAKE_PAGE(5)
  1728. ;362       1                          MAKE_PAGE(6)
  1729. ;363       1                          MAKE_PAGE(7)
  1730. ;364       1                      End,
  1731. ;365       1                  End,
  1732. ;366       1              End,
  1733. ;367       1          End;
  1734. ;368
  1735. ;369       1      if (!app)
  1736. ;370       1          BailOut(app, GetString(&li, MSG_Failed_to_Create_App));
  1737. ;371
  1738. ;372       1      DoMethod(win1, MUIM_Notify, MUIA_Window_CloseRequest, TRUE,
  1739. ;373       1          app,2,MUIM_Application_ReturnID, MUIV_Application_ReturnID_Quit);
  1740. ;374       1      DoMethod(lv_tools, MUIM_Notify,MUIA_Listview_DoubleClick,TRUE,
  1741. ;375       1          lv_scsi,1 , ID_SELECT);
  1742. ;376       1      DoMethod(cycle,MUIM_Notify,MUIA_Cycle_Active, MUIV_EveryTime,
  1743. ;377       1          app,2,MUIM_Application_ReturnID, ID_Dev);
  1744.  
  1745. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 31
  1746. ;
  1747. ;
  1748. ;Line#  Block                                  Source
  1749. ;378
  1750. ;379       1      set(win1, MUIA_Window_Open, TRUE);
  1751. ;380
  1752. ;381       1      set(cycle, MUIA_Cycle_Active, 0);
  1753. ;382       1      ShowSCSI(DevList[0]);
  1754. ;383
  1755. ;384       1      while (running)
  1756. ;385       1      {
  1757. ;386       2          ULONG id = DoMethod(app, MUIM_Application_NewInput, &signals);
  1758. ;387       2          switch (id)
  1759. ;388       2          {
  1760. ;389       3              case MUIV_Application_ReturnID_Quit:
  1761. ;390       3                  running = FALSE;
  1762. ;391       3                  break;
  1763. ;392       3              case ID_Dev:
  1764. ;393       3                  get(cycle, MUIA_Cycle_Active, &entry);
  1765. ;394       3                  DoMethod(lv_tools, MUIM_List_Clear);
  1766. ;395       3                  ShowSCSI(DevList[entry]);
  1767. ;396       3                  set(pg_group, MUIA_Group_ActivePage, 0);
  1768. ;397       3                  break;
  1769. ;398       3              case ID_OK:
  1770. ;399       3                  break;
  1771. ;400       3          }
  1772. ;401       2          if (running && signals)
  1773. ;402       2              Wait(signals);
  1774. ;403       2      }
  1775. ;404
  1776. ;405       1      set(win1, MUIA_Window_Open, FALSE);
  1777. ;406       1      BailOut(app, NULL);
  1778. ;407       1  }
  1779. ;408
  1780. ;409          /*------------------------------------------------------------------------*/
  1781. ;410
  1782. ;411       0  void BailOut(APTR app, char *str)
  1783. ;412       0  {
  1784. ;413       1      int loop;
  1785. ;414
  1786. ;415       1      FreeMem(Units[0], strlen(GetString(&li, MSG_List)) + 1);
  1787. ;416
  1788. ;417       1      for (loop =0; loop<(totitem +1); loop++)
  1789. ;418       1      {
  1790. ;419       2          FreeMem(DevList[loop], strlen(DevList[loop]) + 1);
  1791. ;420       2      }
  1792. ;421
  1793. ;422       1      if (app)
  1794. ;423       1          MUI_DisposeObject(app);
  1795. ;424
  1796. ;425       1      ExitClasses();
  1797. ;426
  1798. ;427       1      if (MUIMasterBase)
  1799.  
  1800. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 32
  1801. ;
  1802. ;
  1803. ;Line#  Block                                  Source
  1804. ;428       1          CloseLibrary(MUIMasterBase);
  1805. ;429
  1806. ;430       1      if (LocaleBase)
  1807. ;431       1      {
  1808. ;432       2          CloseCatalog(li.li_Catalog);
  1809. ;433       2          CloseLibrary(LocaleBase);
  1810. ;434       2      }
  1811. ;435
  1812. ;436       1      if (IconBase)
  1813. ;437       1          CloseLibrary(IconBase);
  1814. ;438
  1815. ;439       1      if (str)
  1816. ;440       1      {
  1817. ;441       2          puts(str);
  1818. ;442       2          exit(20);
  1819. ;443       2      }
  1820. ;444
  1821. ;445       1      exit(0);
  1822. ;446       1  }
  1823. ;447
  1824. ;448          /*------------------------------------------------------------------------*/
  1825. ;449       0  void GetDevList(int argc, char **argv)
  1826. ;450       0  {
  1827. ;451       1      struct  WBStartup   *WBenchMsg;
  1828. ;452       1      struct  WBArg       *wbarg;
  1829. ;453       1      char    *scsi_name  = "scsi";
  1830. ;454       1      struct  Node        *DeviceLibNode;
  1831. ;455       1      int     i           = 0;
  1832. ;456       1      LONG    olddir;
  1833. ;457       1      BOOL    FromWb;
  1834. ;458
  1835. ;459       1      Forbid();
  1836. ;460       1      DeviceLibNode = SysBase->DeviceList.lh_Head;
  1837. ;461       1      while (DeviceLibNode->ln_Succ)
  1838. ;462       1      {
  1839. ;463       2          DeviceLibNode = DeviceLibNode->ln_Succ;
  1840. ;464       2          if (strstr(DeviceLibNode->ln_Name, strlwr(scsi_name)))
  1841. ;465       2          {
  1842. ;466       3              i = AddDeviceToList(i, DeviceLibNode->ln_Name);
  1843. ;467       3          }
  1844. ;468       2          else
  1845. ;469       2          {
  1846. ;470       3              if (strstr(DeviceLibNode->ln_Name, strupr(scsi_name)))
  1847. ;471       3              {
  1848. ;472       4                  i = AddDeviceToList(i, DeviceLibNode->ln_Name);
  1849. ;473       4              }
  1850. ;474
  1851. ;475       3          }
  1852. ;476       2      }
  1853. ;477       1      Permit();
  1854.  
  1855. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 33
  1856. ;
  1857. ;
  1858. ;Line#  Block                                  Source
  1859. ;478
  1860. ;479       1      FromWb  = (argc==0) ?   TRUE : FALSE;
  1861. ;480       1      if (FromWb)
  1862. ;481       1      {
  1863. ;482       2          WBenchMsg = (struct WBStartup *)argv;
  1864. ;483       2          wbarg = WBenchMsg->sm_ArgList;
  1865. ;484       2          olddir = -1;
  1866. ;485       2          if ((wbarg->wa_Lock) && (*wbarg->wa_Name))
  1867. ;486       2              olddir = CurrentDir(wbarg->wa_Lock);
  1868. ;487       2          i = gettooltypes(wbarg, i);
  1869. ;488       2          if (olddir != -1)
  1870. ;489       2             CurrentDir(olddir); /*  CD back where we were           */
  1871. ;490       2      }
  1872. ;491
  1873. ;492       1      totitem = i - 1;
  1874. ;493       1      DevList[i] = NULL;
  1875. ;494       1      return;
  1876. ;495       1  }
  1877. ;496
  1878. ;497          /*------------------------------------------------------------------------*/
  1879. ;498
  1880. ;499       0  int gettooltypes(struct WBArg *wbarg, int i)
  1881. ;500       0  {
  1882. ;501       1      struct  DiskObject  *dobj;
  1883. ;502       1      char    **toolarray;
  1884. ;503       1      char    *s;
  1885. ;504
  1886. ;505       1      if ((*wbarg->wa_Name) && (dobj = GetDiskObject(wbarg->wa_Name)))
  1887. ;506       1      {
  1888. ;507       2          toolarray = (char **)dobj->do_ToolTypes;
  1889. ;508       2          if (s = (char *)FindToolType(toolarray, "DEVICE"))
  1890. ;509       2          {
  1891. ;510       3              i = AddDeviceToList(i, s);
  1892. ;511       3          }
  1893. ;512       2          if (s = (char *)FindToolType(toolarray, "DEVICE1"))
  1894. ;513       2          {
  1895. ;514       3              i = AddDeviceToList(i, s);
  1896. ;515       3          }
  1897. ;516       2          if (s = (char *)FindToolType(toolarray, "DEVICE2"))
  1898. ;517       2          {
  1899. ;518       3              i = AddDeviceToList(i, s);
  1900. ;519       3          }
  1901. ;520       2          if (s = (char *)FindToolType(toolarray, "DEVICE3"))
  1902. ;521       2          {
  1903. ;522       3              i = AddDeviceToList(i, s);
  1904. ;523       3          }
  1905. ;524       2          if (s = (char *)FindToolType(toolarray, "DEVICE4"))
  1906. ;525       2          {
  1907. ;526       3              i = AddDeviceToList(i, s);
  1908. ;527       3          }
  1909.  
  1910. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 34
  1911. ;
  1912. ;
  1913. ;Line#  Block                                  Source
  1914. ;528       2          FreeDiskObject(dobj);
  1915. ;529       2      }
  1916. ;530
  1917. ;531       1      return(i);
  1918. ;532       1  }
  1919. ;533
  1920. ;534          /*------------------------------------------------------------------------*/
  1921. ;535
  1922. ;536       0  int AddDeviceToList(int pos, char *devname)
  1923. ;537       0  {
  1924. ;538       1      int     srch_pos = 0;
  1925. ;539       1      BOOL    srch_match = FALSE;
  1926. ;540
  1927. ;541       1      while(srch_pos < pos)
  1928. ;542       1      {
  1929. ;543       2          if (strnicmp(devname,DevList[srch_pos],sizeof(devname)) == 0)
  1930. ;544       2          {
  1931. ;545       3              srch_match = TRUE;
  1932. ;546       3          }
  1933. ;547       2          srch_pos = srch_pos + 1;
  1934. ;548       2      }
  1935. ;549
  1936. ;550       1      if (srch_match == FALSE)
  1937. ;551       1      {
  1938. ;552       2          DevList[pos] = (char *)AllocMem(strlen(devname) + 1, MEMF_ANY|MEMF_CLEAR
  1939. ;       ..... );
  1940. ;553       2          strcpy(DevList[pos], devname);
  1941. ;554       2          pos = pos + 1;
  1942. ;555       2      }
  1943. ;556
  1944. ;557       1      return(pos);
  1945. ;558       1  }
  1946. ;559
  1947. ;560          /*------------------------------------------------------------------------*/
  1948. ;561
  1949. ;562       0  SAVEDS ASM ULONG ScsiList_Dispatcher(REG(a0) struct IClass *cl,REG(a2) Object *o
  1950. ;       ..... bj,REG(a1) Msg msg)
  1951. ;563       0  {
  1952. ;564       1      switch (msg->MethodID)
  1953. ;565       1      {
  1954. ;566       2          case OM_NEW              : return(ScsiList_New    (cl,obj,(APTR)msg));
  1955. ;567       2          case MUIM_Setup          : return(ScsiList_Setup  (cl,obj,(APTR)msg));
  1956. ;568       2          case MUIM_Cleanup        : return(ScsiList_Cleanup(cl,obj,(APTR)msg));
  1957. ;569       2          case ID_SELECT           : return(ScsiList_Select (cl,obj,(APTR)msg));
  1958. ;570       2      }
  1959. ;571       1      return(DoSuperMethodA(cl,obj,msg));
  1960. ;572       1  }
  1961. ;573
  1962. ;574          /*------------------------------------------------------------------------*/
  1963. ;575
  1964.  
  1965. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 35
  1966. ;
  1967. ;
  1968. ;Line#  Block                                  Source
  1969. ;576       0  SAVEDS ASM APTR ScsiList_ConstructFunc(REG(a1) struct ScsiUnitData *SLCF_src)
  1970. ;577       0  {
  1971. ;578       1      struct ScsiUnitData *SLCF_dest = (struct ScsiUnitData *)AllocMem(sizeof(stru
  1972. ;       ..... ct ScsiUnitData), MEMF_ANY|MEMF_CLEAR);
  1973. ;579
  1974. ;580       1      SLCF_dest->SUD_Vendor = (char *)AllocMem(10, MEMF_ANY|MEMF_CLEAR);
  1975. ;581       1         SLCF_dest->SUD_Product = (char *)AllocMem(18, MEMF_ANY|MEMF_CLEAR);
  1976. ;582       1      SLCF_dest->SUD_Revision = (char *)AllocMem(6, MEMF_ANY|MEMF_CLEAR);
  1977. ;583
  1978. ;584       1      SLCF_dest->SUD_Unit = SLCF_src->SUD_Unit;
  1979. ;585       1      strcpy(SLCF_dest->SUD_Vendor, SLCF_src->SUD_Vendor);
  1980. ;586       1      strcpy(SLCF_dest->SUD_Product, SLCF_src->SUD_Product);
  1981. ;587       1      strcpy(SLCF_dest->SUD_Revision, SLCF_src->SUD_Revision);
  1982. ;588       1      SLCF_dest->SUD_Dev_type = SLCF_src->SUD_Dev_type;
  1983. ;589       1      SLCF_dest->SUD_Standard = SLCF_src->SUD_Standard;
  1984. ;590       1      SLCF_dest->SUD_Removable = SLCF_src->SUD_Removable;
  1985. ;591       1      SLCF_dest->SUD_Rel_Addr = SLCF_src->SUD_Rel_Addr;
  1986. ;592       1      SLCF_dest->SUD_16Wide_Addr = SLCF_src->SUD_16Wide_Addr;
  1987. ;593       1      SLCF_dest->SUD_32Wide_Addr = SLCF_src->SUD_32Wide_Addr;
  1988. ;594
  1989. ;595       1      return(SLCF_dest);
  1990. ;596       1  }
  1991. ;597
  1992. ;598          /*------------------------------------------------------------------------*/
  1993. ;599
  1994. ;600       0  SAVEDS ASM VOID ScsiList_DestructFunc(REG(a1) struct ScsiUnitData *SLDF_data)
  1995. ;601       0  {
  1996. ;602       1      FreeMem(SLDF_data->SUD_Vendor, 10);
  1997. ;603       1      FreeMem(SLDF_data->SUD_Product, 18);
  1998. ;604       1      FreeMem(SLDF_data->SUD_Revision, 6);
  1999. ;605
  2000. ;606       1      FreeMem(SLDF_data, sizeof(struct ScsiUnitData));
  2001. ;607       1  }
  2002. ;608
  2003. ;609          /*------------------------------------------------------------------------*/
  2004. ;610
  2005. ;611       0  SAVEDS ASM LONG ScsiList_DisplayFunc(REG(a0) struct Hook *hook,REG(a2) char **ar
  2006. ;       ..... ray, REG(a1) struct ScsiUnitData *data1)
  2007. ;612       0  {
  2008. ;613       1      struct ScsiList_Data *data = (APTR)hook->h_Data;
  2009. ;614       1      static char buf1[50], buf2[30], buf3[30];
  2010. ;615
  2011. ;616       1      *array++ = "";
  2012. ;617
  2013. ;618       1      if (!data1)
  2014. ;619       1      {
  2015. ;620       2          strcpy(buf2,"\33b\33u");
  2016. ;621       2          strcpy(buf3,"\33b\33u");
  2017. ;622       2          strcat(buf2, GetString(&li, MSG_Unit));
  2018. ;623       2          strcat(buf3, GetString(&li, MSG_Product));
  2019.  
  2020. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 36
  2021. ;
  2022. ;
  2023. ;Line#  Block                                  Source
  2024. ;624       2          *array++ = "";
  2025. ;625       2          *array++ = buf2;
  2026. ;626       2          *array   = buf3;
  2027. ;627       2      }
  2028. ;628       1      else
  2029. ;629       1      {
  2030. ;630       2          switch(data1->SUD_Dev_type)
  2031. ;631       2          {
  2032. ;632       3              case 0:
  2033. ;633       3                  if (data1->SUD_Removable)
  2034. ;634       3                      sprintf(buf1, "\33O[%08lx]", data->SL_Image_RD);
  2035. ;635       3                  else
  2036. ;636       3                      sprintf(buf1, "\33O[%08lx]", data->SL_Image_HD);
  2037. ;637       3                  break;
  2038. ;638       3              case 1:
  2039. ;639       3                  sprintf(buf1, "\33O[%08lx]", data->SL_Image_RD);
  2040. ;640       3                  break;
  2041. ;641       3              case 3:
  2042. ;642       3                  sprintf(buf1, "\33O[%08lx]", data->SL_Image_PR);
  2043. ;643       3                  break;
  2044. ;644       3              case 4:
  2045. ;645       3                  sprintf(buf1, "\33O[%08lx]", data->SL_Image_CD);
  2046. ;646       3                  break;
  2047. ;647       3              case 5:
  2048. ;648       3                  sprintf(buf1, "\33O[%08lx]", data->SL_Image_CD);
  2049. ;649       3                  break;
  2050. ;650       3              case 6:
  2051. ;651       3                  sprintf(buf1, "\33O[%08lx]", data->SL_Image_SC);
  2052. ;652       3                  break;
  2053. ;653       3              case 99:
  2054. ;654       3                  sprintf(buf1, "\33O[%08lx]", data->SL_Image_NO);
  2055. ;655       3                  break;
  2056. ;656       3              default:
  2057. ;657       3                  sprintf(buf1, "\33O[%08lx]", data->SL_Image_NL);
  2058. ;658       3                  break;
  2059. ;659       3          }
  2060. ;660       2          sprintf(buf2, "%d", data1->SUD_Unit);
  2061. ;661       2          strcpy(buf3, data1->SUD_Product);
  2062. ;662       2          *array++ = buf1;
  2063. ;663       2          *array++ = buf2;
  2064. ;664       2          *array   = buf3;
  2065. ;665       2      }
  2066. ;666
  2067. ;667       1      return(0);
  2068. ;668       1  }
  2069. ;669
  2070. ;670          /*------------------------------------------------------------------------*/
  2071. ;671
  2072. ;672       0  ULONG ScsiList_New(struct IClass *cl,Object *obj,struct opSet *msg)
  2073. ;673       0  {
  2074.  
  2075. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 37
  2076. ;
  2077. ;
  2078. ;Line#  Block                                  Source
  2079. ;674       1      static const struct Hook ScsiList_ConstructHook = { { 0,0 }, (VOID *)ScsiList_C
  2080. ;       ..... onstructFunc, NULL, NULL};
  2081. ;675       1      static const struct Hook ScsiList_DestructHook  = { { 0,0 }, (VOID *)ScsiList_D
  2082. ;       ..... estructFunc, NULL, NULL};
  2083. ;676
  2084. ;677       1      obj=(Object *)DoSuperNew(cl,obj,
  2085. ;678       1          MUIA_List_ConstructHook, &ScsiList_ConstructHook,
  2086. ;679       1          MUIA_List_DestructHook , &ScsiList_DestructHook,
  2087. ;680       1          MUIA_List_Format       , ",,,",
  2088. ;681       1          MUIA_List_Title        , TRUE,
  2089. ;682       1          MUIA_List_MinLineHeight, CD_ROM_HEIGHT,        
  2090. ;683       1          TAG_MORE,msg->ops_AttrList);
  2091. ;684
  2092. ;685       1      if (obj)
  2093. ;686       1      {
  2094. ;687       2          struct ScsiList_Data *data = INST_DATA(cl,obj);
  2095. ;688
  2096. ;689       2          data->DisplayHook.h_Entry = (VOID *)ScsiList_DisplayFunc;
  2097. ;                                                                         ^
  2098. ;===> Scsi.c 689 Warning 147: conversion between function and data pointers
  2099. ;
  2100. ;690       2          data->DisplayHook.h_Data  = (APTR)data;
  2101. ;691
  2102. ;692       2          set(obj,MUIA_List_DisplayHook,&data->DisplayHook);
  2103. ;693       2      }
  2104. ;694
  2105. ;695       1      return((ULONG)obj);
  2106. ;696
  2107. ;697       1  }
  2108. ;698
  2109. ;699          /*------------------------------------------------------------------------*/
  2110. ;700
  2111. ;701       0  static Object *makescsiimage(UBYTE *body)
  2112. ;702       0  {
  2113. ;703       1      Object *obj = BodychunkObject,
  2114. ;704       1          MUIA_FixWidth             , CD_ROM_WIDTH ,
  2115. ;705       1          MUIA_FixHeight            , CD_ROM_HEIGHT,
  2116. ;706       1          MUIA_Bitmap_Width         , CD_ROM_WIDTH ,
  2117. ;707       1          MUIA_Bitmap_Height        , CD_ROM_HEIGHT,
  2118. ;708       1          MUIA_Bodychunk_Depth      , CD_ROM_DEPTH ,
  2119. ;709       1          MUIA_Bodychunk_Body       , (UBYTE *)body,
  2120. ;710       1          MUIA_Bodychunk_Compression, CD_ROM_COMPRESSION,
  2121. ;711       1          MUIA_Bodychunk_Masking    , CD_ROM_MASKING,
  2122. ;712       1          MUIA_Bitmap_SourceColors  , (ULONG *)CD_Rom_colors,
  2123. ;713       1          MUIA_Bitmap_Transparent   , 0,
  2124. ;714       1          End;
  2125. ;715
  2126. ;716       1      return(obj);
  2127. ;717       1  }
  2128. ;718
  2129.  
  2130. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 38
  2131. ;
  2132. ;
  2133. ;Line#  Block                                  Source
  2134. ;719          /*------------------------------------------------------------------------*/
  2135. ;720
  2136. ;721       0  static Object *makescsiimagePR(UBYTE *body)
  2137. ;722       0  {
  2138. ;723       1      Object *obj = BodychunkObject,
  2139. ;724       1          MUIA_FixWidth             , PROCESSOR_WIDTH ,
  2140. ;725       1          MUIA_FixHeight            , PROCESSOR_HEIGHT,
  2141. ;726       1          MUIA_Bitmap_Width         , PROCESSOR_WIDTH ,
  2142. ;727       1          MUIA_Bitmap_Height        , PROCESSOR_HEIGHT,
  2143. ;728       1          MUIA_Bodychunk_Depth      , PROCESSOR_DEPTH ,
  2144. ;729       1          MUIA_Bodychunk_Body       , (UBYTE *)body,
  2145. ;730       1          MUIA_Bodychunk_Compression, PROCESSOR_COMPRESSION,
  2146. ;731       1          MUIA_Bodychunk_Masking    , PROCESSOR_MASKING,
  2147. ;732       1          MUIA_Bitmap_SourceColors  , (ULONG *)Processor_colors,
  2148. ;733       1          MUIA_Bitmap_Transparent   , 0,
  2149. ;734       1          End;
  2150. ;735
  2151. ;736       1      return(obj);
  2152. ;737       1  }
  2153. ;738
  2154. ;739          /*------------------------------------------------------------------------*/
  2155. ;740
  2156. ;741       0  static Object *makescsiimageSC(UBYTE *body)
  2157. ;742       0  {
  2158. ;743       1      Object *obj = BodychunkObject,
  2159. ;744       1          MUIA_FixWidth             , SCANNER_WIDTH ,
  2160. ;745       1          MUIA_FixHeight            , SCANNER_HEIGHT,
  2161. ;746       1          MUIA_Bitmap_Width         , SCANNER_WIDTH ,
  2162. ;747       1          MUIA_Bitmap_Height        , SCANNER_HEIGHT,
  2163. ;748       1          MUIA_Bodychunk_Depth      , SCANNER_DEPTH ,
  2164. ;749       1          MUIA_Bodychunk_Body       , (UBYTE *)body,
  2165. ;750       1          MUIA_Bodychunk_Compression, SCANNER_COMPRESSION,
  2166. ;751       1          MUIA_Bodychunk_Masking    , SCANNER_MASKING,
  2167. ;752       1          MUIA_Bitmap_SourceColors  , (ULONG *)Scanner_colors,
  2168. ;753       1          MUIA_Bitmap_Transparent   , 0,
  2169. ;754       1          End;
  2170. ;755
  2171. ;756       1      return(obj);
  2172. ;757       1  }
  2173. ;758
  2174. ;759          /*------------------------------------------------------------------------*/
  2175. ;760
  2176. ;761       0  ULONG ScsiList_Setup(struct IClass *cl,Object *obj,Msg msg)
  2177. ;762       0  {
  2178. ;763       1      struct ScsiList_Data *data = INST_DATA(cl,obj);
  2179. ;764
  2180. ;765       1      if (!DoSuperMethodA(cl,obj,msg))
  2181. ;766       1          return(FALSE);
  2182. ;767
  2183. ;768       1      data->SL_OImage_CD = makescsiimage((UBYTE *)CD_Rom_body);
  2184.  
  2185. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 39
  2186. ;
  2187. ;
  2188. ;Line#  Block                                  Source
  2189. ;769       1      data->SL_OImage_HD = makescsiimage((UBYTE *)Hard_Drive_body);
  2190. ;770       1      data->SL_OImage_PR = makescsiimagePR((UBYTE *)Processor_body);
  2191. ;771       1      data->SL_OImage_RD = makescsiimage((UBYTE *)Remove_Drive_body);
  2192. ;772       1      data->SL_OImage_SC = makescsiimageSC((UBYTE *)Scanner_body);
  2193. ;773       1      data->SL_OImage_NO = makescsiimage((UBYTE *)NoUnit_body);
  2194. ;774       1      data->SL_OImage_NL = makescsiimage((UBYTE *)Null_body);
  2195. ;775
  2196. ;776       1      data->SL_Image_CD = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_CD
  2197. ;       .....  ,0);
  2198. ;777       1      data->SL_Image_HD = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_HD
  2199. ;       .....  ,0);
  2200. ;778       1      data->SL_Image_PR = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_PR
  2201. ;       .....  ,0);
  2202. ;779       1      data->SL_Image_RD = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_RD
  2203. ;       .....  ,0);
  2204. ;780       1      data->SL_Image_SC = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_SC
  2205. ;       .....  ,0);
  2206. ;781       1      data->SL_Image_NO = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_NO
  2207. ;       .....  ,0);
  2208. ;782       1      data->SL_Image_NL = (APTR)DoMethod(obj,MUIM_List_CreateImage,data->SL_OImage_NL
  2209. ;       .....  ,0);
  2210. ;783
  2211. ;784       1      MUI_RequestIDCMP(obj,IDCMP_MOUSEBUTTONS);
  2212. ;785
  2213. ;786       1      return(TRUE);
  2214. ;787       1  }
  2215. ;788          /*------------------------------------------------------------------------*/
  2216. ;789
  2217. ;790       0  ULONG ScsiList_Cleanup(struct IClass *cl,Object *obj,Msg msg)
  2218. ;791       0  {
  2219. ;792       1      struct ScsiList_Data *data = INST_DATA(cl,obj);
  2220. ;793
  2221. ;794       1      DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_CD);
  2222. ;795       1      DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_HD);
  2223. ;796       1      DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_PR);
  2224. ;797       1      DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_RD);
  2225. ;798       1      DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_SC);
  2226. ;799       1      DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_NO);
  2227. ;800       1      DoMethod(obj,MUIM_List_DeleteImage,data->SL_Image_NL);
  2228. ;801
  2229. ;802       1      MUI_RejectIDCMP(obj,IDCMP_MOUSEBUTTONS);
  2230. ;803
  2231. ;804       1      return(DoSuperMethodA(cl,obj,msg));
  2232. ;805       1  }
  2233. ;806
  2234. ;807
  2235. ;808          /*------------------------------------------------------------------------*/
  2236. ;809
  2237. ;810       0  ULONG ScsiList_Select(struct IClass *cl,Object *obj,Msg msg)
  2238. ;811       0  {
  2239.  
  2240. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 40
  2241. ;
  2242. ;
  2243. ;Line#  Block                                  Source
  2244. ;812       1      ULONG   c_pos;
  2245. ;813
  2246. ;814       1      get(lv_tools, MUIA_List_Active, &c_pos);
  2247. ;815       1      set(pg_group, MUIA_Group_ActivePage, (c_pos + 1));
  2248. ;816
  2249. ;817       1      return(DoSuperMethodA(cl,obj,msg));
  2250. ;818       1  }
  2251. ;819
  2252. ;820          /*------------------------------------------------------------------------*/
  2253. ;821
  2254. ;822       0  BOOL InitClasses(VOID)
  2255. ;823       0  {
  2256. ;824       1      CL_ScsiList   = MUI_CreateCustomClass(NULL, MUIC_List, NULL, sizeof(struct Scsi
  2257. ;       ..... List_Data), ScsiList_Dispatcher);
  2258. ;825
  2259. ;826       1      if (CL_ScsiList)
  2260. ;827       1          return(TRUE);
  2261. ;828
  2262. ;829       1      ExitClasses();
  2263. ;830       1      return(FALSE);
  2264. ;831       1  }
  2265. ;832
  2266. ;833          /*------------------------------------------------------------------------*/
  2267. ;834
  2268. ;835       0  VOID ExitClasses(VOID)
  2269. ;836       0  {
  2270. ;837       1      if (CL_ScsiList)
  2271. ;838       1          MUI_DeleteCustomClass(CL_ScsiList);
  2272. ;839       1  }
  2273. ;840
  2274. ;841          /*------------------------------------------------------------------------*/
  2275. ;842
  2276. ;843       0  void ShowSCSI(char *SSdevice)
  2277. ;844       0  {
  2278. ;845       1      if (!(scsi_sense = (UBYTE *)AllocMem(252, MEMF_CHIP|MEMF_CLEAR)))
  2279. ;846       1          ShowScsi_exit(20, GetString(&li, MSG_Unable_to_Allocate_Memory));
  2280. ;847
  2281. ;848       1      if (!(scsi_data = (UBYTE *)AllocMem(252, MEMF_CHIP|MEMF_CLEAR)))
  2282. ;849       1          ShowScsi_exit(20, GetString(&li, MSG_Unable_to_Allocate_Memory));
  2283. ;850
  2284. ;851       1      if (!(replymp = (struct MsgPort *)CreatePort(NULL, 0)))
  2285. ;852       1          ShowScsi_exit(20, GetString(&li, MSG_Unable_to_Create_Mess_Port));
  2286. ;853
  2287. ;854       1      if (!(scsi_req = (struct IOStdReq *)CreateStdIO(replymp)))
  2288. ;855       1          ShowScsi_exit(20, GetString(&li, MSG_Unable_to_Create_StandardIO));
  2289. ;856
  2290. ;857       1      ListDevices(SSdevice);
  2291. ;858
  2292. ;859       1      ShowScsi_exit(0, NULL);
  2293. ;860       1  }
  2294.  
  2295. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 41
  2296. ;
  2297. ;
  2298. ;Line#  Block                                  Source
  2299. ;861
  2300. ;862          /*------------------------------------------------------------------------*/
  2301. ;863
  2302. ;864       0  void ShowScsi_exit(long code, char *errmsg)
  2303. ;865       0  {
  2304. ;866       1      if (scsi_req)
  2305. ;867       1          DeleteStdIO(scsi_req);
  2306. ;868
  2307. ;869       1      if (replymp)
  2308. ;870       1          DeletePort(replymp);
  2309. ;871
  2310. ;872       1      if (scsi_sense)
  2311. ;873       1          FreeMem(scsi_sense, 252);
  2312. ;874
  2313. ;875       1      if (scsi_data)
  2314. ;876       1          FreeMem(scsi_data, 252);
  2315. ;877
  2316. ;878       1      if (errmsg)
  2317. ;879       1          printf("\n%s\n", errmsg);
  2318. ;880
  2319. ;881       1      return;
  2320. ;882       1  }
  2321. ;883
  2322. ;884          /*------------------------------------------------------------------------*/
  2323. ;885
  2324. ;886       0  void ListDevices(char *devname)
  2325. ;887       0  {
  2326. ;888       1      int i;
  2327. ;889       1      struct ScsiUnitData *SUdata = (struct ScsiUnitData *)AllocMem(sizeof(struct
  2328. ;       ..... ScsiUnitData), MEMF_ANY|MEMF_CLEAR);
  2329. ;890       1      static  UBYTE       cmd[] = { SCSI_CMD_INQ, 0, 0, 0, 252, 0, };
  2330. ;891
  2331. ;892       1      SUdata->SUD_Vendor = (char *)AllocMem(10, MEMF_ANY|MEMF_CLEAR);
  2332. ;893       1      SUdata->SUD_Product = (char *)AllocMem(18, MEMF_ANY|MEMF_CLEAR);
  2333. ;894       1      SUdata->SUD_Revision = (char *)AllocMem(6, MEMF_ANY|MEMF_CLEAR);
  2334. ;895
  2335. ;896       1      set(lv_tools, MUIA_List_Quiet, TRUE);
  2336. ;897       1      for (i = 0; i < 7; i++)
  2337. ;898       1      {
  2338. ;899       2          SUdata->SUD_Unit = i;
  2339. ;900       2          if (OpenDevice(devname, i, scsi_req, 0))
  2340. ;901       2          {
  2341. ;902       3              strcpy(SUdata->SUD_Vendor, " ");
  2342. ;903       3              strcpy(SUdata->SUD_Product, GetString(&li, MSG_Not_Used));
  2343. ;904       3              strcpy(SUdata->SUD_Revision, " ");
  2344. ;905       3              SUdata->SUD_Dev_type = 99;
  2345. ;906       3              SUdata->SUD_Standard = 9;
  2346. ;907       3              SUdata->SUD_Removable = FALSE;
  2347. ;908       3              SUdata->SUD_Rel_Addr = FALSE;
  2348. ;909       3              SUdata->SUD_16Wide_Addr = FALSE;
  2349.  
  2350. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 42
  2351. ;
  2352. ;
  2353. ;Line#  Block                                  Source
  2354. ;910       3              SUdata->SUD_32Wide_Addr = FALSE;
  2355. ;911       3          }
  2356. ;912       2          else
  2357. ;913       2          {
  2358. ;914       3              scsi_req->io_Length         = sizeof(struct SCSICmd);
  2359. ;915       3              scsi_req->io_Data           = (APTR) &scsi_cmd;
  2360. ;916       3              scsi_req->io_Command        = HD_SCSICMD;
  2361. ;917       3              scsi_cmd.scsi_Data          = (APTR) scsi_data;
  2362. ;918       3              scsi_cmd.scsi_Length        = 252;
  2363. ;919       3              scsi_cmd.scsi_SenseActual   = 0;
  2364. ;920       3              scsi_cmd.scsi_SenseData     = scsi_sense;
  2365. ;921       3              scsi_cmd.scsi_SenseLength   = 252;
  2366. ;922       3              scsi_cmd.scsi_Command       = (UBYTE *)cmd;
  2367. ;923       3              scsi_cmd.scsi_CmdLength     = sizeof(cmd);
  2368. ;924       3              scsi_cmd.scsi_Flags         = SCSIF_READ|SCSIF_AUTOSENSE;
  2369. ;925
  2370. ;926       3              DoIO((struct IOStdReq *)scsi_req);
  2371. ;927
  2372. ;928
  2373. ;929       3              if (scsi_req->io_Error)
  2374. ;930       3              {
  2375. ;931       4                  strcpy(SUdata->SUD_Vendor," ");
  2376. ;932       4                  strcpy(SUdata->SUD_Product, GetString(&li, MSG_Not_Used));
  2377. ;933       4                  strcpy(SUdata->SUD_Revision, " ");
  2378. ;934       4                  SUdata->SUD_Dev_type = 99;
  2379. ;935       4                  SUdata->SUD_Standard = 9;
  2380. ;936       4                  SUdata->SUD_Removable = FALSE;
  2381. ;937       4                  SUdata->SUD_Rel_Addr = FALSE;
  2382. ;938       4                  SUdata->SUD_16Wide_Addr = FALSE;
  2383. ;939       4                  SUdata->SUD_32Wide_Addr = FALSE;
  2384. ;940       4              }
  2385. ;941       3              else
  2386. ;942       3              {
  2387. ;943       4                  sprintf(SUdata->SUD_Vendor, "%.8s", &scsi_data[8]);
  2388. ;944       4                  sprintf(SUdata->SUD_Product, "%.16s", &scsi_data[16]);
  2389. ;945       4                  sprintf(SUdata->SUD_Revision, "%.4s", &scsi_data[32]);
  2390. ;946       4                  SUdata->SUD_Dev_type = (scsi_data[0] & 0x1F);
  2391. ;947       4                  SUdata->SUD_Standard = (scsi_data[3] & 0x0F);
  2392. ;948       4                  SUdata->SUD_Removable = ((scsi_data[1] & 0x80) ? TRUE : FALSE);
  2393. ;949       4                  SUdata->SUD_Rel_Addr = ((scsi_data[7] & 0x80) ? TRUE : FALSE);
  2394. ;950       4                  SUdata->SUD_16Wide_Addr = ((scsi_data[7] & 0x20) ? TRUE : FALSE)
  2395. ;       ..... ;
  2396. ;951       4                  SUdata->SUD_32Wide_Addr = ((scsi_data[7] & 0x40) ? TRUE : FALSE)
  2397. ;       ..... ;
  2398. ;952       4              }
  2399. ;953       3              CloseDevice(scsi_req);
  2400. ;954       3          }
  2401. ;955       2          DoMethod(lv_tools, MUIM_List_InsertSingle, SUdata, MUIV_List_Insert_Bott
  2402. ;       ..... om);
  2403. ;956       2          set(Sl_Product[i+1], MUIA_Text_Contents, SUdata->SUD_Product);
  2404.  
  2405. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 43
  2406. ;
  2407. ;
  2408. ;Line#  Block                                  Source
  2409. ;957       2          set(Sl_Vendor[i+1], MUIA_Text_Contents, SUdata->SUD_Vendor);
  2410. ;958       2          set(Sl_Revision[i+1], MUIA_Text_Contents, SUdata->SUD_Revision);
  2411. ;959       2          set(Sl_DevType[i+1], MUIA_Text_Contents, SetDeviceType(SUdata->SUD_Dev_t
  2412. ;       ..... ype));
  2413. ;960       2          set(Sl_Standard[i+1], MUIA_Text_Contents, SetStandard(SUdata->SUD_Standa
  2414. ;       ..... rd));
  2415. ;961       2          set(Sl_Removable[i+1], MUIA_Selected, SUdata->SUD_Removable);
  2416. ;962       2          set(Sl_Rel_Addr[i+1], MUIA_Selected, SUdata->SUD_Rel_Addr);
  2417. ;963       2          set(Sl_16Wide_Addr[i+1], MUIA_Selected, SUdata->SUD_16Wide_Addr);
  2418. ;964       2          set(Sl_32Wide_Addr[i+1], MUIA_Selected, SUdata->SUD_32Wide_Addr);
  2419. ;965       2      }
  2420. ;966       1      set(lv_tools, MUIA_List_Quiet, FALSE);
  2421. ;967
  2422. ;968       1      FreeMem(SUdata->SUD_Vendor, 10);
  2423. ;969       1      FreeMem(SUdata->SUD_Product, 18);
  2424. ;970       1      FreeMem(SUdata->SUD_Revision, 6);
  2425. ;971
  2426. ;972       1      FreeMem(SUdata, sizeof(struct ScsiUnitData));
  2427. ;973       1  }
  2428. ;974
  2429. ;975          /*------------------------------------------------------------------------*/
  2430. ;976
  2431. ;977       0  STRPTR SetStandard(int id)
  2432. ;978       0  {
  2433. ;979       1      switch(id)
  2434. ;980       1      {
  2435. ;981       2          case 0:
  2436. ;982       2              return("SCSI-1");
  2437. ;983       2              break;
  2438. ;984       2          case 1:
  2439. ;985       2              return("CCS");
  2440. ;986       2              break;
  2441. ;987       2          case 2:
  2442. ;988       2              return("SCSI-2");
  2443. ;989       2              break;
  2444. ;990       2          default:
  2445. ;991       2              return(" ");
  2446. ;992       2              break;
  2447. ;993       2      }
  2448. ;994       1  }
  2449. ;995
  2450. ;996
  2451. ;997          /*------------------------------------------------------------------------*/
  2452. ;998
  2453. ;999       0  STRPTR SetDeviceType(int id)
  2454. ;000       0  {
  2455. ;001       1      char    *empty = " ";
  2456. ;002
  2457. ;003       1      switch(id)
  2458. ;004       1      {
  2459.  
  2460. ;SAS/C Amiga Compiler (Phase 1)  6.3                10:17:12                                                                                         Page 44
  2461. ;
  2462. ;
  2463. ;Line#  Block                                  Source
  2464. ;005       2          case 0:
  2465. ;006       2              return(GetString(&li, MSG_Direct_Access_Device));
  2466. ;007       2              break;
  2467. ;008       2          case 1:
  2468. ;009       2              return(GetString(&li, MSG_Sequential_Access_Device));
  2469. ;010       2              break;
  2470. ;011       2          case 2:
  2471. ;012       2              return(GetString(&li, MSG_Printer_Device));
  2472. ;013       2              break;
  2473. ;014       2          case 3:
  2474. ;015       2              return(GetString(&li, MSG_Processor_Device));
  2475. ;016       2              break;
  2476. ;017       2          case 4:
  2477. ;018       2              return(GetString(&li, MSG_Write_Once_Device));
  2478. ;019       2              break;
  2479. ;020       2          case 5:
  2480. ;021       2              return(GetString(&li, MSG_CDROM_Device));
  2481. ;022       2              break;
  2482. ;023       2          case 6:
  2483. ;024       2              return(GetString(&li, MSG_Scanner_Device));
  2484. ;025       2              break;
  2485. ;026       2          case 7:
  2486. ;027       2              return(GetString(&li, MSG_Optical_Device));
  2487. ;028       2              break;
  2488. ;029       2          case 8:
  2489. ;030       2              return(GetString(&li, MSG_Medium_Changer_Device));
  2490. ;031       2              break;
  2491. ;032       2          case 9:
  2492. ;033       2              return(GetString(&li, MSG_Communications_Device));
  2493. ;034       2              break;
  2494. ;035       2          case 99:
  2495. ;036       2              return(empty);
  2496. ;037       2              break;
  2497. ;038       2          default:
  2498. ;039       2              return(GetString(&li, MSG_Unknown_Device));
  2499. ;040       2              break;
  2500. ;041       2      }
  2501. ;042       1  }
  2502.