home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / amos / ldos_demo / examples / ldos / mem-demo.amos < prev    next >
AMOS Basic Source Code Archive  |  1992-05-27  |  510 b 

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: AMOS Basic Source Code Archive (archive/amosSrc).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert AMOS Basic Source Code Archive (archive/amosSrc) magic Supported
100% file AMOS Basic source code, tested default
99% file data default
50% TrID AMOS source (v1.3) default
49% TrID AMOS source (generic) default
100% gt2 Kopftext: 'AMOS Basic V1.3 ' default (weak)
100% disktype Blank disk/medium default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 4d 4f 53 20 42 61 73 | 69 63 20 56 31 2e 33 20 |AMOS Bas|ic V1.3 |
|00000010| 00 00 01 e4 22 01 06 52 | 00 3c 20 41 4d 4f 53 20 |...."..R|.< AMOS |
|00000020| 6f 6e 6c 79 20 72 65 74 | 75 72 6e 73 20 74 68 65 |only ret|urns the|
|00000030| 20 41 56 41 49 4c 41 42 | 4c 45 20 6d 65 6d 2c 20 | AVAILAB|LE mem, |
|00000040| 6e 6f 74 20 74 68 65 20 | 6c 61 72 67 65 73 74 20 |not the |largest |
|00000050| 62 6c 6f 63 6b 2e 00 00 | 26 01 06 52 00 44 20 53 |block...|&..R.D S|
|00000060| 6f 20 69 66 20 79 6f 75 | 20 74 72 79 20 74 6f 20 |o if you| try to |
|00000070| 61 6c 6c 6f 63 61 74 65 | 20 61 6c 6c 20 66 72 65 |allocate| all fre|
|00000080| 65 20 6d 65 6d 20 28 66 | 6f 72 20 61 20 64 69 73 |e mem (f|or a dis|
|00000090| 6b 63 6f 70 79 20 66 6f | 72 20 65 78 61 6d 70 6c |kcopy fo|r exampl|
|000000a0| 65 29 00 00 22 01 06 52 | 00 3c 20 79 6f 75 27 6c |e).."..R|.< you'l|
|000000b0| 6c 20 67 65 74 20 61 6e | 20 65 72 72 6f 72 20 73 |l get an| error s|
|000000c0| 69 6e 63 65 20 74 68 65 | 72 65 20 61 72 65 20 6e |ince the|re are n|
|000000d0| 6f 20 62 6c 6f 63 6b 20 | 6c 61 72 67 65 20 65 6e |o block |large en|
|000000e0| 6f 75 67 68 2e 20 00 00 | 04 01 06 52 00 00 00 00 |ough. ..|...R....|
|000000f0| 23 01 06 52 00 3e 20 4c | 6c 61 72 67 65 73 74 20 |#..R.> L|largest |
|00000100| 46 72 65 65 28 43 48 49 | 50 7c 46 41 53 54 29 20 |Free(CHI|P|FAST) |
|00000110| 72 65 74 75 72 6e 73 20 | 74 68 65 20 76 61 6c 75 |returns |the valu|
|00000120| 65 20 79 6f 75 20 63 61 | 6e 20 61 6c 6c 6f 63 61 |e you ca|n alloca|
|00000130| 74 65 2e 20 00 00 0c 01 | 06 52 00 10 20 43 48 49 |te. ....|.R.. CHI|
|00000140| 50 3d 30 2c 20 46 41 53 | 54 3d 31 20 00 00 17 01 |P=0, FAS|T=1 ....|
|00000150| 04 76 00 26 00 24 20 20 | 20 20 20 20 20 20 20 20 |.v.&.$ | |
|00000160| 20 20 20 20 20 20 20 20 | 20 43 48 49 50 20 20 20 | | CHIP |
|00000170| 20 20 20 20 20 20 46 41 | 53 54 00 00 18 01 04 76 | FA|ST.....v|
|00000180| 00 26 00 11 54 6f 74 61 | 6c 20 61 76 61 69 6c 61 |.&..Tota|l availa|
|00000190| 62 6c 65 3a 20 00 00 64 | 21 7a 00 64 00 26 00 06 |ble: ..d|!z.d.&..|
|000001a0| 20 20 20 20 20 20 00 64 | 21 8a 00 00 26 01 04 76 | .d|!...&..v|
|000001b0| 00 26 00 11 4c 61 72 67 | 65 73 74 20 62 6c 6f 63 |.&..Larg|est bloc|
|000001c0| 6b 3a 20 20 20 00 00 64 | 00 4e 0a 01 02 f4 00 74 |k: ..d|.N.....t|
|000001d0| 00 3e 00 00 00 00 00 7c | 00 64 00 26 00 06 20 20 |.>.....||.d.&.. |
|000001e0| 20 20 20 20 00 64 00 4e | 0a 01 02 f4 00 74 00 3e | .d.N|.....t.>|
|000001f0| 00 00 00 01 00 7c 00 00 | 41 6d 42 73 00 00 |.....|..|AmBs.. |
+--------+-------------------------+-------------------------+--------+--------+