Search found 134 matches

by Daren
Wed Nov 30, 2022 2:16 pm
Forum: Hardware
Topic: Top slot hardware idea
Replies: 25
Views: 856

Re: Top slot hardware idea

@MarinReid - your documents are great but any chance to have them single page per page instead of 2 pages per page? I only ask as viewing on my iPad in portrait mode involves lots of zooming and scrolling. I understand why they are in this format and if it is a big job to do this then don’t worry ab...
by Daren
Fri Nov 25, 2022 6:29 pm
Forum: General
Topic: Beep formula in manual incorrect??? (Solved)
Replies: 9
Views: 136

Re: Beep formula in manual incorrect??? (Solved)

@MartinP I think I read in the technical manual that beep is derived from the alarm signal which is formed from a divider. Makes sense what you said about the number coming from CPU, though I did not twig before. In my tests using the formula it seems quite accurate, the next challenge is to figure ...
by Daren
Fri Nov 25, 2022 1:05 am
Forum: General
Topic: Beep formula in manual incorrect??? (Solved)
Replies: 9
Views: 136

Re: Beep formula in manual incorrect??? (Solved)

@MartinP very elegant, maths/algebra is not my strong point so I have no idea how that works but it does. Yes @MartinReid it is strange, I also noticed from some of the promo leaflets that the specifications of the audio frequency changed - the 1986 brochure has it listed as 11hz-10khz, this is the ...
by Daren
Thu Nov 24, 2022 5:44 pm
Forum: General
Topic: Beep formula in manual incorrect??? (Solved)
Replies: 9
Views: 136

Re: Beep formula in manual is incorrect???

Thanks @jarrydn I think the Dabhand book led me to believe the manual formula was incorrect but actually it is correct, just works the opposite way I expected :oops: :lol: @xchris - spot on! The Dabhand book is still wrong though as it has the wrong note frequencies, the Shaw book is correct aside f...
by Daren
Thu Nov 24, 2022 3:04 am
Forum: General
Topic: Beep formula in manual incorrect??? (Solved)
Replies: 9
Views: 136

Beep formula in manual incorrect??? (Solved)

In the manual it states that Frequency=921600/(78+2*y%)Hz) gives the frequency, but this doesn’t give a correct Hz output here, I have checked a few values, for example if you put y% as 440 the result is given as 962 (rounded to int) but if you enter this into the beep parameter then it is not retur...
by Daren
Wed Nov 23, 2022 8:34 pm
Forum: Programming
Topic: OPL programming noob questions
Replies: 10
Views: 414

Re: OPL programming noob questions

Thanks for the answer @toml12953 It is structure and program flow aspects which I can’t seem to find a lot of info/examples to do a lot of what I want, without using GOTO, for example multiple choice GET/KEY/INPUT branches, which functions were you alluding to that can approximate GOSUB functionality?
by Daren
Wed Nov 23, 2022 12:00 pm
Forum: Snippets
Topic: Key click settings
Replies: 1
Views: 62

Re: Key click settings

I edited the above code slightly to improve the screen usage, so that text is more central, I also removed the final GET.
by Daren
Wed Nov 23, 2022 11:50 am
Forum: Hardware
Topic: Serial SD data storage?
Replies: 13
Views: 418

Re: Serial SD data storage?

Good ideas @Andrew thanks.
by Daren
Wed Nov 23, 2022 11:04 am
Forum: General
Topic: Reducing a variable to 2 decimal places
Replies: 4
Views: 1339

Re: Reducing a variable to 2 decimal places

Great info from @MartinP and @MartinReid maybe both of these ideas should be in the code snippets section?

Also what about some examples for rounding, the programming manual is a little vague on this I think, which I found surprising.
by Daren
Mon Nov 21, 2022 3:43 pm
Forum: Programming
Topic: OPL programming noob questions
Replies: 10
Views: 414

Re: OPL programming noob questions

Can you elaborate on this point @toml12953 ?

Also what advantages does gosub have over goto/label?