Home » Archimedes archive » Micro User » MU 1991-01.adf » PD-Stuff » !MakBitMap/!Help
!MakBitMap/!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 1991-01.adf » PD-Stuff |
Filename: | !MakBitMap/!Help |
Read OK: | ✔ |
File size: | 0AF6 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
/---------------------------------------------------------\ | MakBitMap - � Mark Bright | \---------------------------------------------------------/ This utility allows you to select a font from the currently available list, and convert it into a bitmap format. This has the advantage of speeding up the font redraw times, at the expense of disc space. HISTORY : Version 0.5 March 30th 1990 Corrupts application workspace and crashes the machine when used. It does actually work! The problem is that the RISC OS call SYS "Font_MakeBitmap" uses application area as workspace....This is not mentioned in the PRM! Version 0.6 April 3rd 1990 1) Save window removed, this was not needed because RISC OS generates its own filename and pathname so now you only need to click on SAVE from the main menu, (or press f3) 2) !Help File Added, Interactive Help Removed Version 0.61 April 10th 1990 Icons Added to main window for Sub-pixel Positioning and setting DPI. No Program Support as Yet! Version 0.70 April 20th 1990 Uses a call to M/Code Routine In RMA, To avoid crashing application space (Thanks Stu!) Version 0.80 April 22nd 1990 Sprites Moved into applications own sprite work area Version 0.90 April 26th 1990 SubPixel Positioning buttons now functioning. DPI X&Y are also used. Bug Found!!! If font list is displayed by f4 Then selecting a font does not work! Solved by removing Short key cut option! Version 0.91 June 24th 1990 Templates Tarted up a bit! Version 0.92 August 27th 1990 GO! button added to templates. Internal tidying. Templates tarted up a bit more. Version 0.95 September 3rd 1990 Fonts menu redesigned- now a two level affair with typefaces and styles seperated. Allows a much larger Number of fonts to be handled easily on screen at a time. Also improved memory management; now runs in 48K with 18 Font Families, this should be enough for the time being, but a more flexible approach will be taken when I can work out how to set a BASIC variable to the value contained in a SYSTEM variable!! Version 0.96 September 4th 1990 Sets Selected Font to First Available font from disc (Avoids problem of not having the pre-selected font!) Now uses the value of NumberOfFontFamilies set in !Run, Set this value as low as possible to avoid Wasting memory! � Mark Bright 4th September 1990 This program has been placed into the public domain by Mark Bright. It may be freely copied and distributed for non-profit making purposes, so long as the code is not altered (apart from customising !Run/!Boot files) and this text file remains present and unaltered. If you have any queries/suggestions then please write to me at: Mark Bright 31 Maitland Road Russells Hall Estate Dudley West Mids. DY1 2NU
00000000 2f 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |/---------------| 00000010 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 00000030 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 5c 0a 7c 20 20 20 |----------\.| | 00000040 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 61 | Ma| 00000050 6b 42 69 74 4d 61 70 20 2d 20 a9 20 4d 61 72 6b |kBitMap - . Mark| 00000060 20 42 72 69 67 68 74 20 20 20 20 20 20 20 20 20 | Bright | 00000070 20 20 20 20 20 20 7c 0a 5c 2d 2d 2d 2d 2d 2d 2d | |.\-------| 00000080 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 000000b0 2d 2d 2f 0a 0a 54 68 69 73 20 75 74 69 6c 69 74 |--/..This utilit| 000000c0 79 20 61 6c 6c 6f 77 73 20 79 6f 75 20 74 6f 20 |y allows you to | 000000d0 73 65 6c 65 63 74 20 61 20 66 6f 6e 74 20 66 72 |select a font fr| 000000e0 6f 6d 20 74 68 65 20 63 75 72 72 65 6e 74 6c 79 |om the currently| 000000f0 0a 61 76 61 69 6c 61 62 6c 65 20 6c 69 73 74 2c |.available list,| 00000100 20 61 6e 64 20 63 6f 6e 76 65 72 74 20 69 74 20 | and convert it | 00000110 69 6e 74 6f 20 61 20 62 69 74 6d 61 70 20 66 6f |into a bitmap fo| 00000120 72 6d 61 74 2e 0a 0a 54 68 69 73 20 68 61 73 20 |rmat...This has | 00000130 74 68 65 20 61 64 76 61 6e 74 61 67 65 20 6f 66 |the advantage of| 00000140 20 73 70 65 65 64 69 6e 67 20 75 70 20 74 68 65 | speeding up the| 00000150 20 66 6f 6e 74 20 72 65 64 72 61 77 0a 74 69 6d | font redraw.tim| 00000160 65 73 2c 20 61 74 20 74 68 65 20 65 78 70 65 6e |es, at the expen| 00000170 73 65 20 6f 66 20 64 69 73 63 20 73 70 61 63 65 |se of disc space| 00000180 2e 0a 0a 48 49 53 54 4f 52 59 20 3a 0a 0a 56 65 |...HISTORY :..Ve| 00000190 72 73 69 6f 6e 20 30 2e 35 20 4d 61 72 63 68 20 |rsion 0.5 March | 000001a0 33 30 74 68 20 31 39 39 30 0a 43 6f 72 72 75 70 |30th 1990.Corrup| 000001b0 74 73 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 77 |ts application w| 000001c0 6f 72 6b 73 70 61 63 65 20 61 6e 64 20 63 72 61 |orkspace and cra| 000001d0 73 68 65 73 20 74 68 65 20 6d 61 63 68 69 6e 65 |shes the machine| 000001e0 0a 77 68 65 6e 20 75 73 65 64 2e 20 49 74 20 64 |.when used. It d| 000001f0 6f 65 73 20 61 63 74 75 61 6c 6c 79 20 77 6f 72 |oes actually wor| 00000200 6b 21 20 54 68 65 20 70 72 6f 62 6c 65 6d 20 69 |k! The problem i| 00000210 73 20 74 68 61 74 20 74 68 65 0a 52 49 53 43 20 |s that the.RISC | 00000220 4f 53 20 63 61 6c 6c 20 53 59 53 20 22 46 6f 6e |OS call SYS "Fon| 00000230 74 5f 4d 61 6b 65 42 69 74 6d 61 70 22 20 75 73 |t_MakeBitmap" us| 00000240 65 73 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 61 |es application a| 00000250 72 65 61 0a 61 73 20 77 6f 72 6b 73 70 61 63 65 |rea.as workspace| 00000260 2e 2e 2e 2e 54 68 69 73 20 69 73 20 6e 6f 74 20 |....This is not | 00000270 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 74 68 65 |mentioned in the| 00000280 20 50 52 4d 21 0a 0a 56 65 72 73 69 6f 6e 20 30 | PRM!..Version 0| 00000290 2e 36 20 41 70 72 69 6c 20 33 72 64 20 31 39 39 |.6 April 3rd 199| 000002a0 30 0a 31 29 20 53 61 76 65 20 77 69 6e 64 6f 77 |0.1) Save window| 000002b0 20 72 65 6d 6f 76 65 64 2c 20 74 68 69 73 20 77 | removed, this w| 000002c0 61 73 20 6e 6f 74 20 6e 65 65 64 65 64 20 62 65 |as not needed be| 000002d0 63 61 75 73 65 20 52 49 53 43 20 4f 53 0a 67 65 |cause RISC OS.ge| 000002e0 6e 65 72 61 74 65 73 20 69 74 73 20 6f 77 6e 20 |nerates its own | 000002f0 66 69 6c 65 6e 61 6d 65 20 61 6e 64 20 70 61 74 |filename and pat| 00000300 68 6e 61 6d 65 20 73 6f 20 6e 6f 77 20 79 6f 75 |hname so now you| 00000310 20 6f 6e 6c 79 0a 6e 65 65 64 20 74 6f 20 63 6c | only.need to cl| 00000320 69 63 6b 20 6f 6e 20 53 41 56 45 20 66 72 6f 6d |ick on SAVE from| 00000330 20 74 68 65 20 6d 61 69 6e 20 6d 65 6e 75 2c 20 | the main menu, | 00000340 28 6f 72 20 70 72 65 73 73 20 66 33 29 0a 32 29 |(or press f3).2)| 00000350 20 21 48 65 6c 70 20 46 69 6c 65 20 41 64 64 65 | !Help File Adde| 00000360 64 2c 20 49 6e 74 65 72 61 63 74 69 76 65 20 48 |d, Interactive H| 00000370 65 6c 70 20 52 65 6d 6f 76 65 64 0a 0a 56 65 72 |elp Removed..Ver| 00000380 73 69 6f 6e 20 30 2e 36 31 20 41 70 72 69 6c 20 |sion 0.61 April | 00000390 31 30 74 68 20 31 39 39 30 0a 49 63 6f 6e 73 20 |10th 1990.Icons | 000003a0 41 64 64 65 64 20 74 6f 20 6d 61 69 6e 20 77 69 |Added to main wi| 000003b0 6e 64 6f 77 20 66 6f 72 20 53 75 62 2d 70 69 78 |ndow for Sub-pix| 000003c0 65 6c 20 50 6f 73 69 74 69 6f 6e 69 6e 67 0a 61 |el Positioning.a| 000003d0 6e 64 20 73 65 74 74 69 6e 67 20 44 50 49 2e 20 |nd setting DPI. | 000003e0 4e 6f 20 50 72 6f 67 72 61 6d 20 53 75 70 70 6f |No Program Suppo| 000003f0 72 74 20 61 73 20 59 65 74 21 0a 0a 56 65 72 73 |rt as Yet!..Vers| 00000400 69 6f 6e 20 30 2e 37 30 20 41 70 72 69 6c 20 32 |ion 0.70 April 2| 00000410 30 74 68 20 31 39 39 30 0a 55 73 65 73 20 61 20 |0th 1990.Uses a | 00000420 63 61 6c 6c 20 74 6f 20 4d 2f 43 6f 64 65 20 52 |call to M/Code R| 00000430 6f 75 74 69 6e 65 20 49 6e 20 52 4d 41 2c 20 54 |outine In RMA, T| 00000440 6f 20 61 76 6f 69 64 0a 63 72 61 73 68 69 6e 67 |o avoid.crashing| 00000450 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 73 70 61 | application spa| 00000460 63 65 20 28 54 68 61 6e 6b 73 20 53 74 75 21 29 |ce (Thanks Stu!)| 00000470 0a 0a 56 65 72 73 69 6f 6e 20 30 2e 38 30 20 41 |..Version 0.80 A| 00000480 70 72 69 6c 20 32 32 6e 64 20 31 39 39 30 0a 53 |pril 22nd 1990.S| 00000490 70 72 69 74 65 73 20 4d 6f 76 65 64 20 69 6e 74 |prites Moved int| 000004a0 6f 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 6f |o applications o| 000004b0 77 6e 20 73 70 72 69 74 65 20 77 6f 72 6b 20 61 |wn sprite work a| 000004c0 72 65 61 0a 0a 56 65 72 73 69 6f 6e 20 30 2e 39 |rea..Version 0.9| 000004d0 30 20 41 70 72 69 6c 20 32 36 74 68 20 31 39 39 |0 April 26th 199| 000004e0 30 0a 53 75 62 50 69 78 65 6c 20 50 6f 73 69 74 |0.SubPixel Posit| 000004f0 69 6f 6e 69 6e 67 20 62 75 74 74 6f 6e 73 20 6e |ioning buttons n| 00000500 6f 77 20 66 75 6e 63 74 69 6f 6e 69 6e 67 2e 20 |ow functioning. | 00000510 44 50 49 20 58 26 59 20 61 72 65 0a 61 6c 73 6f |DPI X&Y are.also| 00000520 20 75 73 65 64 2e 20 42 75 67 20 46 6f 75 6e 64 | used. Bug Found| 00000530 21 21 21 20 49 66 20 66 6f 6e 74 20 6c 69 73 74 |!!! If font list| 00000540 20 69 73 20 64 69 73 70 6c 61 79 65 64 20 62 79 | is displayed by| 00000550 20 66 34 0a 54 68 65 6e 20 73 65 6c 65 63 74 69 | f4.Then selecti| 00000560 6e 67 20 61 20 66 6f 6e 74 20 64 6f 65 73 20 6e |ng a font does n| 00000570 6f 74 20 77 6f 72 6b 21 20 53 6f 6c 76 65 64 20 |ot work! Solved | 00000580 62 79 20 72 65 6d 6f 76 69 6e 67 20 0a 53 68 6f |by removing .Sho| 00000590 72 74 20 6b 65 79 20 63 75 74 20 6f 70 74 69 6f |rt key cut optio| 000005a0 6e 21 0a 0a 56 65 72 73 69 6f 6e 20 30 2e 39 31 |n!..Version 0.91| 000005b0 20 4a 75 6e 65 20 32 34 74 68 20 31 39 39 30 0a | June 24th 1990.| 000005c0 54 65 6d 70 6c 61 74 65 73 20 54 61 72 74 65 64 |Templates Tarted| 000005d0 20 75 70 20 61 20 62 69 74 21 0a 20 20 20 20 20 | up a bit!. | 000005e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000005f0 20 20 20 20 20 20 0a 56 65 72 73 69 6f 6e 20 30 | .Version 0| 00000600 2e 39 32 20 41 75 67 75 73 74 20 32 37 74 68 20 |.92 August 27th | 00000610 31 39 39 30 0a 47 4f 21 20 62 75 74 74 6f 6e 20 |1990.GO! button | 00000620 61 64 64 65 64 20 74 6f 20 74 65 6d 70 6c 61 74 |added to templat| 00000630 65 73 2e 20 49 6e 74 65 72 6e 61 6c 20 74 69 64 |es. Internal tid| 00000640 79 69 6e 67 2e 0a 54 65 6d 70 6c 61 74 65 73 20 |ying..Templates | 00000650 74 61 72 74 65 64 20 75 70 20 61 20 62 69 74 20 |tarted up a bit | 00000660 6d 6f 72 65 2e 0a 0a 56 65 72 73 69 6f 6e 20 30 |more...Version 0| 00000670 2e 39 35 20 53 65 70 74 65 6d 62 65 72 20 33 72 |.95 September 3r| 00000680 64 20 31 39 39 30 0a 46 6f 6e 74 73 20 6d 65 6e |d 1990.Fonts men| 00000690 75 20 72 65 64 65 73 69 67 6e 65 64 2d 20 6e 6f |u redesigned- no| 000006a0 77 20 61 20 74 77 6f 20 6c 65 76 65 6c 20 61 66 |w a two level af| 000006b0 66 61 69 72 20 77 69 74 68 0a 74 79 70 65 66 61 |fair with.typefa| 000006c0 63 65 73 20 61 6e 64 20 73 74 79 6c 65 73 20 73 |ces and styles s| 000006d0 65 70 65 72 61 74 65 64 2e 20 41 6c 6c 6f 77 73 |eperated. Allows| 000006e0 20 61 20 6d 75 63 68 20 6c 61 72 67 65 72 0a 4e | a much larger.N| 000006f0 75 6d 62 65 72 20 6f 66 20 66 6f 6e 74 73 20 74 |umber of fonts t| 00000700 6f 20 62 65 20 68 61 6e 64 6c 65 64 20 65 61 73 |o be handled eas| 00000710 69 6c 79 20 6f 6e 20 73 63 72 65 65 6e 20 61 74 |ily on screen at| 00000720 20 61 0a 74 69 6d 65 2e 20 41 6c 73 6f 20 69 6d | a.time. Also im| 00000730 70 72 6f 76 65 64 20 6d 65 6d 6f 72 79 20 6d 61 |proved memory ma| 00000740 6e 61 67 65 6d 65 6e 74 3b 20 6e 6f 77 20 72 75 |nagement; now ru| 00000750 6e 73 0a 69 6e 20 34 38 4b 20 77 69 74 68 20 31 |ns.in 48K with 1| 00000760 38 20 46 6f 6e 74 20 46 61 6d 69 6c 69 65 73 2c |8 Font Families,| 00000770 20 74 68 69 73 20 73 68 6f 75 6c 64 20 62 65 20 | this should be | 00000780 65 6e 6f 75 67 68 0a 66 6f 72 20 74 68 65 20 74 |enough.for the t| 00000790 69 6d 65 20 62 65 69 6e 67 2c 20 62 75 74 20 61 |ime being, but a| 000007a0 20 6d 6f 72 65 20 66 6c 65 78 69 62 6c 65 20 61 | more flexible a| 000007b0 70 70 72 6f 61 63 68 0a 77 69 6c 6c 20 62 65 20 |pproach.will be | 000007c0 74 61 6b 65 6e 20 77 68 65 6e 20 49 20 63 61 6e |taken when I can| 000007d0 20 77 6f 72 6b 20 6f 75 74 20 68 6f 77 20 74 6f | work out how to| 000007e0 20 73 65 74 20 61 20 0a 42 41 53 49 43 20 76 61 | set a .BASIC va| 000007f0 72 69 61 62 6c 65 20 74 6f 20 74 68 65 20 76 61 |riable to the va| 00000800 6c 75 65 20 63 6f 6e 74 61 69 6e 65 64 20 69 6e |lue contained in| 00000810 20 61 20 53 59 53 54 45 4d 0a 76 61 72 69 61 62 | a SYSTEM.variab| 00000820 6c 65 21 21 0a 0a 56 65 72 73 69 6f 6e 20 30 2e |le!!..Version 0.| 00000830 39 36 20 53 65 70 74 65 6d 62 65 72 20 34 74 68 |96 September 4th| 00000840 20 31 39 39 30 0a 53 65 74 73 20 53 65 6c 65 63 | 1990.Sets Selec| 00000850 74 65 64 20 46 6f 6e 74 20 74 6f 20 46 69 72 73 |ted Font to Firs| 00000860 74 20 41 76 61 69 6c 61 62 6c 65 20 66 6f 6e 74 |t Available font| 00000870 20 66 72 6f 6d 20 64 69 73 63 0a 28 41 76 6f 69 | from disc.(Avoi| 00000880 64 73 20 70 72 6f 62 6c 65 6d 20 6f 66 20 6e 6f |ds problem of no| 00000890 74 20 68 61 76 69 6e 67 20 74 68 65 20 70 72 65 |t having the pre| 000008a0 2d 73 65 6c 65 63 74 65 64 20 66 6f 6e 74 21 29 |-selected font!)| 000008b0 0a 4e 6f 77 20 75 73 65 73 20 74 68 65 20 76 61 |.Now uses the va| 000008c0 6c 75 65 20 6f 66 20 4e 75 6d 62 65 72 4f 66 46 |lue of NumberOfF| 000008d0 6f 6e 74 46 61 6d 69 6c 69 65 73 20 73 65 74 20 |ontFamilies set | 000008e0 69 6e 0a 21 52 75 6e 2c 20 53 65 74 20 74 68 69 |in.!Run, Set thi| 000008f0 73 20 76 61 6c 75 65 20 61 73 20 6c 6f 77 20 61 |s value as low a| 00000900 73 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 61 76 |s possible to av| 00000910 6f 69 64 0a 57 61 73 74 69 6e 67 20 6d 65 6d 6f |oid.Wasting memo| 00000920 72 79 21 0a 0a a9 20 4d 61 72 6b 20 42 72 69 67 |ry!... Mark Brig| 00000930 68 74 20 34 74 68 20 53 65 70 74 65 6d 62 65 72 |ht 4th September| 00000940 20 31 39 39 30 0a 0a 54 68 69 73 20 70 72 6f 67 | 1990..This prog| 00000950 72 61 6d 20 68 61 73 20 62 65 65 6e 20 70 6c 61 |ram has been pla| 00000960 63 65 64 20 69 6e 74 6f 20 74 68 65 20 70 75 62 |ced into the pub| 00000970 6c 69 63 20 64 6f 6d 61 69 6e 20 62 79 0a 4d 61 |lic domain by.Ma| 00000980 72 6b 20 42 72 69 67 68 74 2e 20 49 74 20 6d 61 |rk Bright. It ma| 00000990 79 20 62 65 20 66 72 65 65 6c 79 20 63 6f 70 69 |y be freely copi| 000009a0 65 64 20 61 6e 64 20 64 69 73 74 72 69 62 75 74 |ed and distribut| 000009b0 65 64 20 66 6f 72 0a 6e 6f 6e 2d 70 72 6f 66 69 |ed for.non-profi| 000009c0 74 20 6d 61 6b 69 6e 67 20 70 75 72 70 6f 73 65 |t making purpose| 000009d0 73 2c 20 73 6f 20 6c 6f 6e 67 20 61 73 20 74 68 |s, so long as th| 000009e0 65 20 63 6f 64 65 20 69 73 20 6e 6f 74 0a 61 6c |e code is not.al| 000009f0 74 65 72 65 64 20 28 61 70 61 72 74 20 66 72 6f |tered (apart fro| 00000a00 6d 20 63 75 73 74 6f 6d 69 73 69 6e 67 20 21 52 |m customising !R| 00000a10 75 6e 2f 21 42 6f 6f 74 20 66 69 6c 65 73 29 20 |un/!Boot files) | 00000a20 61 6e 64 20 74 68 69 73 0a 74 65 78 74 20 66 69 |and this.text fi| 00000a30 6c 65 20 72 65 6d 61 69 6e 73 20 70 72 65 73 65 |le remains prese| 00000a40 6e 74 20 61 6e 64 20 75 6e 61 6c 74 65 72 65 64 |nt and unaltered| 00000a50 2e 20 49 66 20 79 6f 75 20 68 61 76 65 20 61 6e |. If you have an| 00000a60 79 0a 71 75 65 72 69 65 73 2f 73 75 67 67 65 73 |y.queries/sugges| 00000a70 74 69 6f 6e 73 20 74 68 65 6e 20 70 6c 65 61 73 |tions then pleas| 00000a80 65 20 77 72 69 74 65 20 74 6f 20 6d 65 20 61 74 |e write to me at| 00000a90 3a 0a 0a 4d 61 72 6b 20 42 72 69 67 68 74 0a 20 |:..Mark Bright. | 00000aa0 33 31 20 4d 61 69 74 6c 61 6e 64 20 52 6f 61 64 |31 Maitland Road| 00000ab0 0a 20 20 52 75 73 73 65 6c 6c 73 20 48 61 6c 6c |. Russells Hall| 00000ac0 20 45 73 74 61 74 65 0a 20 20 20 44 75 64 6c 65 | Estate. Dudle| 00000ad0 79 0a 20 20 20 20 57 65 73 74 20 4d 69 64 73 2e |y. West Mids.| 00000ae0 0a 20 20 20 20 20 44 59 31 20 32 4e 55 20 20 20 |. DY1 2NU | 00000af0 20 20 20 20 20 0a | .| 00000af6