home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 5 / amigaformatcd05.iso / readerstuff / richard_thompson / cool_stars! / examples / save_background.amos < prev    next >
AMOS Basic Source Code Archive  |  1996-08-13  |  1.3 KB

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.34 Alt) default
49% TrID AMOS source (generic) default
100% gt2 Kopftext: 'AMOS Basic V134 ' default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 4d 4f 53 20 42 61 73 | 69 63 20 56 31 33 34 20 |AMOS Bas|ic V134 |
|00000010| 00 00 04 e6 26 01 06 52 | 00 44 54 68 69 73 20 65 |....&..R|.DThis e|
|00000020| 78 61 6d 70 6c 65 20 73 | 68 6f 77 73 20 68 6f 77 |xample s|hows how|
|00000030| 20 79 6f 75 20 63 61 6e | 20 75 73 65 20 43 73 74 | you can| use Cst|
|00000040| 61 72 73 20 42 63 6c 65 | 61 72 20 61 6e 64 20 43 |ars Bcle|ar and C|
|00000050| 73 74 61 72 73 20 42 64 | 72 61 77 20 74 6f 00 00 |stars Bd|raw to..|
|00000060| 26 01 06 52 00 44 6d 61 | 6b 65 20 73 74 61 72 73 |&..R.Dma|ke stars|
|00000070| 20 66 6c 79 20 74 68 72 | 6f 75 67 68 20 67 72 61 | fly thr|ough gra|
|00000080| 70 68 69 63 73 20 77 69 | 74 68 6f 75 74 20 63 6f |phics wi|thout co|
|00000090| 72 72 75 70 74 69 6e 67 | 20 74 68 65 6d 2e 20 20 |rrupting| them. |
|000000a0| 48 65 72 65 2c 20 49 27 | 76 65 00 00 27 01 06 52 |Here, I'|ve..'..R|
|000000b0| 00 46 75 73 65 64 20 73 | 6f 6d 65 20 63 69 72 63 |.Fused s|ome circ|
|000000c0| 6c 65 73 20 61 73 20 74 | 68 65 20 67 72 61 70 68 |les as t|he graph|
|000000d0| 69 63 20 62 75 74 20 72 | 65 6d 65 6d 62 65 72 20 |ic but r|emember |
|000000e0| 74 68 61 74 20 74 68 65 | 20 67 72 61 70 68 69 63 |that the| graphic|
|000000f0| 20 63 61 6e 20 62 65 20 | 00 00 24 01 06 52 00 40 | can be |..$..R.@|
|00000100| 2d 2a 41 4e 59 54 48 49 | 4e 47 2a 2d 2c 20 61 20 |-*ANYTHI|NG*-, a |
|00000110| 6c 6f 67 6f 2c 20 73 63 | 72 6f 6c 6c 74 65 78 74 |logo, sc|rolltext|
|00000120| 2c 20 68 69 67 68 20 73 | 63 6f 72 65 20 74 61 62 |, high s|core tab|
|00000130| 6c 65 20 6f 72 20 77 68 | 61 74 65 76 65 72 21 20 |le or wh|atever! |
|00000140| 00 00 04 01 06 52 00 00 | 00 00 25 01 06 52 00 42 |.....R..|..%..R.B|
|00000150| 54 68 69 73 20 73 74 61 | 72 66 69 65 6c 64 20 69 |This sta|rfield i|
|00000160| 73 20 64 72 61 77 6e 20 | 35 30 20 74 69 6d 65 73 |s drawn |50 times|
|00000170| 2f 73 65 63 6f 6e 64 2c | 20 65 76 65 6e 20 69 66 |/second,| even if|
|00000180| 20 75 73 69 6e 67 20 61 | 20 4d 43 36 38 30 30 30 | using a| MC68000|
|00000190| 21 20 00 00 04 01 06 52 | 00 00 00 00 26 01 09 ea |! .....R|....&...|
|000001a0| 00 3e 00 00 00 00 00 5c | 00 3e 00 00 01 40 00 5c |.>.....\|.>...@.\|
|000001b0| 00 3e 00 00 00 c8 00 5c | 00 3e 00 00 00 10 00 5c |.>.....\|.>.....\|
|000001c0| 0c 90 00 54 0d 34 00 54 | 14 46 00 54 0b b8 00 3e |...T.4.T|.F.T...>|
|000001d0| 00 00 00 00 00 54 0c fc | 00 3e 00 00 00 00 00 5c |.....T..|.>.....\|
|000001e0| 00 36 00 00 0f ff 00 00 | 03 01 1d e0 00 00 05 01 |.6......|........|
|000001f0| 06 52 00 02 20 20 00 00 | 0d 01 06 52 00 12 43 61 |.R.. ..|...R..Ca|
|00000200| 6c 63 75 6c 61 74 65 20 | 70 61 6c 65 74 74 65 21 |lculate |palette!|
|00000210| 00 00 04 01 06 52 00 00 | 00 00 10 01 02 3c 00 66 |.....R..|.....<.f|
|00000220| 00 06 00 00 02 00 69 00 | ff a2 00 3e 00 00 00 02 |......i.|...>....|
|00000230| 00 94 00 3e 00 00 00 0f | 00 00 1e 04 0d 1c 00 06 |...>....|........|
|00000240| 00 00 02 00 69 00 00 5c | 00 3e 00 00 01 00 ff e2 |....i..\|.>......|
|00000250| 00 06 00 00 02 00 69 00 | ff c0 00 3e 00 00 00 10 |......i.|...>....|
|00000260| ff e2 00 06 00 00 02 00 | 69 00 ff c0 00 06 00 00 |........|i.......|
|00000270| 02 00 69 00 00 00 07 01 | 02 46 00 06 00 00 02 00 |..i.....|.F......|
|00000280| 69 00 00 00 04 01 06 52 | 00 00 00 00 0d 01 06 52 |i......R|.......R|
|00000290| 00 12 44 72 61 77 20 73 | 6f 6d 65 20 63 69 72 63 |..Draw s|ome circ|
|000002a0| 6c 65 73 21 00 00 04 01 | 06 52 00 00 00 00 10 01 |les!....|.R......|
|000002b0| 02 3c 00 5e 00 06 00 00 | 02 00 69 00 ff a2 00 3e |.<.^....|..i....>|
|000002c0| 00 00 00 01 00 94 00 3e | 00 00 00 32 00 00 0b 04 |.......>|...2....|
|000002d0| 10 44 00 06 00 00 02 00 | 69 00 ff d4 00 3e 00 00 |.D......|i....>..|
|000002e0| 00 10 00 00 0f 04 0e 9a | 00 3e 00 00 00 a0 00 5c |........|.>.....\|
|000002f0| 00 3e 00 00 00 64 00 5c | 00 06 00 00 02 00 69 00 |.>...d.\|......i.|
|00000300| 00 00 07 01 02 46 00 06 | 00 00 02 00 69 00 00 00 |.....F..|....i...|
|00000310| 04 01 06 52 00 00 00 00 | 08 01 01 2c 00 54 0e 2c |...R....|...,.T.,|
|00000320| 00 3e 00 00 00 00 00 00 | 04 01 06 52 00 00 00 00 |.>......|...R....|
|00000330| 1f 01 00 4e 11 02 00 1c | 00 3e 00 00 00 c8 00 5c |...N....|.>.....\|
|00000340| 12 48 00 54 06 4a 00 24 | 20 52 65 73 65 72 76 65 |.H.T.J.$| Reserve|
|00000350| 20 32 30 30 20 73 69 6e | 67 6c 65 20 63 6f 6c 6f | 200 sin|gle colo|
|00000360| 75 72 65 64 20 73 74 61 | 72 73 21 20 00 00 04 01 |ured sta|rs! ....|
|00000370| 06 52 00 00 00 00 17 01 | 06 52 00 26 53 65 74 20 |.R......|.R.&Set |
|00000380| 75 70 20 69 6e 69 74 69 | 61 6c 20 70 6f 73 69 74 |up initi|al posit|
|00000390| 69 6f 6e 73 20 6f 66 20 | 65 61 63 68 20 73 74 61 |ions of |each sta|
|000003a0| 72 2e 00 00 04 01 06 52 | 00 00 00 00 10 01 02 3c |r......R|.......<|
|000003b0| 00 cc 00 06 00 00 02 00 | 69 00 ff a2 00 3e 00 00 |........|i....>..|
|000003c0| 00 01 00 94 00 3e 00 00 | 00 c8 00 00 04 04 02 50 |.....>..|.......P|
|000003d0| 00 9e 00 00 2f 07 00 4e | 11 05 00 3c 00 06 00 00 |..../..N|...<....|
|000003e0| 02 00 69 00 00 5c 06 86 | 00 74 00 3e 00 00 01 3f |..i..\..|.t.>...?|
|000003f0| 00 7c 00 5c 06 86 00 74 | 00 3e 00 00 00 c7 00 7c |.|.\...t|.>.....||
|00000400| 00 5c ff ca 00 3e 00 00 | 00 05 ff c0 06 86 00 74 |.\...>..|.......t|
|00000410| 00 3e 00 00 00 0a 00 7c | 00 5c ff ca 00 3e 00 00 |.>.....||.\...>..|
|00000420| 00 05 ff c0 06 86 00 74 | 00 3e 00 00 00 0a 00 7c |.......t|.>.....||
|00000430| 00 00 1e 04 02 5c 00 4e | 11 01 01 74 00 74 00 06 |.....\.N|...t.t..|
|00000440| 00 00 02 00 69 00 00 7c | ff 66 00 3e 00 00 00 00 |....i..||.f.>....|
|00000450| ff 4c 00 4e 11 01 01 88 | 00 74 00 06 00 00 02 00 |.L.N....|.t......|
|00000460| 69 00 00 7c ff 66 00 3e | 00 00 00 00 00 00 07 01 |i..|.f.>|........|
|00000470| 02 46 00 06 00 00 02 00 | 69 00 00 00 04 01 06 52 |.F......|i......R|
|00000480| 00 00 00 00 1d 01 06 52 | 00 32 41 20 73 69 6d 70 |.......R|.2A simp|
|00000490| 6c 65 20 6c 6f 6f 70 20 | 74 6f 20 63 6c 65 61 72 |le loop |to clear|
|000004a0| 2c 20 64 72 61 77 20 61 | 6e 64 20 75 70 64 61 74 |, draw a|nd updat|
|000004b0| 65 20 74 68 65 20 73 74 | 61 72 73 21 00 00 04 01 |e the st|ars!....|
|000004c0| 06 52 00 00 00 00 04 01 | 02 50 00 2c 00 00 0d 04 |.R......|.P.,....|
|000004d0| 00 4e 11 00 02 0e 00 54 | 00 4e 11 00 02 22 00 54 |.N.....T|.N...".T|
|000004e0| 00 4e 11 00 02 48 00 00 | 05 04 0a e2 00 54 0c ca |.N...H..|.....T..|
|000004f0| 00 00 04 01 02 5c 1e 32 | 00 00 41 6d 42 73 00 00 |.....\.2|..AmBs..|
+--------+-------------------------+-------------------------+--------+--------+