BOS ROM for PMS B2P

request software or documentation that you can't find online
Post Reply
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

BOS ROM for PMS B2P

Post by Pernod »

Anyone have the BOS ROM required to use the B2P from PMS? I believe Arcadian has/had one of these.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
User avatar
mlouka
Posts: 86
Joined: Wed Sep 27, 2017 4:57 pm
Location: Halden, Norway
Contact:

Re: BOS ROM for PMS B2P

Post by mlouka »

Please find attached a zip file with a dump of the ROM and a SSD with the ROM on it (that can be run fra SW RAM).

Michael.
Attachments
PMSB2P_BOSROM.zip
(12.85 KiB) Downloaded 137 times
BBC Master 128, BBC Model B i7, PMS B2P-6502 2nd proc., PiTubeDirect (both internal and external), RetroClinic Multi-OS Selector, Sundby 256k RAM/ROM card, MMFS, Gotek, Music 500, Hoglet RGBtoHDMI, ...
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: BOS ROM for PMS B2P

Post by Pernod »

Thanks, do you also have the system disc that came with it?
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
User avatar
mlouka
Posts: 86
Joined: Wed Sep 27, 2017 4:57 pm
Location: Halden, Norway
Contact:

Re: BOS ROM for PMS B2P

Post by mlouka »

Pernod wrote:Thanks, do you also have the system disc that came with it?
‘fraid not. Just the device, rom and manual.
BBC Master 128, BBC Model B i7, PMS B2P-6502 2nd proc., PiTubeDirect (both internal and external), RetroClinic Multi-OS Selector, Sundby 256k RAM/ROM card, MMFS, Gotek, Music 500, Hoglet RGBtoHDMI, ...
User avatar
mlouka
Posts: 86
Joined: Wed Sep 27, 2017 4:57 pm
Location: Halden, Norway
Contact:

Re: BOS ROM for PMS B2P

Post by mlouka »

mlouka wrote:
Pernod wrote:Thanks, do you also have the system disc that came with it?
‘fraid not. Just the device, rom and manual.
I just checked the manual and according to that, there was no system disc. "Chapter 1.1 Checklist of Items" states:

"As well as this User Guide, you should have the follwing items in the box you have just opened - the B2P Second Processor and the BOS ROM. Should either of these items are damaged or missing contact PMS without delay."

The only reference to a disk from PMS in the manual is regarding Hi-Wordwise Plus which PMS sold on disk and requires that Wordwise Plus is also installed on ROM. The manual mentions both "B2P Hi-Wordwise Plus" and "BBC Hi-Basic" as available via PMS. Given that Hi-BASIC for the Acorn processor works fine, I suspect that B2P Hi-Wordwise Plus is no different for the version for the Acorn 2nd processor from Computer Concepts but haven't tried.
Last edited by mlouka on Tue Feb 02, 2021 5:10 pm, edited 1 time in total.
BBC Master 128, BBC Model B i7, PMS B2P-6502 2nd proc., PiTubeDirect (both internal and external), RetroClinic Multi-OS Selector, Sundby 256k RAM/ROM card, MMFS, Gotek, Music 500, Hoglet RGBtoHDMI, ...
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: BOS ROM for PMS B2P

Post by Pernod »

mlouka wrote:I just checked the manual and according to that, there was no system disc.
Yeah, I saw that in the manual. I was referring to http://chrisacorns.computinghistory.org ... mDiscs.pdf, but it doesn't actually say what's on the discs.
I'm not sure how easy it is to get into the B2P but would you be able to get a good photos (so that all IC's are identifiable) of both sides of the board? Does anyone have any theories on how the 65C02 boots without a ROM present on the board? The last page of the user guide would've been much more useful if the author didn't run out of coffee!
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
User avatar
BigEd
Posts: 6259
Joined: Sun Jan 24, 2010 10:24 am
Location: West Country
Contact:

Re: BOS ROM for PMS B2P

Post by BigEd »

Pernod wrote:Does anyone have any theories on how the 65C02 boots without a ROM present on the board?
You've got me interested now!
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: BOS ROM for PMS B2P

