Search found 175 matches

by dv8
Fri Feb 22, 2019 3:35 pm
Forum: general
Topic: Ideas please for better beep when Second Processor is present
Replies: 32
Views: 671

Re: Ideas please for better beep when Second Processor is present

Commie_User wrote:
Thu Feb 21, 2019 12:07 am
The listing isn't long long but Microsoft Qbasic had a much shorter way to play a short few notes, which appeals to me. Mind, I don't see how clear it is to have chords.
Commodore BASIC V7 in the C128 also has SOUND and ENVELOPE commands like the Beeb and a handy PLAY command like QBasic.
by dv8
Fri Feb 22, 2019 3:28 pm
Forum: programming
Topic: Newbie 6502 assembly questions...
Replies: 13
Views: 308

Re: Newbie 6502 assembly questions...

One question I do have: If I run the code, then manually call the address of PROG% (as above), it works. If I put the "CALL PROG%" statement in the BASIC program, it errors with " at line 2160" which is the line containing the CALL statement. Please can someone shed some light on this? It's actuall...
by dv8
Tue Feb 19, 2019 9:44 pm
Forum: general
Topic: Ideas please for better beep when Second Processor is present
Replies: 32
Views: 671

Re: Ideas please for better beep when Second Processor is present

That is long for just a few notes. That is Commodore BASIC level, though I honestly don't want to sound as maligning as I do! :D By 'eck! When I wer' a lad we wer' up at t'crack o' dawn workin' our fingers to t'bone, typin' page after page o' nothin' but hex codes, an' yer never 'eard us complainin...
by dv8
Tue Feb 19, 2019 12:39 pm
Forum: general
Topic: Ideas please for better beep when Second Processor is present
Replies: 32
Views: 671

Re: Ideas please for better beep when Second Processor is present

