Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

for bbc micro/electron hardware, peripherals & programming issues (NOT emulators!)
northernbob
Posts: 94
Joined: Fri Nov 24, 2017 6:49 am
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by northernbob » Wed Feb 27, 2019 7:34 am

possible route to a faster connection...

https://www.facebook.com/notes/s80-stac ... _tn__=HH-R

lifi link between beeb and pi.?

the s80 project is worth watching imo.

iainjh
Posts: 330
Joined: Mon May 14, 2012 11:18 am
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by iainjh » Sat Mar 09, 2019 11:27 pm

Hi, i have a Model B & the pi co pro. Works great. BBC is modded to take a 64k eeprom image.

I had been successfully using Beebaid's *tubeoff or tab/break to disable the co-pro before running games. Until recently i blew a new 64k eeprom (still containing beebaid), and now beebaid no longer works! Only *fx 151,230,14 works for me right now and its a bit longwinded. I've moved its location...no luck.

I've build seemingly dozens of new 64k rom images and no joy. Beebaid still runs, but states 'the tube is already off' and no longer toggles the tube.

Can someone please suggest an alternative rom that has a working *tubeoff /*tubeon , or, maybe, tell me why beebaid is no longer working for me?

tia

User avatar
BeebMaster
Posts: 2731
Joined: Sun Aug 02, 2009 4:59 pm
Location: Lost in the BeebVault!
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by BeebMaster » Mon Mar 11, 2019 5:29 pm

Maybe the order of the ROMs is important to BeebAid? Could it be that it needs to be lower or higher than the ROM with Tube host code (DNFS/1770 DFS)? Perhaps making a 64K ROM has altered the order of the ROMs.
Image

User avatar
BeebMaster
Posts: 2731
Joined: Sun Aug 02, 2009 4:59 pm
Location: Lost in the BeebVault!
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by BeebMaster » Mon Mar 11, 2019 5:47 pm

Could we have a configurable, or higher default, RAM allocation for the Native ARM co-pro? 64MB would be great, and the reason I say that is it would allow an entire real-life Winchester disc to be read into RAM all in one go (there can't be many Winnies bigger than 60MB out there) then a quick fiddle with what you've got dangling from your 1MHz and you could change from your source Winnie to your destination grain of silicon and continue with the backup.
Image

User avatar
hoglet
Posts: 8281
Joined: Sat Oct 13, 2012 6:21 pm
Location: Bristol
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by hoglet » Mon Mar 11, 2019 6:01 pm

BeebMaster wrote:
Mon Mar 11, 2019 5:47 pm
Could we have a configurable, or higher default, RAM allocation for the Native ARM co-pro? 64MB would be great, and the reason I say that is it would allow an entire real-life Winchester disc to be read into RAM all in one go (there can't be many Winnies bigger than 60MB out there) then a quick fiddle with what you've got dangling from your 1MHz and you could change from your source Winnie to your destination grain of silicon and continue with the backup.
What is it at the moment? 16MB? Unfortunately, It's not quite as easy as changing a number somewhere.

Increasing to 30MB would be easy I think, more than that requires changing quite a few other things.

Currently the PiTubeDirect kernel loads to 0x01F00000 (31MB in the memory map) and the various stacks sit just below this.

The memory the Co Pro's see starts at 0x00000000.

So whilst there is 512MB of RAM, it's kind of hard to use at the moment.

Dave
Last edited by hoglet on Mon Mar 11, 2019 6:15 pm, edited 1 time in total.

dp11
Posts: 931
Joined: Sun Aug 12, 2012 8:47 pm
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by dp11 » Mon Mar 11, 2019 6:45 pm

It has been on my list to re organise the ram to enable larger memory , but with no actual requirement till now it has been at the bottom of my todo list.

User avatar
hoglet
Posts: 8281
Joined: Sat Oct 13, 2012 6:21 pm
Location: Bristol
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by hoglet » Mon Mar 11, 2019 6:55 pm

dp11 wrote:
Mon Mar 11, 2019 6:45 pm
It has been on my list to re organise the ram to enable larger memory , but with no actual requirement till now it has been at the bottom of my todo list.
Any thoughts on how to deal with the 256MB vs 512MB possible RAM on the Pi One?

i.e. Drop the older 256MB models, or separate 256MB and 512MB build?

All Pies are listed here:
https://elinux.org/RPi_HardwareHistory

Dave
Last edited by hoglet on Mon Mar 11, 2019 6:57 pm, edited 1 time in total.

dp11
Posts: 931
Joined: Sun Aug 12, 2012 8:47 pm
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by dp11 » Mon Mar 11, 2019 7:24 pm

I was thinking of dropping pi 1 , but we could say limit copros to 240Mbytes . I don't really want another build.

RobC
Posts: 2626
Joined: Sat Sep 01, 2007 9:41 pm
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by RobC » Mon Mar 11, 2019 7:57 pm

GoSDC will allow you to backup a real Winchester and write a new image to it.

As far as I know, it'll handle the maximum size under ADFS (512MB).

scruss
Posts: 135
Joined: Sun Jul 01, 2018 3:12 pm
Location: Toronto
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by scruss » Tue Mar 12, 2019 12:16 am

hoglet wrote:
Mon Mar 11, 2019 6:55 pm
dp11 wrote:
Mon Mar 11, 2019 6:45 pm
It has been on my list to re organise the ram to enable larger memory , but with no actual requirement till now it has been at the bottom of my todo list.
Any thoughts on how to deal with the 256MB vs 512MB possible RAM on the Pi One?
TBH, the 256 MB ones are so rare (and almost all use the old 26-pin header format) that it would be reasonable to drop support for them.

strawberrytau
Posts: 43
Joined: Sun Mar 11, 2018 8:58 am
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by strawberrytau » Mon Apr 01, 2019 1:51 pm

iainjh wrote:
Sat Mar 09, 2019 11:27 pm
Hi, i have a Model B & the pi co pro. Works great. BBC is modded to take a 64k eeprom image.

I had been successfully using Beebaid's *tubeoff or tab/break to disable the co-pro before running games. Until recently i blew a new 64k eeprom (still containing beebaid), and now beebaid no longer works! Only *fx 151,230,14 works for me right now and its a bit longwinded. I've moved its location...no luck.

I've build seemingly dozens of new 64k rom images and no joy. Beebaid still runs, but states 'the tube is already off' and no longer toggles the tube.

Can someone please suggest an alternative rom that has a working *tubeoff /*tubeon , or, maybe, tell me why beebaid is no longer working for me?

tia
Iain - did you manage to fix this? I am also struggling to get BEEBAID TUBEON/OFF working on my BBC B.

User avatar
jgharston
Posts: 3576
Joined: Thu Sep 24, 2009 11:22 am
Location: Whitby/Sheffield
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by jgharston » Mon Apr 01, 2019 2:08 pm

There's disk-based *TUBE ON|OFF|num on Tube Utilities Disk.

And the BBC ROM Manager & Utilities has a ROM-based *TUBE ON|OFF|num command.
Last edited by jgharston on Mon Apr 01, 2019 2:09 pm, edited 1 time in total.

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.25
(C) Copyright J.G.Harston 1989,2005-2015
>_

strawberrytau
Posts: 43
Joined: Sun Mar 11, 2018 8:58 am
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by strawberrytau » Mon Apr 01, 2019 2:48 pm

jgharston wrote:
Mon Apr 01, 2019 2:08 pm
There's disk-based *TUBE ON|OFF|num on Tube Utilities Disk.

And the BBC ROM Manager & Utilities has a ROM-based *TUBE ON|OFF|num command.
Thanks Jonathan. That's very helpful!

Can you please point me in the right direction to find the ROM-based *TUBE on your site? I have intalled SRAMv130, but it doesn't seem to have this command. Have I got the correct ROM?
Screenshot 2019-04-01 at 15.45.17.png
Screenshot 2019-04-01 at 15.45.27.png
Screenshot 2019-04-01 at 15.45.34.png
Last edited by strawberrytau on Mon Apr 01, 2019 3:07 pm, edited 2 times in total.

northernbob
Posts: 94
Joined: Fri Nov 24, 2017 6:49 am
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by northernbob » Wed Apr 03, 2019 6:40 am

i spotted this recently....

the pi 4 has a built in z80! eg it comes with an fpga

https://youtu.be/Y1fcQb708vw

....yes and also a 6502.

(sadly this might all be fake)
Last edited by northernbob on Wed Apr 03, 2019 6:49 am, edited 2 times in total.

User avatar
hoglet
Posts: 8281
Joined: Sat Oct 13, 2012 6:21 pm
Location: Bristol
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by hoglet » Wed Apr 03, 2019 6:43 am

northernbob wrote:
Wed Apr 03, 2019 6:40 am
i spotted this recently....

the pi 4 has a built in z80! eg it comes with an fpga
You are two days late - April 1st was on Monday.

dp11
Posts: 931
Joined: Sun Aug 12, 2012 8:47 pm
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by dp11 » Mon Jun 24, 2019 6:05 am

PiTubeDirect now supports the new Raspberry Pi4 (see :https://www.raspberrypi.org/products/ra ... 4-model-b/)

My work so far should be considered as beta. Cores programmed in C see a good performance increase . Arm native core is now so fast some work is needed on the CLOCKSP program as I get divide by zero errors!

There is still a few jobs to sort out e.g LED isn't driven. I've moved over to the latest version of GCC ( https://developer.arm.com/tools-and-sof ... /downloads) so you will need that installed and on your path under linux ( windows WSL is what I use) if you want to rebuild. Git hub should be updated later on today.

To use the the code you will need the in addition to the files in github the following files from Raspberry Pi 4 SDCARD : start4cd.elf fixup4cd.dat bcm2711-rpi-4-b.dtb

If you want a new Raspberry Pi quickly and in or around Cambridge then the shop in the Grand arcade has stock.

User avatar
Elminster
Posts: 3554
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by Elminster » Mon Jun 24, 2019 10:58 am

I was going to ask if anyone could think of a project where the extra abilities of the Pi4 will help.

Not ordered one yet, with 16 of them already I really need to think of a reason (excuse) to get another one.

Not sure the updated code is a reason but at least I know I can use it as a co-pro

=D>

User avatar
fordp
Posts: 1016
Joined: Sun Feb 12, 2012 9:08 pm
Location: Kent, England
Contact:

Re: Pi-based Co-Pro on the cheap - 100MHz 6502 for £10? (now 274MHz)

Post by fordp » Mon Jun 24, 2019 8:17 pm

Amazing work the fastest second processor in the world just got a bit faster!
FordP (Simon Ellwood)
Time is an illusion. Lunchtime, doubly so!

Post Reply