Post by Pernod »

We know it uses the NPFD line from the 1MHz bus and so must map page &FD into the 65C02 address space, then trigger a reset. It transfers &800 bytes from the ROM into &F800-&FFFF. Need to take a closer look at the ROM to understand further.
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: BOS ROM for PMS B2P

Post by jms2 »

I can explain the workings of the E2P, which is the Electron equivalent of the same thing. I also have a commented disassembly somewhere of the E2P code.

However, the B2P can't work in exactly the same way as the E2P. This is because the E2P plugs into a cartridge slot on the Plus 1 and is therefore occupying a rom slot by default, whereas the B2P plugs into the Tube and the 1MHz bus.

The E2P hardware is arranged so that a 256-byte window of Second Processor memory (&FF00-&FFFF) also appears at &8000-&80FF at the relevant ROM slot, in other words you have 0.25K of sideways RAM! When the software is loaded from disc it is able to copy 256 bytes to this location. This then causes three things to happen:

1) Writing to this area generates an interrupt (because of the E2P hardware) and this brings the second processor out of reset.
2) Because the data occupies &FF00-&FFFF, it provides all the vector addresses including (&FFFC). This jump runs a short routine which copies across the remainder of the OS into &F800-&FF00.
3) Subsequent presses of Break retain the second processor environment because some rom header code is retained, which means that when the sideways rom is polled it jumps straight back into the Tube code.

I think what must be happening is that the "window" appears in page &FD on the BBC micro rather than at &8000. I guess there are similar arrangements on the BBC to catch Break presses and do something with 1MHz bus devices?

There is a ROM version of the E2P software, but because the Electron has to maintain the E2P "fake rom" plugged in all the time (except during disc accesses), the code cannot actually run from there. What it does is copy itself into RAM (not only at &400, but also at about &2000 I think) and run from there. The BOS ROM is presumably different; whilst it copies the Tube code to &400 as usual, any * commands can remain accessible from the ROM.

The manual also mentions DRAM refresh. This is done on the E2P by means of a regular clock-generated NMI signal which accesses a a rotating block of memory on a periodic basis. This obviously places a load on the processor, dragging down its performance a bit more than the advertised 2Mhz clock speed would suggest.
User avatar
mlouka
Posts: 86
Joined: Wed Sep 27, 2017 4:57 pm
Location: Halden, Norway
Contact:

Re: BOS ROM for PMS B2P

Post by mlouka »

This is the last page off the B2P manual that Pernod referred to:

"EXTREMELY TECHNICAL SECTION.

This is the bit where we attempt to tell you how our B2P works. The B2P does not have a fancy, expensive ULA chip, but instead simulates the TUBE hardware protocols through some discrete components, and some very neat software. The effect of this is that at language level the TUBE behaves exactly like its ACORN counterpart. However machine code programmers will discover that TUBE software will run slightly slower for two reasons. Firstly the 6502A (or 65C02) processor in the B2P runs at 2MHz as opposed to 3MHz on the ACORN, and secondly, the FIFOs on the TUBE ULA are simulated by the neat software we mentioned previously.

The TUBE byte is located at its official location of &FEE5, but the OSWRCH queue etc. are located in page &FD. This is the reasoning behind the extra connection to the 1MHz bus. All of page &FD is used, so other hardware which uses page &FD will be incompatible with the B2P. After all, page &FD IS set aside for a 64K RAM expansion, and the B2P has got 64K of RAM on board!
Oh dear, I seem to have run out of coffee, so I will stop here and leave the explanations on how we start up a processor without ROM and the concept of DRAM refresh by ----"
BBC Master 128, BBC Model B i7, PMS B2P-6502 2nd proc., PiTubeDirect (both internal and external), RetroClinic Multi-OS Selector, Sundby 256k RAM/ROM card, MMFS, Gotek, Music 500, Hoglet RGBtoHDMI, ...
User avatar
mlouka
Posts: 86
Joined: Wed Sep 27, 2017 4:57 pm
Location: Halden, Norway
Contact:

Re: BOS ROM for PMS B2P

Post by mlouka »

