Home » Archimedes archive » Micro User » MU 1992-05.adf » PD » Fractal/!FracPal/!Help
Fractal/!FracPal/!Help
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Micro User » MU 1992-05.adf » PD |
Filename: | Fractal/!FracPal/!Help |
Read OK: | ✔ |
File size: | 2321 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
________________________________________________________________________ / \ | !FracPal v1.01: !Fractal Palette Editor | | February 1992 | | by Mike Curnow | \________________________________________________________________________/ Introduction ============ !FracPal is the palette editor for !Fractal. However you may find it of use within your own programs. In 256 colour modes the palette is essentially limited to 256 fixed colours. !FracPal allows these colours to be re-ordered or to be used selectively, so that fractals such as Mandelbrots or landscapes can be displayed more effectively. Instead of treating the 256 colours as fixed, !Fractal uses the colour values 0-255 as logical values, with 0 meaning no value (black or low) ranging up to 255 (white or high). Each of these 256 logical colour numbers can be associated with one of the 256 physical colours available. By resequencing the colours more natural shade progressions can be achieved. Another possibility is to only use a subset of the colours, say just the 16 shades of pure grey, or use green and blue for landscape simulation. Since the colour mapping is performed seperately from the image creation, it is very easy to manipulate the palette to produce different effects without having to re-create the image or modify the program. Running !FracPal ================ Before loading !FracPal by double clicking it, you should enter a 256 colour mode (eg. 15 or 21) so that the colours are shown correctly. Double click on the icon bar icon to open 2 windows: Edit : a window showing the palette being editted. FracPal : a control panel The Edit window shows the name of the palette file being displayed with the current colour being highlighted. You can work on 1, 4 or 8 colours at a time by selecting the Group value in the control window. This allows groups of colours to be quickly moved around. To move the hilight within a window, press Select over a colour square. Menu ---- The icon bar menu allows you to save the palette and to quit the program. The main menu is available from any of the FracPal windows and is briefly described below. Full instructions are given later. Source->Edit : Copies the source palette to the edit palette. Show Source : Opens a window showing the source palette. Show Palette : Opens the palette display and edit window. Update Fractal: This is shaded if !Fractal is not loaded. Click here to send the edit palette directly to !Fractal which will refresh its display. The submenu selection allows you to turn automatic update mode on and off. When on, when ever you edit the palette, !Fractal will also update its display. This works best with an ARM3 machine. Editting -------- Editing is performed by pressing Adjust over the target square(s) in the Edit window. The highlighted colours in the Edit (or Source) window are then moved to this location. There are 4 modes of editing, selectable from the control window, which determine what happens to the rest of the palette:- Move: The hilighted colours are moved to the new location and the other colours are moved up or down to make room. This mode is used to re-sequence colours. Swap: The colours in the two locations are exchanged, leaving all other colours unchanged. Copy: The colours overwrite the target location. This mode is used to create palettes with a subset of colours. Source: The colours highlighted in the Source window are copied to the pointer, overwriting the existing colours. This mode allows you to use the Source palette as a reference for the new palette. Palette Editing --------------- Individual colours can be editted from the Palette window. The window title shows the colour number being displayed, that is the logical colour number. To select a new colour press Select over a square in the Source or Edit windows. The R/G/B/W bars show the amount of Red, Green, Blue and White tint that compose the selected colour - each has a value from 0 to 3. The colour value shown below is the physical colour number - note that the bit settings are in a strange order. The palette can be editted by clicking Select (on) or Adjust (off) over the colour bars. If the colour is from the Edit window, then the colour value of that square will be changed. To just find the physical colour number of a palette setting, select a colour from the Source window. Note that in 4 or 8 colour Group modes, only the colour of the first square is shown and updated. Other Options ------------- The palette in the Edit window can be reset to that in the Source window by selecting Source->Edit from the menu. A physical colour number can be located in the Edit palette by entering its number (0-255) in the control window and the pressing Select on the Find icon. If the colour is found the highlight will be moved to that square, otherwise a beep will be issued. To find the next occurence press Adjust rather than Select. This option is useful in determining whether you have omitted or duplicated a colour. Saving And Loading Palette Files ================================ The current Edit palette can be saved in the standard RiscOS way from the menu. A palette file can be reloaded as a Source palette by double clicking on it or by dragging it onto any of !FracPal's windows. A palette can be loaded directly into Edit mode by dragging it into the Edit window. Alternatively use the Source->Edit menu option. If you are running !Fractal you can directly save the palette into !Fractal by selecting Update Fractal from the menu. In Auto Update mode !Fractal's palette is updated in line with changes to the Edit palette. Double clicking on a palette file will also load it automatically into !Fractal. The palette files created by !FracPal are in a different format to those created by the !Palette utility (which only contain 16 colours) and use a different filetype - 703 (FracPal). Notice that the icon used has the colours in the order black to white. The palette files are in the format used by the ColourTrans module. Supplied Palettes ----------------- In the Palettes directory are some example palettes as used within !Fractal, plus others. In the Palgen directory there is a collection of palettes made by sequencing the 4 main colour components in different orders. They were created by the program Palgen which is also supplied. Using The Palettes In Your Own Programs ======================================= To use the Palette files in your own 256-colour programs you need to create your image as a sprite file. The easiest way to do this is to draw the image on the screen and then grab it as a sprite, eg:- DIM sprite% 170000:REM room for a mode 15 sprite !sprite%=170000:sprite%!8=16 SYS"OS_SpriteOp",&109,sprite%:REM initialise area SYS"OS_SpriteOp",&110,sprite%,"name",0,0,0,1279,1023:REM grab all screen Alternatively you can draw directly to a sprite by using OS_SpriteOp 60 which switches output to a sprite and back again to the screen. To display the sprite with the palette use OS_SpriteOp 52, eg:- SYS"OS_SpriteOp",&134,sprite%,"name",x,y,0,0,palette% where palette% is a pointer to the palette. Palette files are 256 bytes long so you would use DIM palette% 256 to reserve storage for a palette, and then load the palette into it. Note that displaying a sprite with a palette takes slightly longer than normal. To make the palette permanent requires taking each byte of the sprite and using the value as an index into the palette. Take the palette value and store it back into the sprite. This is best performed in assembler since a Mode 15 sprite has 160k-bytes to be processed in this manner, which would take some time in BASIC. History 1.00 Jan 1992 Initial version. 1.01 Feb 1992 Added dynamic !Fractal link Copywright Notice ================= The copywright of this material belongs to Mike Curnow. This software is not "Public Domain". However permission is granted for non-commercial use of this software and associated material as long as NO CHARGES ARE LEVIED except to cover costs. Copies of this software may be freely distributed amongst individuals on a no-charge basis. Public Domain and commercial organisations are kindly asked to contact the author prior to circulation and use of this program. Archimedes Fractal Group (AFG) ============================== This software is part of the Archimedes Fractal Group collection. If you have obtained this software outside of the AFG and would like to find out more about fractal programming on the Archimedes, contact me (the AFG administrator) at the address below. Send a SAE and a disk to get a copy of the latest newsletter and programs disk. Mike Curnow, 30 Bowen Drive, West Dulwich, London SE21 8PN SAE with all correspondance please.
00000000 20 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f | ______________| 00000010 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f |________________| * 00000040 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 0a 20 2f 20 20 20 |__________. / | 00000050 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000090 20 20 20 20 20 5c 0a 7c 20 20 20 20 20 20 20 20 | \.| | 000000a0 20 20 20 20 20 20 20 20 21 46 72 61 63 50 61 6c | !FracPal| 000000b0 20 76 31 2e 30 31 3a 20 21 46 72 61 63 74 61 6c | v1.01: !Fractal| 000000c0 20 50 61 6c 65 74 74 65 20 45 64 69 74 6f 72 20 | Palette Editor | 000000d0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000000e0 20 20 7c 0a 7c 20 20 20 20 20 20 20 20 20 20 20 | |.| | 000000f0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000100 20 20 46 65 62 72 75 61 72 79 20 31 39 39 32 20 | February 1992 | 00000110 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000120 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 7c | || 00000130 0a 7c 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |.| | 00000140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 | b| 00000150 79 20 4d 69 6b 65 20 43 75 72 6e 6f 77 20 20 20 |y Mike Curnow | 00000160 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000170 20 20 20 20 20 20 20 20 20 20 20 20 7c 0a 20 5c | |. \| 00000180 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f |________________| * 000001c0 5f 5f 5f 5f 5f 5f 5f 5f 2f 20 0a 0a 49 6e 74 72 |________/ ..Intr| 000001d0 6f 64 75 63 74 69 6f 6e 0a 3d 3d 3d 3d 3d 3d 3d |oduction.=======| 000001e0 3d 3d 3d 3d 3d 0a 21 46 72 61 63 50 61 6c 20 69 |=====.!FracPal i| 000001f0 73 20 74 68 65 20 70 61 6c 65 74 74 65 20 65 64 |s the palette ed| 00000200 69 74 6f 72 20 66 6f 72 20 21 46 72 61 63 74 61 |itor for !Fracta| 00000210 6c 2e 20 48 6f 77 65 76 65 72 20 79 6f 75 20 6d |l. However you m| 00000220 61 79 20 66 69 6e 64 20 69 74 20 6f 66 20 75 73 |ay find it of us| 00000230 65 0a 77 69 74 68 69 6e 20 79 6f 75 72 20 6f 77 |e.within your ow| 00000240 6e 20 70 72 6f 67 72 61 6d 73 2e 20 49 6e 20 32 |n programs. In 2| 00000250 35 36 20 63 6f 6c 6f 75 72 20 6d 6f 64 65 73 20 |56 colour modes | 00000260 74 68 65 20 70 61 6c 65 74 74 65 20 69 73 20 65 |the palette is e| 00000270 73 73 65 6e 74 69 61 6c 6c 79 0a 6c 69 6d 69 74 |ssentially.limit| 00000280 65 64 20 74 6f 20 32 35 36 20 66 69 78 65 64 20 |ed to 256 fixed | 00000290 63 6f 6c 6f 75 72 73 2e 20 21 46 72 61 63 50 61 |colours. !FracPa| 000002a0 6c 20 61 6c 6c 6f 77 73 20 74 68 65 73 65 20 63 |l allows these c| 000002b0 6f 6c 6f 75 72 73 20 74 6f 20 62 65 20 72 65 2d |olours to be re-| 000002c0 6f 72 64 65 72 65 64 0a 6f 72 20 74 6f 20 62 65 |ordered.or to be| 000002d0 20 75 73 65 64 20 73 65 6c 65 63 74 69 76 65 6c | used selectivel| 000002e0 79 2c 20 73 6f 20 74 68 61 74 20 66 72 61 63 74 |y, so that fract| 000002f0 61 6c 73 20 73 75 63 68 20 61 73 20 4d 61 6e 64 |als such as Mand| 00000300 65 6c 62 72 6f 74 73 20 6f 72 0a 6c 61 6e 64 73 |elbrots or.lands| 00000310 63 61 70 65 73 20 63 61 6e 20 62 65 20 64 69 73 |capes can be dis| 00000320 70 6c 61 79 65 64 20 6d 6f 72 65 20 65 66 66 65 |played more effe| 00000330 63 74 69 76 65 6c 79 2e 0a 0a 49 6e 73 74 65 61 |ctively...Instea| 00000340 64 20 6f 66 20 74 72 65 61 74 69 6e 67 20 74 68 |d of treating th| 00000350 65 20 32 35 36 20 63 6f 6c 6f 75 72 73 20 61 73 |e 256 colours as| 00000360 20 66 69 78 65 64 2c 20 21 46 72 61 63 74 61 6c | fixed, !Fractal| 00000370 20 75 73 65 73 20 74 68 65 20 63 6f 6c 6f 75 72 | uses the colour| 00000380 0a 76 61 6c 75 65 73 20 30 2d 32 35 35 20 61 73 |.values 0-255 as| 00000390 20 6c 6f 67 69 63 61 6c 20 76 61 6c 75 65 73 2c | logical values,| 000003a0 20 77 69 74 68 20 30 20 6d 65 61 6e 69 6e 67 20 | with 0 meaning | 000003b0 6e 6f 20 76 61 6c 75 65 20 28 62 6c 61 63 6b 20 |no value (black | 000003c0 6f 72 20 6c 6f 77 29 0a 72 61 6e 67 69 6e 67 20 |or low).ranging | 000003d0 75 70 20 74 6f 20 32 35 35 20 28 77 68 69 74 65 |up to 255 (white| 000003e0 20 6f 72 20 68 69 67 68 29 2e 20 45 61 63 68 20 | or high). Each | 000003f0 6f 66 20 74 68 65 73 65 20 32 35 36 20 6c 6f 67 |of these 256 log| 00000400 69 63 61 6c 20 63 6f 6c 6f 75 72 20 6e 75 6d 62 |ical colour numb| 00000410 65 72 73 0a 63 61 6e 20 62 65 20 61 73 73 6f 63 |ers.can be assoc| 00000420 69 61 74 65 64 20 77 69 74 68 20 6f 6e 65 20 6f |iated with one o| 00000430 66 20 74 68 65 20 32 35 36 20 70 68 79 73 69 63 |f the 256 physic| 00000440 61 6c 20 63 6f 6c 6f 75 72 73 20 61 76 61 69 6c |al colours avail| 00000450 61 62 6c 65 2e 20 42 79 0a 72 65 73 65 71 75 65 |able. By.reseque| 00000460 6e 63 69 6e 67 20 74 68 65 20 63 6f 6c 6f 75 72 |ncing the colour| 00000470 73 20 6d 6f 72 65 20 6e 61 74 75 72 61 6c 20 73 |s more natural s| 00000480 68 61 64 65 20 70 72 6f 67 72 65 73 73 69 6f 6e |hade progression| 00000490 73 20 63 61 6e 20 62 65 20 61 63 68 69 65 76 65 |s can be achieve| 000004a0 64 2e 0a 41 6e 6f 74 68 65 72 20 70 6f 73 73 69 |d..Another possi| 000004b0 62 69 6c 69 74 79 20 69 73 20 74 6f 20 6f 6e 6c |bility is to onl| 000004c0 79 20 75 73 65 20 61 20 73 75 62 73 65 74 20 6f |y use a subset o| 000004d0 66 20 74 68 65 20 63 6f 6c 6f 75 72 73 2c 20 73 |f the colours, s| 000004e0 61 79 20 6a 75 73 74 20 74 68 65 20 31 36 0a 73 |ay just the 16.s| 000004f0 68 61 64 65 73 20 6f 66 20 70 75 72 65 20 67 72 |hades of pure gr| 00000500 65 79 2c 20 6f 72 20 75 73 65 20 67 72 65 65 6e |ey, or use green| 00000510 20 61 6e 64 20 62 6c 75 65 20 66 6f 72 20 6c 61 | and blue for la| 00000520 6e 64 73 63 61 70 65 20 73 69 6d 75 6c 61 74 69 |ndscape simulati| 00000530 6f 6e 2e 0a 0a 53 69 6e 63 65 20 74 68 65 20 63 |on...Since the c| 00000540 6f 6c 6f 75 72 20 6d 61 70 70 69 6e 67 20 69 73 |olour mapping is| 00000550 20 70 65 72 66 6f 72 6d 65 64 20 73 65 70 65 72 | performed seper| 00000560 61 74 65 6c 79 20 66 72 6f 6d 20 74 68 65 20 69 |ately from the i| 00000570 6d 61 67 65 20 63 72 65 61 74 69 6f 6e 2c 20 69 |mage creation, i| 00000580 74 0a 69 73 20 76 65 72 79 20 65 61 73 79 20 74 |t.is very easy t| 00000590 6f 20 6d 61 6e 69 70 75 6c 61 74 65 20 74 68 65 |o manipulate the| 000005a0 20 70 61 6c 65 74 74 65 20 74 6f 20 70 72 6f 64 | palette to prod| 000005b0 75 63 65 20 64 69 66 66 65 72 65 6e 74 20 65 66 |uce different ef| 000005c0 66 65 63 74 73 20 77 69 74 68 6f 75 74 0a 68 61 |fects without.ha| 000005d0 76 69 6e 67 20 74 6f 20 72 65 2d 63 72 65 61 74 |ving to re-creat| 000005e0 65 20 74 68 65 20 69 6d 61 67 65 20 6f 72 20 6d |e the image or m| 000005f0 6f 64 69 66 79 20 74 68 65 20 70 72 6f 67 72 61 |odify the progra| 00000600 6d 2e 0a 0a 52 75 6e 6e 69 6e 67 20 21 46 72 61 |m...Running !Fra| 00000610 63 50 61 6c 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |cPal.===========| 00000620 3d 3d 3d 3d 3d 0a 42 65 66 6f 72 65 20 6c 6f 61 |=====.Before loa| 00000630 64 69 6e 67 20 21 46 72 61 63 50 61 6c 20 62 79 |ding !FracPal by| 00000640 20 64 6f 75 62 6c 65 20 63 6c 69 63 6b 69 6e 67 | double clicking| 00000650 20 69 74 2c 20 79 6f 75 20 73 68 6f 75 6c 64 20 | it, you should | 00000660 65 6e 74 65 72 20 61 20 32 35 36 20 63 6f 6c 6f |enter a 256 colo| 00000670 75 72 0a 6d 6f 64 65 20 28 65 67 2e 20 31 35 20 |ur.mode (eg. 15 | 00000680 6f 72 20 32 31 29 20 73 6f 20 74 68 61 74 20 74 |or 21) so that t| 00000690 68 65 20 63 6f 6c 6f 75 72 73 20 61 72 65 20 73 |he colours are s| 000006a0 68 6f 77 6e 20 63 6f 72 72 65 63 74 6c 79 2e 20 |hown correctly. | 000006b0 44 6f 75 62 6c 65 20 63 6c 69 63 6b 20 6f 6e 0a |Double click on.| 000006c0 74 68 65 20 69 63 6f 6e 20 62 61 72 20 69 63 6f |the icon bar ico| 000006d0 6e 20 74 6f 20 6f 70 65 6e 20 32 20 77 69 6e 64 |n to open 2 wind| 000006e0 6f 77 73 3a 0a 20 20 45 64 69 74 20 20 20 20 3a |ows:. Edit :| 000006f0 20 61 20 77 69 6e 64 6f 77 20 73 68 6f 77 69 6e | a window showin| 00000700 67 20 74 68 65 20 70 61 6c 65 74 74 65 20 62 65 |g the palette be| 00000710 69 6e 67 20 65 64 69 74 74 65 64 2e 0a 20 20 46 |ing editted.. F| 00000720 72 61 63 50 61 6c 20 3a 20 61 20 63 6f 6e 74 72 |racPal : a contr| 00000730 6f 6c 20 70 61 6e 65 6c 0a 54 68 65 20 45 64 69 |ol panel.The Edi| 00000740 74 20 77 69 6e 64 6f 77 20 73 68 6f 77 73 20 74 |t window shows t| 00000750 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 70 |he name of the p| 00000760 61 6c 65 74 74 65 20 66 69 6c 65 20 62 65 69 6e |alette file bein| 00000770 67 20 64 69 73 70 6c 61 79 65 64 20 77 69 74 68 |g displayed with| 00000780 20 74 68 65 0a 63 75 72 72 65 6e 74 20 63 6f 6c | the.current col| 00000790 6f 75 72 20 62 65 69 6e 67 20 68 69 67 68 6c 69 |our being highli| 000007a0 67 68 74 65 64 2e 20 59 6f 75 20 63 61 6e 20 77 |ghted. You can w| 000007b0 6f 72 6b 20 6f 6e 20 31 2c 20 34 20 6f 72 20 38 |ork on 1, 4 or 8| 000007c0 20 63 6f 6c 6f 75 72 73 20 61 74 20 61 0a 74 69 | colours at a.ti| 000007d0 6d 65 20 62 79 20 73 65 6c 65 63 74 69 6e 67 20 |me by selecting | 000007e0 74 68 65 20 47 72 6f 75 70 20 76 61 6c 75 65 20 |the Group value | 000007f0 69 6e 20 74 68 65 20 63 6f 6e 74 72 6f 6c 20 77 |in the control w| 00000800 69 6e 64 6f 77 2e 20 54 68 69 73 20 61 6c 6c 6f |indow. This allo| 00000810 77 73 20 67 72 6f 75 70 73 0a 6f 66 20 63 6f 6c |ws groups.of col| 00000820 6f 75 72 73 20 74 6f 20 62 65 20 71 75 69 63 6b |ours to be quick| 00000830 6c 79 20 6d 6f 76 65 64 20 61 72 6f 75 6e 64 2e |ly moved around.| 00000840 20 54 6f 20 6d 6f 76 65 20 74 68 65 20 68 69 6c | To move the hil| 00000850 69 67 68 74 20 77 69 74 68 69 6e 20 61 20 77 69 |ight within a wi| 00000860 6e 64 6f 77 2c 0a 70 72 65 73 73 20 53 65 6c 65 |ndow,.press Sele| 00000870 63 74 20 6f 76 65 72 20 61 20 63 6f 6c 6f 75 72 |ct over a colour| 00000880 20 73 71 75 61 72 65 2e 0a 0a 4d 65 6e 75 0a 2d | square...Menu.-| 00000890 2d 2d 2d 0a 54 68 65 20 69 63 6f 6e 20 62 61 72 |---.The icon bar| 000008a0 20 6d 65 6e 75 20 61 6c 6c 6f 77 73 20 79 6f 75 | menu allows you| 000008b0 20 74 6f 20 73 61 76 65 20 74 68 65 20 70 61 6c | to save the pal| 000008c0 65 74 74 65 20 61 6e 64 20 74 6f 20 71 75 69 74 |ette and to quit| 000008d0 20 74 68 65 20 70 72 6f 67 72 61 6d 2e 0a 54 68 | the program..Th| 000008e0 65 20 6d 61 69 6e 20 6d 65 6e 75 20 69 73 20 61 |e main menu is a| 000008f0 76 61 69 6c 61 62 6c 65 20 66 72 6f 6d 20 61 6e |vailable from an| 00000900 79 20 6f 66 20 74 68 65 20 46 72 61 63 50 61 6c |y of the FracPal| 00000910 20 77 69 6e 64 6f 77 73 20 61 6e 64 20 69 73 20 | windows and is | 00000920 62 72 69 65 66 6c 79 0a 64 65 73 63 72 69 62 65 |briefly.describe| 00000930 64 20 62 65 6c 6f 77 2e 20 46 75 6c 6c 20 69 6e |d below. Full in| 00000940 73 74 72 75 63 74 69 6f 6e 73 20 61 72 65 20 67 |structions are g| 00000950 69 76 65 6e 20 6c 61 74 65 72 2e 0a 0a 53 6f 75 |iven later...Sou| 00000960 72 63 65 2d 3e 45 64 69 74 20 20 3a 20 43 6f 70 |rce->Edit : Cop| 00000970 69 65 73 20 74 68 65 20 73 6f 75 72 63 65 20 70 |ies the source p| 00000980 61 6c 65 74 74 65 20 74 6f 20 74 68 65 20 65 64 |alette to the ed| 00000990 69 74 20 70 61 6c 65 74 74 65 2e 0a 53 68 6f 77 |it palette..Show| 000009a0 20 53 6f 75 72 63 65 20 20 20 3a 20 4f 70 65 6e | Source : Open| 000009b0 73 20 61 20 77 69 6e 64 6f 77 20 73 68 6f 77 69 |s a window showi| 000009c0 6e 67 20 74 68 65 20 73 6f 75 72 63 65 20 70 61 |ng the source pa| 000009d0 6c 65 74 74 65 2e 0a 53 68 6f 77 20 50 61 6c 65 |lette..Show Pale| 000009e0 74 74 65 20 20 3a 20 4f 70 65 6e 73 20 74 68 65 |tte : Opens the| 000009f0 20 70 61 6c 65 74 74 65 20 64 69 73 70 6c 61 79 | palette display| 00000a00 20 61 6e 64 20 65 64 69 74 20 77 69 6e 64 6f 77 | and edit window| 00000a10 2e 0a 55 70 64 61 74 65 20 46 72 61 63 74 61 6c |..Update Fractal| 00000a20 3a 20 54 68 69 73 20 69 73 20 73 68 61 64 65 64 |: This is shaded| 00000a30 20 69 66 20 21 46 72 61 63 74 61 6c 20 69 73 20 | if !Fractal is | 00000a40 6e 6f 74 20 6c 6f 61 64 65 64 2e 20 43 6c 69 63 |not loaded. Clic| 00000a50 6b 20 68 65 72 65 20 74 6f 20 73 65 6e 64 0a 74 |k here to send.t| 00000a60 68 65 20 65 64 69 74 20 70 61 6c 65 74 74 65 20 |he edit palette | 00000a70 64 69 72 65 63 74 6c 79 20 74 6f 20 21 46 72 61 |directly to !Fra| 00000a80 63 74 61 6c 20 77 68 69 63 68 20 77 69 6c 6c 20 |ctal which will | 00000a90 72 65 66 72 65 73 68 20 69 74 73 20 64 69 73 70 |refresh its disp| 00000aa0 6c 61 79 2e 20 54 68 65 0a 73 75 62 6d 65 6e 75 |lay. The.submenu| 00000ab0 20 73 65 6c 65 63 74 69 6f 6e 20 61 6c 6c 6f 77 | selection allow| 00000ac0 73 20 79 6f 75 20 74 6f 20 74 75 72 6e 20 61 75 |s you to turn au| 00000ad0 74 6f 6d 61 74 69 63 20 75 70 64 61 74 65 20 6d |tomatic update m| 00000ae0 6f 64 65 20 6f 6e 20 61 6e 64 20 6f 66 66 2e 20 |ode on and off. | 00000af0 57 68 65 6e 0a 6f 6e 2c 20 77 68 65 6e 20 65 76 |When.on, when ev| 00000b00 65 72 20 79 6f 75 20 65 64 69 74 20 74 68 65 20 |er you edit the | 00000b10 70 61 6c 65 74 74 65 2c 20 21 46 72 61 63 74 61 |palette, !Fracta| 00000b20 6c 20 77 69 6c 6c 20 61 6c 73 6f 20 75 70 64 61 |l will also upda| 00000b30 74 65 20 69 74 73 20 64 69 73 70 6c 61 79 2e 0a |te its display..| 00000b40 54 68 69 73 20 77 6f 72 6b 73 20 62 65 73 74 20 |This works best | 00000b50 77 69 74 68 20 61 6e 20 41 52 4d 33 20 6d 61 63 |with an ARM3 mac| 00000b60 68 69 6e 65 2e 0a 0a 45 64 69 74 74 69 6e 67 0a |hine...Editting.| 00000b70 2d 2d 2d 2d 2d 2d 2d 2d 0a 45 64 69 74 69 6e 67 |--------.Editing| 00000b80 20 69 73 20 70 65 72 66 6f 72 6d 65 64 20 62 79 | is performed by| 00000b90 20 70 72 65 73 73 69 6e 67 20 41 64 6a 75 73 74 | pressing Adjust| 00000ba0 20 6f 76 65 72 20 74 68 65 20 74 61 72 67 65 74 | over the target| 00000bb0 20 73 71 75 61 72 65 28 73 29 20 69 6e 20 74 68 | square(s) in th| 00000bc0 65 0a 45 64 69 74 20 77 69 6e 64 6f 77 2e 20 54 |e.Edit window. T| 00000bd0 68 65 20 68 69 67 68 6c 69 67 68 74 65 64 20 63 |he highlighted c| 00000be0 6f 6c 6f 75 72 73 20 69 6e 20 74 68 65 20 45 64 |olours in the Ed| 00000bf0 69 74 20 28 6f 72 20 53 6f 75 72 63 65 29 20 77 |it (or Source) w| 00000c00 69 6e 64 6f 77 20 61 72 65 20 74 68 65 6e 0a 6d |indow are then.m| 00000c10 6f 76 65 64 20 74 6f 20 74 68 69 73 20 6c 6f 63 |oved to this loc| 00000c20 61 74 69 6f 6e 2e 20 54 68 65 72 65 20 61 72 65 |ation. There are| 00000c30 20 34 20 6d 6f 64 65 73 20 6f 66 20 65 64 69 74 | 4 modes of edit| 00000c40 69 6e 67 2c 20 73 65 6c 65 63 74 61 62 6c 65 20 |ing, selectable | 00000c50 66 72 6f 6d 20 74 68 65 0a 63 6f 6e 74 72 6f 6c |from the.control| 00000c60 20 77 69 6e 64 6f 77 2c 20 77 68 69 63 68 20 64 | window, which d| 00000c70 65 74 65 72 6d 69 6e 65 20 77 68 61 74 20 68 61 |etermine what ha| 00000c80 70 70 65 6e 73 20 74 6f 20 74 68 65 20 72 65 73 |ppens to the res| 00000c90 74 20 6f 66 20 74 68 65 20 70 61 6c 65 74 74 65 |t of the palette| 00000ca0 3a 2d 0a 0a 4d 6f 76 65 3a 20 54 68 65 20 68 69 |:-..Move: The hi| 00000cb0 6c 69 67 68 74 65 64 20 63 6f 6c 6f 75 72 73 20 |lighted colours | 00000cc0 61 72 65 20 6d 6f 76 65 64 20 74 6f 20 74 68 65 |are moved to the| 00000cd0 20 6e 65 77 20 6c 6f 63 61 74 69 6f 6e 20 61 6e | new location an| 00000ce0 64 20 74 68 65 20 6f 74 68 65 72 0a 63 6f 6c 6f |d the other.colo| 00000cf0 75 72 73 20 61 72 65 20 6d 6f 76 65 64 20 75 70 |urs are moved up| 00000d00 20 6f 72 20 64 6f 77 6e 20 74 6f 20 6d 61 6b 65 | or down to make| 00000d10 20 72 6f 6f 6d 2e 20 54 68 69 73 20 6d 6f 64 65 | room. This mode| 00000d20 20 69 73 20 75 73 65 64 20 74 6f 20 72 65 2d 73 | is used to re-s| 00000d30 65 71 75 65 6e 63 65 0a 63 6f 6c 6f 75 72 73 2e |equence.colours.| 00000d40 0a 0a 53 77 61 70 3a 20 54 68 65 20 63 6f 6c 6f |..Swap: The colo| 00000d50 75 72 73 20 69 6e 20 74 68 65 20 74 77 6f 20 6c |urs in the two l| 00000d60 6f 63 61 74 69 6f 6e 73 20 61 72 65 20 65 78 63 |ocations are exc| 00000d70 68 61 6e 67 65 64 2c 20 6c 65 61 76 69 6e 67 20 |hanged, leaving | 00000d80 61 6c 6c 20 6f 74 68 65 72 0a 63 6f 6c 6f 75 72 |all other.colour| 00000d90 73 20 75 6e 63 68 61 6e 67 65 64 2e 0a 0a 43 6f |s unchanged...Co| 00000da0 70 79 3a 20 54 68 65 20 63 6f 6c 6f 75 72 73 20 |py: The colours | 00000db0 6f 76 65 72 77 72 69 74 65 20 74 68 65 20 74 61 |overwrite the ta| 00000dc0 72 67 65 74 20 6c 6f 63 61 74 69 6f 6e 2e 20 54 |rget location. T| 00000dd0 68 69 73 20 6d 6f 64 65 20 69 73 20 75 73 65 64 |his mode is used| 00000de0 20 74 6f 20 63 72 65 61 74 65 0a 70 61 6c 65 74 | to create.palet| 00000df0 74 65 73 20 77 69 74 68 20 61 20 73 75 62 73 65 |tes with a subse| 00000e00 74 20 6f 66 20 63 6f 6c 6f 75 72 73 2e 0a 0a 53 |t of colours...S| 00000e10 6f 75 72 63 65 3a 20 54 68 65 20 63 6f 6c 6f 75 |ource: The colou| 00000e20 72 73 20 68 69 67 68 6c 69 67 68 74 65 64 20 69 |rs highlighted i| 00000e30 6e 20 74 68 65 20 53 6f 75 72 63 65 20 77 69 6e |n the Source win| 00000e40 64 6f 77 20 61 72 65 20 63 6f 70 69 65 64 20 74 |dow are copied t| 00000e50 6f 20 74 68 65 0a 70 6f 69 6e 74 65 72 2c 20 6f |o the.pointer, o| 00000e60 76 65 72 77 72 69 74 69 6e 67 20 74 68 65 20 65 |verwriting the e| 00000e70 78 69 73 74 69 6e 67 20 63 6f 6c 6f 75 72 73 2e |xisting colours.| 00000e80 20 54 68 69 73 20 6d 6f 64 65 20 61 6c 6c 6f 77 | This mode allow| 00000e90 73 20 79 6f 75 20 74 6f 20 75 73 65 20 74 68 65 |s you to use the| 00000ea0 0a 53 6f 75 72 63 65 20 70 61 6c 65 74 74 65 20 |.Source palette | 00000eb0 61 73 20 61 20 72 65 66 65 72 65 6e 63 65 20 66 |as a reference f| 00000ec0 6f 72 20 74 68 65 20 6e 65 77 20 70 61 6c 65 74 |or the new palet| 00000ed0 74 65 2e 0a 0a 50 61 6c 65 74 74 65 20 45 64 69 |te...Palette Edi| 00000ee0 74 69 6e 67 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |ting.-----------| 00000ef0 2d 2d 2d 2d 0a 49 6e 64 69 76 69 64 75 61 6c 20 |----.Individual | 00000f00 63 6f 6c 6f 75 72 73 20 63 61 6e 20 62 65 20 65 |colours can be e| 00000f10 64 69 74 74 65 64 20 66 72 6f 6d 20 74 68 65 20 |ditted from the | 00000f20 50 61 6c 65 74 74 65 20 77 69 6e 64 6f 77 2e 20 |Palette window. | 00000f30 54 68 65 20 77 69 6e 64 6f 77 20 74 69 74 6c 65 |The window title| 00000f40 0a 73 68 6f 77 73 20 74 68 65 20 63 6f 6c 6f 75 |.shows the colou| 00000f50 72 20 6e 75 6d 62 65 72 20 62 65 69 6e 67 20 64 |r number being d| 00000f60 69 73 70 6c 61 79 65 64 2c 20 74 68 61 74 20 69 |isplayed, that i| 00000f70 73 20 74 68 65 20 6c 6f 67 69 63 61 6c 20 63 6f |s the logical co| 00000f80 6c 6f 75 72 20 6e 75 6d 62 65 72 2e 0a 54 6f 20 |lour number..To | 00000f90 73 65 6c 65 63 74 20 61 20 6e 65 77 20 63 6f 6c |select a new col| 00000fa0 6f 75 72 20 70 72 65 73 73 20 53 65 6c 65 63 74 |our press Select| 00000fb0 20 6f 76 65 72 20 61 20 73 71 75 61 72 65 20 69 | over a square i| 00000fc0 6e 20 74 68 65 20 53 6f 75 72 63 65 20 6f 72 20 |n the Source or | 00000fd0 45 64 69 74 0a 77 69 6e 64 6f 77 73 2e 20 54 68 |Edit.windows. Th| 00000fe0 65 20 52 2f 47 2f 42 2f 57 20 62 61 72 73 20 73 |e R/G/B/W bars s| 00000ff0 68 6f 77 20 74 68 65 20 61 6d 6f 75 6e 74 20 6f |how the amount o| 00001000 66 20 52 65 64 2c 20 47 72 65 65 6e 2c 20 42 6c |f Red, Green, Bl| 00001010 75 65 20 61 6e 64 20 57 68 69 74 65 20 74 69 6e |ue and White tin| 00001020 74 0a 74 68 61 74 20 63 6f 6d 70 6f 73 65 20 74 |t.that compose t| 00001030 68 65 20 73 65 6c 65 63 74 65 64 20 63 6f 6c 6f |he selected colo| 00001040 75 72 20 2d 20 65 61 63 68 20 68 61 73 20 61 20 |ur - each has a | 00001050 76 61 6c 75 65 20 66 72 6f 6d 20 30 20 74 6f 20 |value from 0 to | 00001060 33 2e 20 54 68 65 20 63 6f 6c 6f 75 72 0a 76 61 |3. The colour.va| 00001070 6c 75 65 20 73 68 6f 77 6e 20 62 65 6c 6f 77 20 |lue shown below | 00001080 69 73 20 74 68 65 20 70 68 79 73 69 63 61 6c 20 |is the physical | 00001090 63 6f 6c 6f 75 72 20 6e 75 6d 62 65 72 20 2d 20 |colour number - | 000010a0 6e 6f 74 65 20 74 68 61 74 20 74 68 65 20 62 69 |note that the bi| 000010b0 74 20 73 65 74 74 69 6e 67 73 0a 61 72 65 20 69 |t settings.are i| 000010c0 6e 20 61 20 73 74 72 61 6e 67 65 20 6f 72 64 65 |n a strange orde| 000010d0 72 2e 0a 0a 54 68 65 20 70 61 6c 65 74 74 65 20 |r...The palette | 000010e0 63 61 6e 20 62 65 20 65 64 69 74 74 65 64 20 62 |can be editted b| 000010f0 79 20 63 6c 69 63 6b 69 6e 67 20 53 65 6c 65 63 |y clicking Selec| 00001100 74 20 28 6f 6e 29 20 6f 72 20 41 64 6a 75 73 74 |t (on) or Adjust| 00001110 20 28 6f 66 66 29 20 6f 76 65 72 20 74 68 65 0a | (off) over the.| 00001120 63 6f 6c 6f 75 72 20 62 61 72 73 2e 20 49 66 20 |colour bars. If | 00001130 74 68 65 20 63 6f 6c 6f 75 72 20 69 73 20 66 72 |the colour is fr| 00001140 6f 6d 20 74 68 65 20 45 64 69 74 20 77 69 6e 64 |om the Edit wind| 00001150 6f 77 2c 20 74 68 65 6e 20 74 68 65 20 63 6f 6c |ow, then the col| 00001160 6f 75 72 20 76 61 6c 75 65 20 6f 66 0a 74 68 61 |our value of.tha| 00001170 74 20 73 71 75 61 72 65 20 77 69 6c 6c 20 62 65 |t square will be| 00001180 20 63 68 61 6e 67 65 64 2e 20 54 6f 20 6a 75 73 | changed. To jus| 00001190 74 20 66 69 6e 64 20 74 68 65 20 70 68 79 73 69 |t find the physi| 000011a0 63 61 6c 20 63 6f 6c 6f 75 72 20 6e 75 6d 62 65 |cal colour numbe| 000011b0 72 20 6f 66 20 61 0a 70 61 6c 65 74 74 65 20 73 |r of a.palette s| 000011c0 65 74 74 69 6e 67 2c 20 73 65 6c 65 63 74 20 61 |etting, select a| 000011d0 20 63 6f 6c 6f 75 72 20 66 72 6f 6d 20 74 68 65 | colour from the| 000011e0 20 53 6f 75 72 63 65 20 77 69 6e 64 6f 77 2e 0a | Source window..| 000011f0 0a 4e 6f 74 65 20 74 68 61 74 20 69 6e 20 34 20 |.Note that in 4 | 00001200 6f 72 20 38 20 63 6f 6c 6f 75 72 20 47 72 6f 75 |or 8 colour Grou| 00001210 70 20 6d 6f 64 65 73 2c 20 6f 6e 6c 79 20 74 68 |p modes, only th| 00001220 65 20 63 6f 6c 6f 75 72 20 6f 66 20 74 68 65 20 |e colour of the | 00001230 66 69 72 73 74 20 73 71 75 61 72 65 0a 69 73 20 |first square.is | 00001240 73 68 6f 77 6e 20 61 6e 64 20 75 70 64 61 74 65 |shown and update| 00001250 64 2e 0a 0a 4f 74 68 65 72 20 4f 70 74 69 6f 6e |d...Other Option| 00001260 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a |s.-------------.| 00001270 54 68 65 20 70 61 6c 65 74 74 65 20 69 6e 20 74 |The palette in t| 00001280 68 65 20 45 64 69 74 20 77 69 6e 64 6f 77 20 63 |he Edit window c| 00001290 61 6e 20 62 65 20 72 65 73 65 74 20 74 6f 20 74 |an be reset to t| 000012a0 68 61 74 20 69 6e 20 74 68 65 20 53 6f 75 72 63 |hat in the Sourc| 000012b0 65 20 77 69 6e 64 6f 77 20 62 79 0a 73 65 6c 65 |e window by.sele| 000012c0 63 74 69 6e 67 20 53 6f 75 72 63 65 2d 3e 45 64 |cting Source->Ed| 000012d0 69 74 20 66 72 6f 6d 20 74 68 65 20 6d 65 6e 75 |it from the menu| 000012e0 2e 0a 0a 41 20 70 68 79 73 69 63 61 6c 20 63 6f |...A physical co| 000012f0 6c 6f 75 72 20 6e 75 6d 62 65 72 20 63 61 6e 20 |lour number can | 00001300 62 65 20 6c 6f 63 61 74 65 64 20 69 6e 20 74 68 |be located in th| 00001310 65 20 45 64 69 74 20 70 61 6c 65 74 74 65 20 62 |e Edit palette b| 00001320 79 20 65 6e 74 65 72 69 6e 67 20 69 74 73 0a 6e |y entering its.n| 00001330 75 6d 62 65 72 20 28 30 2d 32 35 35 29 20 69 6e |umber (0-255) in| 00001340 20 74 68 65 20 63 6f 6e 74 72 6f 6c 20 77 69 6e | the control win| 00001350 64 6f 77 20 61 6e 64 20 74 68 65 20 70 72 65 73 |dow and the pres| 00001360 73 69 6e 67 20 53 65 6c 65 63 74 20 6f 6e 20 74 |sing Select on t| 00001370 68 65 20 46 69 6e 64 0a 69 63 6f 6e 2e 20 49 66 |he Find.icon. If| 00001380 20 74 68 65 20 63 6f 6c 6f 75 72 20 69 73 20 66 | the colour is f| 00001390 6f 75 6e 64 20 74 68 65 20 68 69 67 68 6c 69 67 |ound the highlig| 000013a0 68 74 20 77 69 6c 6c 20 62 65 20 6d 6f 76 65 64 |ht will be moved| 000013b0 20 74 6f 20 74 68 61 74 20 73 71 75 61 72 65 2c | to that square,| 000013c0 0a 6f 74 68 65 72 77 69 73 65 20 61 20 62 65 65 |.otherwise a bee| 000013d0 70 20 77 69 6c 6c 20 62 65 20 69 73 73 75 65 64 |p will be issued| 000013e0 2e 20 54 6f 20 66 69 6e 64 20 74 68 65 20 6e 65 |. To find the ne| 000013f0 78 74 20 6f 63 63 75 72 65 6e 63 65 20 70 72 65 |xt occurence pre| 00001400 73 73 20 41 64 6a 75 73 74 0a 72 61 74 68 65 72 |ss Adjust.rather| 00001410 20 74 68 61 6e 20 53 65 6c 65 63 74 2e 20 54 68 | than Select. Th| 00001420 69 73 20 6f 70 74 69 6f 6e 20 69 73 20 75 73 65 |is option is use| 00001430 66 75 6c 20 69 6e 20 64 65 74 65 72 6d 69 6e 69 |ful in determini| 00001440 6e 67 20 77 68 65 74 68 65 72 20 79 6f 75 20 68 |ng whether you h| 00001450 61 76 65 0a 6f 6d 69 74 74 65 64 20 6f 72 20 64 |ave.omitted or d| 00001460 75 70 6c 69 63 61 74 65 64 20 61 20 63 6f 6c 6f |uplicated a colo| 00001470 75 72 2e 0a 0a 53 61 76 69 6e 67 20 41 6e 64 20 |ur...Saving And | 00001480 4c 6f 61 64 69 6e 67 20 50 61 6c 65 74 74 65 20 |Loading Palette | 00001490 46 69 6c 65 73 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |Files.==========| 000014a0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 000014b0 3d 3d 3d 3d 3d 3d 0a 54 68 65 20 63 75 72 72 65 |======.The curre| 000014c0 6e 74 20 45 64 69 74 20 70 61 6c 65 74 74 65 20 |nt Edit palette | 000014d0 63 61 6e 20 62 65 20 73 61 76 65 64 20 69 6e 20 |can be saved in | 000014e0 74 68 65 20 73 74 61 6e 64 61 72 64 20 52 69 73 |the standard Ris| 000014f0 63 4f 53 20 77 61 79 20 66 72 6f 6d 20 74 68 65 |cOS way from the| 00001500 0a 6d 65 6e 75 2e 20 41 20 70 61 6c 65 74 74 65 |.menu. A palette| 00001510 20 66 69 6c 65 20 63 61 6e 20 62 65 20 72 65 6c | file can be rel| 00001520 6f 61 64 65 64 20 61 73 20 61 20 53 6f 75 72 63 |oaded as a Sourc| 00001530 65 20 70 61 6c 65 74 74 65 20 62 79 20 64 6f 75 |e palette by dou| 00001540 62 6c 65 20 63 6c 69 63 6b 69 6e 67 0a 6f 6e 20 |ble clicking.on | 00001550 69 74 20 6f 72 20 62 79 20 64 72 61 67 67 69 6e |it or by draggin| 00001560 67 20 69 74 20 6f 6e 74 6f 20 61 6e 79 20 6f 66 |g it onto any of| 00001570 20 21 46 72 61 63 50 61 6c 27 73 20 77 69 6e 64 | !FracPal's wind| 00001580 6f 77 73 2e 20 41 20 70 61 6c 65 74 74 65 20 63 |ows. A palette c| 00001590 61 6e 20 62 65 0a 6c 6f 61 64 65 64 20 64 69 72 |an be.loaded dir| 000015a0 65 63 74 6c 79 20 69 6e 74 6f 20 45 64 69 74 20 |ectly into Edit | 000015b0 6d 6f 64 65 20 62 79 20 64 72 61 67 67 69 6e 67 |mode by dragging| 000015c0 20 69 74 20 69 6e 74 6f 20 74 68 65 20 45 64 69 | it into the Edi| 000015d0 74 20 77 69 6e 64 6f 77 2e 0a 41 6c 74 65 72 6e |t window..Altern| 000015e0 61 74 69 76 65 6c 79 20 75 73 65 20 74 68 65 20 |atively use the | 000015f0 53 6f 75 72 63 65 2d 3e 45 64 69 74 20 6d 65 6e |Source->Edit men| 00001600 75 20 6f 70 74 69 6f 6e 2e 0a 0a 49 66 20 79 6f |u option...If yo| 00001610 75 20 61 72 65 20 72 75 6e 6e 69 6e 67 20 21 46 |u are running !F| 00001620 72 61 63 74 61 6c 20 79 6f 75 20 63 61 6e 20 64 |ractal you can d| 00001630 69 72 65 63 74 6c 79 20 73 61 76 65 20 74 68 65 |irectly save the| 00001640 20 70 61 6c 65 74 74 65 20 69 6e 74 6f 20 21 46 | palette into !F| 00001650 72 61 63 74 61 6c 0a 62 79 20 73 65 6c 65 63 74 |ractal.by select| 00001660 69 6e 67 20 55 70 64 61 74 65 20 46 72 61 63 74 |ing Update Fract| 00001670 61 6c 20 66 72 6f 6d 20 74 68 65 20 6d 65 6e 75 |al from the menu| 00001680 2e 20 49 6e 20 41 75 74 6f 20 55 70 64 61 74 65 |. In Auto Update| 00001690 20 6d 6f 64 65 20 21 46 72 61 63 74 61 6c 27 73 | mode !Fractal's| 000016a0 0a 70 61 6c 65 74 74 65 20 69 73 20 75 70 64 61 |.palette is upda| 000016b0 74 65 64 20 69 6e 20 6c 69 6e 65 20 77 69 74 68 |ted in line with| 000016c0 20 63 68 61 6e 67 65 73 20 74 6f 20 74 68 65 20 | changes to the | 000016d0 45 64 69 74 20 70 61 6c 65 74 74 65 2e 20 44 6f |Edit palette. Do| 000016e0 75 62 6c 65 20 63 6c 69 63 6b 69 6e 67 0a 6f 6e |uble clicking.on| 000016f0 20 61 20 70 61 6c 65 74 74 65 20 66 69 6c 65 20 | a palette file | 00001700 77 69 6c 6c 20 61 6c 73 6f 20 6c 6f 61 64 20 69 |will also load i| 00001710 74 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 |t automatically | 00001720 69 6e 74 6f 20 21 46 72 61 63 74 61 6c 2e 0a 0a |into !Fractal...| 00001730 54 68 65 20 70 61 6c 65 74 74 65 20 66 69 6c 65 |The palette file| 00001740 73 20 63 72 65 61 74 65 64 20 62 79 20 21 46 72 |s created by !Fr| 00001750 61 63 50 61 6c 20 61 72 65 20 69 6e 20 61 20 64 |acPal are in a d| 00001760 69 66 66 65 72 65 6e 74 20 66 6f 72 6d 61 74 20 |ifferent format | 00001770 74 6f 20 74 68 6f 73 65 0a 63 72 65 61 74 65 64 |to those.created| 00001780 20 62 79 20 74 68 65 20 21 50 61 6c 65 74 74 65 | by the !Palette| 00001790 20 75 74 69 6c 69 74 79 20 28 77 68 69 63 68 20 | utility (which | 000017a0 6f 6e 6c 79 20 63 6f 6e 74 61 69 6e 20 31 36 20 |only contain 16 | 000017b0 63 6f 6c 6f 75 72 73 29 20 61 6e 64 20 75 73 65 |colours) and use| 000017c0 20 61 0a 64 69 66 66 65 72 65 6e 74 20 66 69 6c | a.different fil| 000017d0 65 74 79 70 65 20 2d 20 37 30 33 20 28 46 72 61 |etype - 703 (Fra| 000017e0 63 50 61 6c 29 2e 20 4e 6f 74 69 63 65 20 74 68 |cPal). Notice th| 000017f0 61 74 20 74 68 65 20 69 63 6f 6e 20 75 73 65 64 |at the icon used| 00001800 20 68 61 73 20 74 68 65 0a 63 6f 6c 6f 75 72 73 | has the.colours| 00001810 20 69 6e 20 74 68 65 20 6f 72 64 65 72 20 62 6c | in the order bl| 00001820 61 63 6b 20 74 6f 20 77 68 69 74 65 2e 20 54 68 |ack to white. Th| 00001830 65 20 70 61 6c 65 74 74 65 20 66 69 6c 65 73 20 |e palette files | 00001840 61 72 65 20 69 6e 20 74 68 65 20 66 6f 72 6d 61 |are in the forma| 00001850 74 0a 75 73 65 64 20 62 79 20 74 68 65 20 43 6f |t.used by the Co| 00001860 6c 6f 75 72 54 72 61 6e 73 20 6d 6f 64 75 6c 65 |lourTrans module| 00001870 2e 0a 0a 53 75 70 70 6c 69 65 64 20 50 61 6c 65 |...Supplied Pale| 00001880 74 74 65 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |ttes.-----------| 00001890 2d 2d 2d 2d 2d 2d 0a 49 6e 20 74 68 65 20 50 61 |------.In the Pa| 000018a0 6c 65 74 74 65 73 20 64 69 72 65 63 74 6f 72 79 |lettes directory| 000018b0 20 61 72 65 20 73 6f 6d 65 20 65 78 61 6d 70 6c | are some exampl| 000018c0 65 20 70 61 6c 65 74 74 65 73 20 61 73 20 75 73 |e palettes as us| 000018d0 65 64 20 77 69 74 68 69 6e 20 21 46 72 61 63 74 |ed within !Fract| 000018e0 61 6c 2c 0a 70 6c 75 73 20 6f 74 68 65 72 73 2e |al,.plus others.| 000018f0 20 49 6e 20 74 68 65 20 50 61 6c 67 65 6e 20 64 | In the Palgen d| 00001900 69 72 65 63 74 6f 72 79 20 74 68 65 72 65 20 69 |irectory there i| 00001910 73 20 61 20 63 6f 6c 6c 65 63 74 69 6f 6e 20 6f |s a collection o| 00001920 66 20 70 61 6c 65 74 74 65 73 20 6d 61 64 65 0a |f palettes made.| 00001930 62 79 20 73 65 71 75 65 6e 63 69 6e 67 20 74 68 |by sequencing th| 00001940 65 20 34 20 6d 61 69 6e 20 63 6f 6c 6f 75 72 20 |e 4 main colour | 00001950 63 6f 6d 70 6f 6e 65 6e 74 73 20 69 6e 20 64 69 |components in di| 00001960 66 66 65 72 65 6e 74 20 6f 72 64 65 72 73 2e 20 |fferent orders. | 00001970 54 68 65 79 20 77 65 72 65 0a 63 72 65 61 74 65 |They were.create| 00001980 64 20 62 79 20 74 68 65 20 70 72 6f 67 72 61 6d |d by the program| 00001990 20 50 61 6c 67 65 6e 20 77 68 69 63 68 20 69 73 | Palgen which is| 000019a0 20 61 6c 73 6f 20 73 75 70 70 6c 69 65 64 2e 0a | also supplied..| 000019b0 0a 55 73 69 6e 67 20 54 68 65 20 50 61 6c 65 74 |.Using The Palet| 000019c0 74 65 73 20 49 6e 20 59 6f 75 72 20 4f 77 6e 20 |tes In Your Own | 000019d0 50 72 6f 67 72 61 6d 73 0a 3d 3d 3d 3d 3d 3d 3d |Programs.=======| 000019e0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00001a00 0a 54 6f 20 75 73 65 20 74 68 65 20 50 61 6c 65 |.To use the Pale| 00001a10 74 74 65 20 66 69 6c 65 73 20 69 6e 20 79 6f 75 |tte files in you| 00001a20 72 20 6f 77 6e 20 32 35 36 2d 63 6f 6c 6f 75 72 |r own 256-colour| 00001a30 20 70 72 6f 67 72 61 6d 73 20 79 6f 75 20 6e 65 | programs you ne| 00001a40 65 64 20 74 6f 20 63 72 65 61 74 65 0a 79 6f 75 |ed to create.you| 00001a50 72 20 69 6d 61 67 65 20 61 73 20 61 20 73 70 72 |r image as a spr| 00001a60 69 74 65 20 66 69 6c 65 2e 20 54 68 65 20 65 61 |ite file. The ea| 00001a70 73 69 65 73 74 20 77 61 79 20 74 6f 20 64 6f 20 |siest way to do | 00001a80 74 68 69 73 20 69 73 20 74 6f 20 64 72 61 77 20 |this is to draw | 00001a90 74 68 65 20 69 6d 61 67 65 0a 6f 6e 20 74 68 65 |the image.on the| 00001aa0 20 73 63 72 65 65 6e 20 61 6e 64 20 74 68 65 6e | screen and then| 00001ab0 20 67 72 61 62 20 69 74 20 61 73 20 61 20 73 70 | grab it as a sp| 00001ac0 72 69 74 65 2c 20 65 67 3a 2d 0a 0a 20 20 20 44 |rite, eg:-.. D| 00001ad0 49 4d 20 73 70 72 69 74 65 25 20 31 37 30 30 30 |IM sprite% 17000| 00001ae0 30 3a 52 45 4d 20 72 6f 6f 6d 20 66 6f 72 20 61 |0:REM room for a| 00001af0 20 6d 6f 64 65 20 31 35 20 73 70 72 69 74 65 0a | mode 15 sprite.| 00001b00 20 20 20 21 73 70 72 69 74 65 25 3d 31 37 30 30 | !sprite%=1700| 00001b10 30 30 3a 73 70 72 69 74 65 25 21 38 3d 31 36 0a |00:sprite%!8=16.| 00001b20 20 20 20 53 59 53 22 4f 53 5f 53 70 72 69 74 65 | SYS"OS_Sprite| 00001b30 4f 70 22 2c 26 31 30 39 2c 73 70 72 69 74 65 25 |Op",&109,sprite%| 00001b40 3a 52 45 4d 20 69 6e 69 74 69 61 6c 69 73 65 20 |:REM initialise | 00001b50 61 72 65 61 0a 20 20 20 53 59 53 22 4f 53 5f 53 |area. SYS"OS_S| 00001b60 70 72 69 74 65 4f 70 22 2c 26 31 31 30 2c 73 70 |priteOp",&110,sp| 00001b70 72 69 74 65 25 2c 22 6e 61 6d 65 22 2c 30 2c 30 |rite%,"name",0,0| 00001b80 2c 30 2c 31 32 37 39 2c 31 30 32 33 3a 52 45 4d |,0,1279,1023:REM| 00001b90 20 67 72 61 62 20 61 6c 6c 20 73 63 72 65 65 6e | grab all screen| 00001ba0 0a 0a 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 20 |..Alternatively | 00001bb0 79 6f 75 20 63 61 6e 20 64 72 61 77 20 64 69 72 |you can draw dir| 00001bc0 65 63 74 6c 79 20 74 6f 20 61 20 73 70 72 69 74 |ectly to a sprit| 00001bd0 65 20 62 79 20 75 73 69 6e 67 20 4f 53 5f 53 70 |e by using OS_Sp| 00001be0 72 69 74 65 4f 70 20 36 30 0a 77 68 69 63 68 20 |riteOp 60.which | 00001bf0 73 77 69 74 63 68 65 73 20 6f 75 74 70 75 74 20 |switches output | 00001c00 74 6f 20 61 20 73 70 72 69 74 65 20 61 6e 64 20 |to a sprite and | 00001c10 62 61 63 6b 20 61 67 61 69 6e 20 74 6f 20 74 68 |back again to th| 00001c20 65 20 73 63 72 65 65 6e 2e 0a 0a 54 6f 20 64 69 |e screen...To di| 00001c30 73 70 6c 61 79 20 74 68 65 20 73 70 72 69 74 65 |splay the sprite| 00001c40 20 77 69 74 68 20 74 68 65 20 70 61 6c 65 74 74 | with the palett| 00001c50 65 20 75 73 65 20 4f 53 5f 53 70 72 69 74 65 4f |e use OS_SpriteO| 00001c60 70 20 35 32 2c 20 65 67 3a 2d 0a 0a 20 20 20 53 |p 52, eg:-.. S| 00001c70 59 53 22 4f 53 5f 53 70 72 69 74 65 4f 70 22 2c |YS"OS_SpriteOp",| 00001c80 26 31 33 34 2c 73 70 72 69 74 65 25 2c 22 6e 61 |&134,sprite%,"na| 00001c90 6d 65 22 2c 78 2c 79 2c 30 2c 30 2c 70 61 6c 65 |me",x,y,0,0,pale| 00001ca0 74 74 65 25 0a 0a 77 68 65 72 65 20 70 61 6c 65 |tte%..where pale| 00001cb0 74 74 65 25 20 69 73 20 61 20 70 6f 69 6e 74 65 |tte% is a pointe| 00001cc0 72 20 74 6f 20 74 68 65 20 70 61 6c 65 74 74 65 |r to the palette| 00001cd0 2e 20 50 61 6c 65 74 74 65 20 66 69 6c 65 73 20 |. Palette files | 00001ce0 61 72 65 20 32 35 36 20 62 79 74 65 73 20 6c 6f |are 256 bytes lo| 00001cf0 6e 67 0a 73 6f 20 79 6f 75 20 77 6f 75 6c 64 20 |ng.so you would | 00001d00 75 73 65 20 44 49 4d 20 70 61 6c 65 74 74 65 25 |use DIM palette%| 00001d10 20 32 35 36 20 74 6f 20 72 65 73 65 72 76 65 20 | 256 to reserve | 00001d20 73 74 6f 72 61 67 65 20 66 6f 72 20 61 20 70 61 |storage for a pa| 00001d30 6c 65 74 74 65 2c 20 61 6e 64 20 74 68 65 6e 0a |lette, and then.| 00001d40 6c 6f 61 64 20 74 68 65 20 70 61 6c 65 74 74 65 |load the palette| 00001d50 20 69 6e 74 6f 20 69 74 2e 0a 0a 4e 6f 74 65 20 | into it...Note | 00001d60 74 68 61 74 20 64 69 73 70 6c 61 79 69 6e 67 20 |that displaying | 00001d70 61 20 73 70 72 69 74 65 20 77 69 74 68 20 61 20 |a sprite with a | 00001d80 70 61 6c 65 74 74 65 20 74 61 6b 65 73 20 73 6c |palette takes sl| 00001d90 69 67 68 74 6c 79 20 6c 6f 6e 67 65 72 20 74 68 |ightly longer th| 00001da0 61 6e 0a 6e 6f 72 6d 61 6c 2e 20 54 6f 20 6d 61 |an.normal. To ma| 00001db0 6b 65 20 74 68 65 20 70 61 6c 65 74 74 65 20 70 |ke the palette p| 00001dc0 65 72 6d 61 6e 65 6e 74 20 72 65 71 75 69 72 65 |ermanent require| 00001dd0 73 20 74 61 6b 69 6e 67 20 65 61 63 68 20 62 79 |s taking each by| 00001de0 74 65 20 6f 66 20 74 68 65 0a 73 70 72 69 74 65 |te of the.sprite| 00001df0 20 61 6e 64 20 75 73 69 6e 67 20 74 68 65 20 76 | and using the v| 00001e00 61 6c 75 65 20 61 73 20 61 6e 20 69 6e 64 65 78 |alue as an index| 00001e10 20 69 6e 74 6f 20 74 68 65 20 70 61 6c 65 74 74 | into the palett| 00001e20 65 2e 20 54 61 6b 65 20 74 68 65 20 70 61 6c 65 |e. Take the pale| 00001e30 74 74 65 0a 76 61 6c 75 65 20 61 6e 64 20 73 74 |tte.value and st| 00001e40 6f 72 65 20 69 74 20 62 61 63 6b 20 69 6e 74 6f |ore it back into| 00001e50 20 74 68 65 20 73 70 72 69 74 65 2e 20 54 68 69 | the sprite. Thi| 00001e60 73 20 69 73 20 62 65 73 74 20 70 65 72 66 6f 72 |s is best perfor| 00001e70 6d 65 64 20 69 6e 20 61 73 73 65 6d 62 6c 65 72 |med in assembler| 00001e80 0a 73 69 6e 63 65 20 61 20 4d 6f 64 65 20 31 35 |.since a Mode 15| 00001e90 20 73 70 72 69 74 65 20 68 61 73 20 31 36 30 6b | sprite has 160k| 00001ea0 2d 62 79 74 65 73 20 74 6f 20 62 65 20 70 72 6f |-bytes to be pro| 00001eb0 63 65 73 73 65 64 20 69 6e 20 74 68 69 73 20 6d |cessed in this m| 00001ec0 61 6e 6e 65 72 2c 20 77 68 69 63 68 0a 77 6f 75 |anner, which.wou| 00001ed0 6c 64 20 74 61 6b 65 20 73 6f 6d 65 20 74 69 6d |ld take some tim| 00001ee0 65 20 69 6e 20 42 41 53 49 43 2e 0a 0a 48 69 73 |e in BASIC...His| 00001ef0 74 6f 72 79 0a 31 2e 30 30 20 4a 61 6e 20 31 39 |tory.1.00 Jan 19| 00001f00 39 32 20 49 6e 69 74 69 61 6c 20 76 65 72 73 69 |92 Initial versi| 00001f10 6f 6e 2e 0a 31 2e 30 31 20 46 65 62 20 31 39 39 |on..1.01 Feb 199| 00001f20 32 20 41 64 64 65 64 20 64 79 6e 61 6d 69 63 20 |2 Added dynamic | 00001f30 21 46 72 61 63 74 61 6c 20 6c 69 6e 6b 0a 0a 43 |!Fractal link..C| 00001f40 6f 70 79 77 72 69 67 68 74 20 4e 6f 74 69 63 65 |opywright Notice| 00001f50 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |.===============| 00001f60 3d 3d 0a 54 68 65 20 63 6f 70 79 77 72 69 67 68 |==.The copywrigh| 00001f70 74 20 6f 66 20 74 68 69 73 20 6d 61 74 65 72 69 |t of this materi| 00001f80 61 6c 20 62 65 6c 6f 6e 67 73 20 74 6f 20 4d 69 |al belongs to Mi| 00001f90 6b 65 20 43 75 72 6e 6f 77 2e 20 54 68 69 73 20 |ke Curnow. This | 00001fa0 73 6f 66 74 77 61 72 65 20 69 73 20 6e 6f 74 0a |software is not.| 00001fb0 22 50 75 62 6c 69 63 20 44 6f 6d 61 69 6e 22 2e |"Public Domain".| 00001fc0 20 48 6f 77 65 76 65 72 20 70 65 72 6d 69 73 73 | However permiss| 00001fd0 69 6f 6e 20 69 73 20 67 72 61 6e 74 65 64 20 66 |ion is granted f| 00001fe0 6f 72 20 6e 6f 6e 2d 63 6f 6d 6d 65 72 63 69 61 |or non-commercia| 00001ff0 6c 20 75 73 65 20 6f 66 0a 74 68 69 73 20 73 6f |l use of.this so| 00002000 66 74 77 61 72 65 20 61 6e 64 20 61 73 73 6f 63 |ftware and assoc| 00002010 69 61 74 65 64 20 6d 61 74 65 72 69 61 6c 20 61 |iated material a| 00002020 73 20 6c 6f 6e 67 20 61 73 20 4e 4f 20 43 48 41 |s long as NO CHA| 00002030 52 47 45 53 20 41 52 45 20 4c 45 56 49 45 44 0a |RGES ARE LEVIED.| 00002040 65 78 63 65 70 74 20 74 6f 20 63 6f 76 65 72 20 |except to cover | 00002050 63 6f 73 74 73 2e 20 43 6f 70 69 65 73 20 6f 66 |costs. Copies of| 00002060 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 20 6d | this software m| 00002070 61 79 20 62 65 20 66 72 65 65 6c 79 20 64 69 73 |ay be freely dis| 00002080 74 72 69 62 75 74 65 64 0a 61 6d 6f 6e 67 73 74 |tributed.amongst| 00002090 20 69 6e 64 69 76 69 64 75 61 6c 73 20 6f 6e 20 | individuals on | 000020a0 61 20 6e 6f 2d 63 68 61 72 67 65 20 62 61 73 69 |a no-charge basi| 000020b0 73 2e 20 50 75 62 6c 69 63 20 44 6f 6d 61 69 6e |s. Public Domain| 000020c0 20 61 6e 64 20 63 6f 6d 6d 65 72 63 69 61 6c 0a | and commercial.| 000020d0 6f 72 67 61 6e 69 73 61 74 69 6f 6e 73 20 61 72 |organisations ar| 000020e0 65 20 6b 69 6e 64 6c 79 20 61 73 6b 65 64 20 74 |e kindly asked t| 000020f0 6f 20 63 6f 6e 74 61 63 74 20 74 68 65 20 61 75 |o contact the au| 00002100 74 68 6f 72 20 70 72 69 6f 72 20 74 6f 20 63 69 |thor prior to ci| 00002110 72 63 75 6c 61 74 69 6f 6e 0a 61 6e 64 20 75 73 |rculation.and us| 00002120 65 20 6f 66 20 74 68 69 73 20 70 72 6f 67 72 61 |e of this progra| 00002130 6d 2e 0a 0a 41 72 63 68 69 6d 65 64 65 73 20 46 |m...Archimedes F| 00002140 72 61 63 74 61 6c 20 47 72 6f 75 70 20 28 41 46 |ractal Group (AF| 00002150 47 29 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |G).=============| 00002160 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00002170 3d 0a 54 68 69 73 20 73 6f 66 74 77 61 72 65 20 |=.This software | 00002180 69 73 20 70 61 72 74 20 6f 66 20 74 68 65 20 41 |is part of the A| 00002190 72 63 68 69 6d 65 64 65 73 20 46 72 61 63 74 61 |rchimedes Fracta| 000021a0 6c 20 47 72 6f 75 70 20 63 6f 6c 6c 65 63 74 69 |l Group collecti| 000021b0 6f 6e 2e 20 49 66 20 79 6f 75 0a 68 61 76 65 20 |on. If you.have | 000021c0 6f 62 74 61 69 6e 65 64 20 74 68 69 73 20 73 6f |obtained this so| 000021d0 66 74 77 61 72 65 20 6f 75 74 73 69 64 65 20 6f |ftware outside o| 000021e0 66 20 74 68 65 20 41 46 47 20 61 6e 64 20 77 6f |f the AFG and wo| 000021f0 75 6c 64 20 6c 69 6b 65 20 74 6f 20 66 69 6e 64 |uld like to find| 00002200 20 6f 75 74 0a 6d 6f 72 65 20 61 62 6f 75 74 20 | out.more about | 00002210 66 72 61 63 74 61 6c 20 70 72 6f 67 72 61 6d 6d |fractal programm| 00002220 69 6e 67 20 6f 6e 20 74 68 65 20 41 72 63 68 69 |ing on the Archi| 00002230 6d 65 64 65 73 2c 20 63 6f 6e 74 61 63 74 20 6d |medes, contact m| 00002240 65 20 28 74 68 65 20 41 46 47 0a 61 64 6d 69 6e |e (the AFG.admin| 00002250 69 73 74 72 61 74 6f 72 29 20 61 74 20 74 68 65 |istrator) at the| 00002260 20 61 64 64 72 65 73 73 20 62 65 6c 6f 77 2e 20 | address below. | 00002270 53 65 6e 64 20 61 20 53 41 45 20 61 6e 64 20 61 |Send a SAE and a| 00002280 20 64 69 73 6b 20 74 6f 20 67 65 74 20 61 20 63 | disk to get a c| 00002290 6f 70 79 20 6f 66 0a 74 68 65 20 6c 61 74 65 73 |opy of.the lates| 000022a0 74 20 6e 65 77 73 6c 65 74 74 65 72 20 61 6e 64 |t newsletter and| 000022b0 20 70 72 6f 67 72 61 6d 73 20 64 69 73 6b 2e 0a | programs disk..| 000022c0 0a 4d 69 6b 65 20 43 75 72 6e 6f 77 2c 0a 33 30 |.Mike Curnow,.30| 000022d0 20 42 6f 77 65 6e 20 44 72 69 76 65 2c 0a 57 65 | Bowen Drive,.We| 000022e0 73 74 20 44 75 6c 77 69 63 68 2c 0a 4c 6f 6e 64 |st Dulwich,.Lond| 000022f0 6f 6e 0a 53 45 32 31 20 38 50 4e 0a 0a 53 41 45 |on.SE21 8PN..SAE| 00002300 20 77 69 74 68 20 61 6c 6c 20 63 6f 72 72 65 73 | with all corres| 00002310 70 6f 6e 64 61 6e 63 65 20 70 6c 65 61 73 65 2e |pondance please.| 00002320 0a |.| 00002321