★ APPLICATIONS ★ DIVERS ★ Pull down menus ★![]() |
Pull Down Menus (Computing with the Amstrad) | Graphic - Pull Down Menu (Amstrad Action) |
And now - a pull down menu system for the 6128! With a few alter-actions (notably the use of copychr$: an RSX was printed in AA22) it works on the 464 as well. Lines 10-630 are simply a demo program, whereas 10000 onwards is the actual menu system. Marcus Williams of Birmingham wrote this program - big, but very useful (the program, that is, not - as far as we know - the author!). Program Notes Line 10010 sets up the machine code routines as well as the user defined graphics and similar bits and pieces. It needs to be called at the beginning of the program - as should line 10160, which creates the menus. Weeds the number of menus in no%, and the data statements for tire menus, as lilies 100-150. Line 10330 pulls down menu meno% at x coord in x1. The screen is retained during this operation. Line 10420 moves the bar up and down the menu, and is controlled both by the cursor keys and space, as well as the joystick. Option selected is returned, in opt%. NB quit menu option = option one. Line 10620 displays a version box at coord in x (y position is fixed). This can be altered as desired. Line 10700 needs to be supplied with the options that are defaulted to (ticked) when the program first runs, and when a new option is selected. Line 10810 displays the copyright and Drive no. messages at Y coord. This routine needs the address changing to work on a 464. Line 10830 is the notepad routine. Again a few alterations are needed for Amstrad 464s. AA
|