home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Basic / OTL-BBU1.DMS / in.adf / Includes / resources / battmembitsamiga.bb2 < prev    next >
Unknown  |  1994-04-04  |  1.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 00 3b 20 24 56 45 52 | 3a 20 62 61 74 74 6d 65 |;.; $VER|: battme|
|00000010| 6d 62 69 74 73 61 6d 69 | 67 61 2e 62 62 32 20 34 |mbitsami|ga.bb2 4|
|00000020| 30 2e 30 20 28 30 31 2e | 30 33 2e 39 34 29 00 3b |0.0 (01.|03.94).;|
|00000030| 00 00 00 3b 2f 2a 00 3b | 20 2a 20 41 6d 69 67 61 |...;/*.;| * Amiga|
|00000040| 20 73 70 65 63 69 66 69 | 63 20 62 69 74 73 20 69 | specifi|c bits i|
|00000050| 6e 20 74 68 65 20 62 61 | 74 74 65 72 79 2d 62 61 |n the ba|ttery-ba|
|00000060| 63 6b 65 64 75 70 20 72 | 61 6d 2e 00 3b 20 2a 00 |ckedup r|am..; *.|
|00000070| 3b 20 2a 20 42 69 74 73 | 20 30 20 74 6f 20 33 31 |; * Bits| 0 to 31|
|00000080| 2c 20 69 6e 63 6c 75 73 | 69 76 65 00 3b 20 2a 2f |, inclus|ive.; */|
|00000090| 00 00 3b 2f 2a 00 3b 20 | 2a 20 41 4d 49 47 41 5f |..;/*.; |* AMIGA_|
|000000a0| 41 4d 4e 45 53 49 41 00 | 3b 20 2a 00 3b 20 2a 20 |AMNESIA.|; *.; * |
|000000b0| 20 20 54 68 65 20 62 61 | 74 74 65 72 79 2d 62 61 | The ba|ttery-ba|
|000000c0| 63 6b 65 64 75 70 20 6d | 65 6d 6f 72 79 20 68 61 |ckedup m|emory ha|
|000000d0| 73 20 68 61 64 20 61 20 | 6d 65 6d 6f 72 79 20 6c |s had a |memory l|
|000000e0| 6f 73 73 2e 00 3b 20 2a | 20 20 20 54 68 69 73 20 |oss..; *| This |
|000000f0| 62 69 74 20 69 73 20 75 | 73 65 64 20 61 73 20 61 |bit is u|sed as a|
|00000100| 20 66 6c 61 67 20 74 68 | 61 74 20 74 68 65 20 75 | flag th|at the u|
|00000110| 73 65 72 20 73 68 6f 75 | 6c 64 20 62 65 00 3b 20 |ser shou|ld be.; |
|00000120| 2a 20 20 20 6e 6f 74 69 | 66 69 65 64 20 74 68 61 |* noti|fied tha|
|00000130| 74 20 61 6c 6c 20 62 61 | 74 74 65 72 79 2d 62 61 |t all ba|ttery-ba|
|00000140| 63 6b 65 64 20 62 69 74 | 20 68 61 76 65 20 62 65 |cked bit| have be|
|00000150| 65 6e 00 3b 20 2a 20 20 | 20 72 65 73 65 74 20 61 |en.; * | reset a|
|00000160| 6e 64 20 74 68 61 74 20 | 73 6f 6d 65 20 61 74 74 |nd that |some att|
|00000170| 65 6e 74 69 6f 6e 20 69 | 73 20 72 65 71 75 69 72 |ention i|s requir|
|00000180| 65 64 2e 20 5a 65 72 6f | 00 3b 20 2a 20 20 20 69 |ed. Zero|.; * i|
|00000190| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 61 20 |ndicates| that a |
|000001a0| 6d 65 6d 6f 72 79 20 6c | 6f 73 73 20 68 61 73 20 |memory l|oss has |
|000001b0| 6f 63 63 75 72 65 64 2e | 00 3b 20 2a 2f 00 00 23 |occured.|.; */..#|
|000001c0| 42 41 54 54 4d 45 4d 5f | 41 4d 49 47 41 5f 41 4d |BATTMEM_|AMIGA_AM|
|000001d0| 4e 45 53 49 41 5f 41 44 | 44 52 3d 30 00 23 42 41 |NESIA_AD|DR=0.#BA|
|000001e0| 54 54 4d 45 4d 5f 41 4d | 49 47 41 5f 41 4d 4e 45 |TTMEM_AM|IGA_AMNE|
|000001f0| 53 49 41 5f 4c 45 4e 3d | 31 00 00 00 3b 2f 2a 00 |SIA_LEN=|1...;/*.|
|00000200| 3b 20 2a 20 53 43 53 49 | 5f 54 49 4d 45 4f 55 54 |; * SCSI|_TIMEOUT|
|00000210| 00 3b 20 2a 00 3b 20 2a | 20 20 20 61 64 6a 75 73 |.; *.; *| adjus|
|00000220| 74 73 20 74 68 65 20 74 | 69 6d 65 6f 75 74 20 76 |ts the t|imeout v|
|00000230| 61 6c 75 65 20 66 6f 72 | 20 53 43 53 49 20 64 65 |alue for| SCSI de|
|00000240| 76 69 63 65 20 73 65 6c | 65 63 74 69 6f 6e 2e 20 |vice sel|ection. |
|00000250| 20 41 00 3b 20 2a 20 20 | 20 76 61 6c 75 65 20 6f | A.; * | value o|
|00000260| 66 20 30 20 77 69 6c 6c | 20 70 72 6f 64 75 63 65 |f 0 will| produce|
|00000270| 20 73 68 6f 72 74 20 74 | 69 6d 65 6f 75 74 73 20 | short t|imeouts |
|00000280| 28 31 32 38 20 6d 73 29 | 20 77 68 69 6c 65 20 61 |(128 ms)| while a|
|00000290| 00 3b 20 2a 20 20 20 76 | 61 6c 75 65 20 6f 66 20 |.; * v|alue of |
|000002a0| 31 20 70 72 6f 64 75 63 | 65 73 20 6c 6f 6e 67 20 |1 produc|es long |
|000002b0| 74 69 6d 65 6f 75 74 73 | 20 28 32 20 73 65 63 29 |timeouts| (2 sec)|
|000002c0| 2e 20 20 54 68 69 73 20 | 69 73 20 75 73 65 64 00 |. This |is used.|
|000002d0| 3b 20 2a 20 20 20 66 6f | 72 20 53 65 61 43 72 61 |; * fo|r SeaCra|
|000002e0| 74 65 20 64 72 69 76 65 | 73 20 28 61 6e 64 20 73 |te drive|s (and s|
|000002f0| 6f 6d 65 20 4d 61 78 74 | 6f 72 73 20 61 70 70 61 |ome Maxt|ors appa|
|00000300| 72 65 6e 74 6c 79 29 20 | 74 68 61 74 00 3b 20 2a |rently) |that.; *|
|00000310| 20 20 20 64 6f 6e 60 74 | 20 72 65 73 70 6f 6e 64 | don`t| respond|
|00000320| 20 74 6f 20 73 65 6c 65 | 63 74 69 6f 6e 20 75 6e | to sele|ction un|
|00000330| 74 69 6c 20 74 68 65 79 | 20 61 72 65 20 66 75 6c |til they| are ful|
|00000340| 6c 79 20 73 70 75 6e 20 | 75 70 00 3b 20 2a 20 20 |ly spun |up.; * |
|00000350| 20 61 6e 64 20 69 6e 74 | 69 61 6c 69 73 65 64 2e | and int|ialised.|
|00000360| 00 3b 20 2a 2f 00 00 23 | 42 41 54 54 4d 45 4d 5f |.; */..#|BATTMEM_|
|00000370| 53 43 53 49 5f 54 49 4d | 45 4f 55 54 5f 41 44 44 |SCSI_TIM|EOUT_ADD|
|00000380| 52 3d 31 00 23 42 41 54 | 54 4d 45 4d 5f 53 43 53 |R=1.#BAT|TMEM_SCS|
|00000390| 49 5f 54 49 4d 45 4f 55 | 54 5f 4c 45 4e 3d 31 00 |I_TIMEOU|T_LEN=1.|
|000003a0| 00 00 3b 2f 2a 00 3b 20 | 2a 20 53 43 53 49 5f 4c |..;/*.; |* SCSI_L|
|000003b0| 55 4e 53 00 3b 20 2a 00 | 3b 20 2a 20 20 20 44 65 |UNS.; *.|; * De|
|000003c0| 74 65 72 6d 69 6e 65 73 | 20 69 66 20 74 68 65 20 |termines| if the |
|000003d0| 63 6f 6e 74 72 6f 6c 6c | 65 72 20 61 74 74 65 6d |controll|er attem|
|000003e0| 70 74 73 20 74 6f 20 61 | 63 63 65 73 73 20 6c 6f |pts to a|ccess lo|
|000003f0| 67 69 63 61 6c 00 3b 20 | 2a 20 20 20 75 6e 69 74 |gical.; |* unit|
|00000400| 73 20 61 62 6f 76 65 20 | 30 20 61 74 20 61 6e 79 |s above |0 at any|
|00000410| 20 67 69 76 65 6e 20 53 | 43 53 49 20 61 64 64 72 | given S|CSI addr|
|00000420| 65 73 73 2e 20 20 54 68 | 69 73 20 70 72 65 76 65 |ess. Th|is preve|
|00000430| 6e 74 73 00 3b 20 2a 20 | 20 20 70 72 6f 62 6c 65 |nts.; * | proble|
|00000440| 6d 73 20 77 69 74 68 20 | 64 72 69 76 65 73 20 74 |ms with |drives t|
|00000450| 68 61 74 20 72 65 73 70 | 6f 6e 64 20 74 6f 20 41 |hat resp|ond to A|
|00000460| 4c 4c 20 4c 55 4e 20 61 | 64 64 72 65 73 73 65 73 |LL LUN a|ddresses|
|00000470| 00 3b 20 2a 20 20 20 28 | 69 6e 73 74 65 61 64 20 |.; * (|instead |
|00000480| 6f 66 20 6f 6e 6c 79 20 | 30 20 6c 69 6b 65 20 74 |of only |0 like t|
|00000490| 68 65 79 20 73 68 6f 75 | 6c 64 29 2e 20 20 44 65 |hey shou|ld). De|
|000004a0| 66 61 75 6c 74 20 76 61 | 6c 75 65 20 69 73 00 3b |fault va|lue is.;|
|000004b0| 20 2a 20 20 20 30 20 6d | 65 61 6e 69 6e 67 20 64 | * 0 m|eaning d|
|000004c0| 6f 6e 27 74 20 73 75 70 | 70 6f 72 74 20 4c 55 4e |on't sup|port LUN|
|000004d0| 73 2e 00 3b 20 2a 2f 00 | 00 23 42 41 54 54 4d 45 |s..; */.|.#BATTME|
|000004e0| 4d 5f 53 43 53 49 5f 4c | 55 4e 53 5f 41 44 44 52 |M_SCSI_L|UNS_ADDR|
|000004f0| 3d 32 00 23 42 41 54 54 | 4d 45 4d 5f 53 43 53 49 |=2.#BATT|MEM_SCSI|
|00000500| 5f 4c 55 4e 53 5f 4c 45 | 4e 3d 31 00 |_LUNS_LE|N=1. |
+--------+-------------------------+-------------------------+--------+--------+