News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_paradroid90

My First CPC Basic Program - Disk Menu

Started by paradroid90, 21:44, 06 April 14

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paradroid90

Please do not laugh at me  :laugh: but I was looking for some help in getting a disk menu program.

So this afternoon I thought I would code my own.

Although it is very basic (Pardon the pun  ;) ) I have coded a boot menu which on most disc will start with the Run"disc command.

This was my first attempt and it does exactly what I wanted.  :)

I know I can do flashing text and stuff but this will do as a start off  :D [attach=2]
Embrace all 8 Bits :-)

redbox

Always better to try and program your own!  :)

TotO

The CPC BASIC is just fantastic, you know! ;)
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

paradroid90

Thanks for the feedback guys  :)

Completed Menus for 10 disks so far today so have been busy.

Must admit it took  some time to work out the ink command and using *,* model  ???

But locate was very handy. I have now created templates for 7,8,10 and 6 game disc menus
Embrace all 8 Bits :-)

redbox

Quote from: paradroid90 on 21:53, 06 April 14
Completed Menus for 10 disks so far today so have been busy.

You could maybe look at using INKEY or similar instead of an INPUT prompt.

Then you'd only have to press the number instead of the number and ENTER.

Bryce

Quote from: paradroid90 on 21:53, 06 April 14
Thanks for the feedback guys  :)

Completed Menus for 10 disks so far today so have been busy.

Must admit it took  some time to work out the ink command and using *,* model  ???

But locate was very handy. I have now created templates for 7,8,10 and 6 game disc menus

You need to make it clever. How about getting the menu program to read the disk when it's started and dynamically create the menu? Then you just have to copy the same program to every disk. :)

Bryce.

paradroid90

Sounds great Bryce but probably way beyond my programming skills at this time.

I will have a play about with Inkey tomorrow and update the code.

Thanks for the tips everyone  :D
Embrace all 8 Bits :-)

AMSDOS

I was just looking at a Disk Menu program the other day. Check out AA March 1987 Issue Type-ins if you're interested, their program Catalogs the Disk and then you can use the Cursor & space to select, their program also offers you the choice of Loading the program (via Load) or Running the program.
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

paradroid90

Thanks for the link AMDOS  :)

I think I might just work on my menu program a bit more and change the colour scheme a bit and use the inkey command to confirm the choice when pressing a number  :)

Thanks for all your help  :D
Embrace all 8 Bits :-)

Powered by SMFPacks Menu Editor Mod