Pernod wrote:
mlouka wrote:I just checked the manual and according to that, there was no system disc.
Yeah, I saw that in the manual. I was referring to http://chrisacorns.computinghistory.org ... mDiscs.pdf, but it doesn't actually say what's on the discs.
Interesting, I have no idea what might have been on those disks. I guess that a search for old magazine ads might be the only way to find out although I suspect that they might simply be referring to the disks they offered for HiWordwise, HiBASIC, etc.
Pernod wrote: I'm not sure how easy it is to get into the B2P but would you be able to get a good photos (so that all IC's are identifiable) of both sides of the board? Does anyone have any theories on how the 65C02 boots without a ROM present on the board? The last page of the user guide would've been much more useful if the author didn't run out of coffee!
It's fairly easy to open but uses little bolts with rather small nuts so needs to be done with care to avoid losing the nuts. I don't have time now but can probably open it up and take pictures tomorrow evening.
BBC Master 128, BBC Model B i7, PMS B2P-6502 2nd proc., PiTubeDirect (both internal and external), RetroClinic Multi-OS Selector, Sundby 256k RAM/ROM card, MMFS, Gotek, Music 500, Hoglet RGBtoHDMI, ...
User avatar
mlouka
Posts: 86
Joined: Wed Sep 27, 2017 4:57 pm
Location: Halden, Norway
Contact:

Re: BOS ROM for PMS B2P

Post by mlouka »

Images of the inside of the second processor. Note that there are no components on the back of the circuit board.
Attachments
PMS-B2P-6502-rear.jpg
PMS B2P-6502 inside 1
PMS B2P-6502 inside 1
BBC Master 128, BBC Model B i7, PMS B2P-6502 2nd proc., PiTubeDirect (both internal and external), RetroClinic Multi-OS Selector, Sundby 256k RAM/ROM card, MMFS, Gotek, Music 500, Hoglet RGBtoHDMI, ...
User avatar
BigEd
Posts: 6259
Joined: Sun Jan 24, 2010 10:24 am
Location: West Country
Contact:

Re: BOS ROM for PMS B2P

Post by BigEd »

So compact! So minimal! Thanks for the photos.
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: BOS ROM for PMS B2P

Post by jms2 »

It has all the same ICs as the E2P, so must work in an almost identical way.
User avatar
Pernod
Posts: 3439
Joined: Fri Jun 08, 2012 11:01 pm
Location: Croydon, UK
Contact:

Re: BOS ROM for PMS B2P

Post by Pernod »

Does anyone have E2P Hi-Wordwise Plus?
- Nigel

BBC Model B: ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, BeebZIF, etc.
B3_B3_B3
Posts: 404
Joined: Sat Apr 08, 2017 10:42 pm
Contact:

Re: BOS ROM for PMS B2P

Post by B3_B3_B3 »

How did the young me miss this at the time
? Did they advertise much ie half page full page 1/4 page?
EDIT The Acorn user review is followed by a very basic 2/4 page text ad (magazines are full of such 'coincidences ' :) ....

The only review mentioned online was Acorn User Mar 87 and I read Micro User..... Also, I might have been concentrating on A levels...
gfoot
Posts: 987
Joined: Tue Apr 14, 2020 9:05 pm
Contact:

Re: BOS ROM for PMS B2P

Post by gfoot »

Thanks for the PCB photos upthread! Has anybody drawn up a schematic based on this? I started doing it but then thought somebody else might have saved me the trouble already!
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: BOS ROM for PMS B2P

Post by jms2 »

I have Kicad drawings for the E2P. As the two designs are closely related, my project would be a good starting point for anyone wanting to clone the B2P.

Bear in mind that I removed the DRAM refresh circuitry and simply used SRAM instead, so you'd need to decide whether you wanted to go 100% authentic or not.

Noting Pernod's question about E2P Hi-Wordwise Plus (which I'd not noticed until now), I don't think anyone has a copy of this ROM, but recently John Wike re-created an approximation of it based on the BBC version of Hi-Wordwise Plus. See this post: https://www.stardot.org.uk/forums/viewt ... 00#p324200
Post Reply

Return to “archive requests”