This will play the first few notes: 0 REM Theme from "2001" 1 REM "Also sprach Zarathustra!" 2 REM R.Strauss 3 REM Op.30, "Sunrise" 10 FOR I%=1 TO 8 20 READ V%,P1%,P2%,D% 30 PROCsound(&201,V%,P1%,D%) 40 PROCsound(&202,V%,P2%,D%) 50 PROCsound(&203,V%,P1%,D%) 60 NEXT 70 END 80 DEFPROCsound(C%,V%,P%,D%...
by dv8
Mon Feb 18, 2019 4:44 pm
Forum: general
Topic: Ideas please for better beep when Second Processor is present
Replies: 32
Views: 671

Re: Ideas please for better beep when Second Processor is present

OwlBoot-beep is just the usual VDU7 beep (SOUND 3,-13,100,6).

OwlBoot-ba-beep is:

SOUND 3,-13,50,3
SOUND 3,-13,100,6

OwlBoot-dit-dit-dit is:

SOUND 3,-13,100,2
SOUND 3,0,100,1
SOUND 3,-13,100,2
SOUND 3,0,100,1
SOUND 3,-13,100,2
by dv8
Mon Feb 18, 2019 4:00 pm
Forum: general
Topic: Ideas please for better beep when Second Processor is present
Replies: 32
Views: 671

Re: Ideas please for better beep when Second Processor is present

fordp wrote:
Sun Feb 17, 2019 4:58 pm
Something based on this would be great https://youtu.be/tf2jXPIFtAs
Something like this?

10 ENVELOPE 1,1, 1,-1,0, 2,2,0, 27,0,-1,-1,110,0
20 SOUND 2,0,0,2
30 FOR I%=1 TO 4
40 READ P%
50 IF I%=4 D%=15 ELSE D%=5
60 SOUND 3,1,P%,D%
70 SOUND 2,1,P%,D%
80 NEXT
90 DATA 177,161,141,149
by dv8
Mon Feb 18, 2019 11:43 am
Forum: programming
Topic: Newbie 6502 assembly questions...
Replies: 13
Views: 308

Re: Newbie 6502 assembly questions...

My experimental code does a bunch of ASL and ROL instructions to get the multiplier, so I was thrown a bit by you going the other way. If your code is a bunch of 6 ASL:ROL instruction pairs then that is a good first attempt. The main concept to grasp is that multiplying and dividing by powers of tw...
by dv8
Sun Feb 17, 2019 12:48 pm
Forum: general
Topic: Ideas please for better beep when Second Processor is present
Replies: 32
Views: 671

Re: Ideas please for better beep when Second Processor is present

Here is the updated owl boot ROM with a few variations for co-pro startup sounds:

OwlBoot-beep.rom gives the standard VDU7 beep.
OwlBoot-ba-beep.rom gives something like Kazzie's idea.
OwlBoot-dit-dit-dit.rom gives three short beeps.

OwlBoot-roms.zip
(1.06 KiB) Downloaded 10 times
by dv8
Sat Feb 16, 2019 9:24 pm
Forum: general
Topic: Ideas please for better beep when Second Processor is present
Replies: 32
Views: 671

Re: Ideas please for better beep when Second Processor is present

The lack of that satisfying beep when running a 2P has always bugged me a bit too. A simple beep is enough for me though, anything more would probably get old real quick! But, in the spirit of the thread, some off-the-cuff ideas: - a 'tada!' type sound - the '2001' theme tune (the initial brr could ...
by dv8
Tue Feb 12, 2019 11:22 pm
Forum: programming
Topic: Newbie 6502 assembly questions...
Replies: 13
Views: 308

Re: Newbie 6502 assembly questions...

My reading so far suggests that the way to do this is to use two bytes in zero page to contain the base address of the tiledata memory, then add the offset to it, and finally LDA it using indirect addressing. Is that right? Yes, LDA (zp),Y will allow you to access the tile data indexed by Y once yo...
by dv8
Sun Feb 10, 2019 10:52 am
Forum: software: other
Topic: BBC Micro: Speech Screen Reader with Lords of Time (Level 9)
Replies: 29
Views: 567

Re: BBC Micro: Speech Screen Reader with Lords of Time (Level 9)

The latest version of the Text to Speech ROM that I have is 1.03

CC-TextToSpeech-1.03.zip
(11.35 KiB) Downloaded 5 times

BTW, it's unlikely that these ROMs will work with most games since the game code will probably overwrite the workspace or vectors used by the ROMs.
by dv8
Sun Feb 10, 2019 10:24 am
Forum: software: other
Topic: BBC Micro: Speech Screen Reader with Lords of Time (Level 9)
Replies: 29
Views: 567

Re: BBC Micro: Speech Screen Reader with Lords of Time (Level 9)

Yes, the Computer Concepts Text to Speech ROM has this feature. It was an add-on to the main speech ROM so 3 ICs are required: a TMS5220, the CC Speech ROM and the CC Text to Speech ROM. *TEXON activates the ROM, press Break then: *SAYOP will speak anything sent to the output stream (e.g. the screen...
by dv8
Tue Jan 29, 2019 7:57 am
Forum: programming
Topic: Reading from keyboard buffer and escape condition
Replies: 5
Views: 196

Re: Reading from keyboard buffer and escape condition

OSBYTE &81 does an immediate keyboard scan and returns the internal key number which would then need to be converted to ASCII. For your purposes you would be better off using OSRDCH (&FFE0) which reads ASCII codes from the keyboard buffer. It would be a good idea to close any open *SPOOL/*EXEC files...
by dv8
Sun Jan 27, 2019 11:19 pm
Forum: hardware
Topic: Sideways RAM on the BBC Micro
Replies: 52
Views: 3229

Re: Sideways RAM on the BBC Micro

I seem to remember something about FRAM latching its address on nCE going low. For reliable operation on the beeb, the chip select needs to be delayed long enough for the address bus to stabilize. Maybe try gating it with the clock. On a model B, nOE is basically an inverted PHI2 so you could try OR...
by dv8
Fri Jan 25, 2019 12:59 pm
Forum: hardware
Topic: A bit of fun: Which version of BBC Micro is the best?
Replies: 36
Views: 983

Re: A bit of fun: Which version of BBC Micro is the best?

Shadow RAM is even more useful on the Master than it was on earlier machines. Having independent control over whether the CPU, screen and VDU driver sees shadow memory gives opportunities, particularly for games, that are simply not possible on other beeb models. For serious uses though, many of the...
by dv8
Sun Jan 20, 2019 7:33 pm
Forum: hardware
Topic: A bit of fun: Which version of BBC Micro is the best?
Replies: 36
Views: 983

Re: A bit of fun: Which version of BBC Micro is the best?

The B+ is a nice machine but they are way too expensive and the Model A is not much more than a collectors item so, realistically, the choice is between the Model B and Master. For games, the Model B is much more compatible. A switchable multi-OS ROM can be used in the Master to improve compatibilit...
by dv8
Sun Jan 20, 2019 12:29 am
Forum: software: other
Topic: Word processor for BBC Micro - Gotek Emulator Box
Replies: 6
Views: 293

Re: Word processor for BBC Micro - Gotek Emulator Box

Most office software for the beeb was released on ROM, probably because of the limited amount of available memory. There was a disc version of Mini Office II ( see here for download ). I would recommend adding a Sideways RAM or EEPROM to your machine if you're interested in using this kind of softwa...
by dv8
Fri Jan 18, 2019 11:47 am
Forum: hardware
Topic: BBC Micro - Erratic Behaviour
Replies: 9
Views: 372

Re: BBC Micro - Erratic Behaviour

A dodgy keyboard or ribbon cable can also cause these kind of startup failures. Try unplugging and re-inserting the keyboard cable a few times at both ends. Also try connecting the cable the other way round and see if the symptoms change. It could also be worth checking for bad solder joints and pos...
by dv8
Tue Jan 15, 2019 12:06 pm
Forum: software: other
Topic: BBC Micro Compendium by Jeremy Ruston
Replies: 63
Views: 2724

Re: BBC Micro Compendium by Jeremy Ruston

It looks like the book has been photographed rather than scanned and unfortunately one of the pages is out of focus and therefore unreadable.

If anyone has a copy could they please take a photo of page 298.
by dv8
Sun Jan 13, 2019 4:23 pm
Forum: hardware
Topic: POLL: How much Sideways RAM?
Replies: 20
Views: 560

Re: POLL: How much Sideways RAM?

I've got 128K (8 banks) in all my machines. One has an IFEL (ctorwy31) ROM/RAM board, the others are homebrew mods (64K ROM, 64K flash, 128K RAM). I prefer to keep the number of permanently installed ROMs to a minimum and load images in as I need them. BTW, if anyone is thinking of following the Ret...
by dv8
Wed Jan 09, 2019 8:54 pm
Forum: archive requests
Topic: Games for your BBC Micro from Virgin Books
Replies: 5
Views: 160

Re: Games for your BBC Micro from Virgin Books

Here it is.

Games_For_Your_BBC_Micro.zip
(467.96 KiB) Downloaded 8 times

I had a copy of this book back in the day and, trust me, the games are even worse than you think they're going to be :lol:
by dv8
Wed Jan 09, 2019 8:39 pm
Forum: general
Topic: Ideas please for BBC Micro splash screen
Replies: 51
Views: 1144

Re: Ideas please for BBC Micro splash screen

Sure, I don't mind posting the source code, but it's not the best example of writing a ROM since it doesn't do many of the things a typical ROM needs to do (like parsing * commands and responding to *HELP and so on). Anyway, here it is along with some notes on how it works... Before jumping into the...
by dv8
Wed Jan 09, 2019 12:06 am
Forum: general
Topic: Ideas please for BBC Micro splash screen
Replies: 51
Views: 1144

Re: Ideas please for BBC Micro splash screen

Tom Seddon pointed out that the bottom line may be overwritten when typing. We may be used to DFS/MMC/whatever expansions, but a plain unexpanded Model A or B would leave the cursor on line four, making it more likely that you'd end up typing over the logo. One could have made the boot text longer ...
by dv8
Tue Jan 08, 2019 8:28 pm
Forum: general
Topic: Ideas please for BBC Micro splash screen
Replies: 51
Views: 1144

Re: Ideas please for BBC Micro splash screen

By the Master OS, they abandoned the unrolled loop anyway ... But beware - there are some games, e.g. Contraption, which jump directly into this routine with a custom start address to clear their bit of the screen. Yes, it's always a worry that making these kind of changes will cause compatibility ...
by dv8
Tue Jan 08, 2019 5:43 pm
Forum: general
Topic: Ideas please for BBC Micro splash screen
Replies: 51
Views: 1144

Re: Ideas please for BBC Micro splash screen

Then OS 1.20 has that enormous unrolled loop to clear the screen (nearly 256 bytes!) which I never really saw as a worthwhile use of the space, as CLS doesn't really need to be optimised (and it still takes more than a frame anyway!), and the optimisation isn't really that good either. A better com...
by dv8
Sun Jan 06, 2019 8:46 pm
Forum: general
Topic: Ideas please for BBC Micro splash screen
Replies: 51
Views: 1144

Re: Ideas please for BBC Micro splash screen

Thanks for all the kind words about the owl. :-) Perhaps losing speech and phrom support would leave room for dv8's logo? Thinking about it, there isn't really any feature of the OS that I would be willing to sacrifice for the sake of a prettier startup screen. I like speech and RFS and use them bot...
by dv8
Sun Jan 06, 2019 3:40 pm
Forum: general
Topic: Ideas please for BBC Micro splash screen
Replies: 51
Views: 1144

Re: Ideas please for BBC Micro splash screen

I wonder if there is room to include that in the OS/BASIC/DFS ROM? Something would probably have to be removed from the OS ROM to be able to fit this in. Here it is as a stand-alone service ROM, it clocks in at a whopping 174 bytes! OwlBoot.txt No doubt it could be shoehorned into a utility or fili...
by dv8
Sun Jan 06, 2019 12:00 pm
Forum: general
Topic: Ideas please for BBC Micro splash screen
Replies: 51
Views: 1144

Re: Ideas please for BBC Micro splash screen

A simple colourful owl logo boot screen...

bbc_boot_screen.png
by dv8
Mon Dec 24, 2018 2:52 pm
Forum: general
Topic: Bit of fun - One change only
Replies: 68
Views: 1763

Re: Bit of fun - One change only

For the Model B it would have to be extra memory. 64K as standard with 20K dedicated to shadow screen RAM and the extra 12K reserved for filing system workspace. Every program would then have access to &E00 thru &7FFF (28.5K) regardless of screen mode or disc upgrades. It could have allowed larger, ...