PiTubeDirect

bbc/electron apps, languages, utils, educational progs, demos + more
Post Reply
mikeh_nz
Posts: 78
Joined: Wed Nov 30, 2022 3:24 am
Location: Seattle
Contact:

PiTubeDirect

Post by mikeh_nz »

Ive been trying to get the PiTubeDirect going with my BBC Model B without success.
Im using With it plugged into the level shifters and the BBC model B, its not recognizing the copro is there - The banner is still "BBC 32K Computer".

Detaching the Pi Zero from the BBC and the level shifters - I started on the validation steps https://github.com/hoglet67/PiTubeDirec ... Validation

Flipping the config.txt into debug mode - I get the following from Ardunio's serial monitor

Code: Select all

enable_MMU_and_IDCaches
TAG_LAUNCH_VPU1 returned 00000000


**********     Raspberry Pi BBC Micro Coprocessor     **********


    FIRMWARE_VERSION : 61967cd1
         BOARD_MODEL : 00000000
      BOARD_REVISION : 009000c1
   BOARD_MAC_ADDRESS : 46eb27b85f387c9c
        BOARD_SERIAL : 50469c7c00000000
           EMMC_FREQ :    200.000 MHz    200.000 MHz    200.000 MHz
           UART_FREQ :     48.000 MHz   1000.000 MHz   1000.000 MHz
            ARM_FREQ :   1000.000 MHz   1000.000 MHz   1000.000 MHz
           CORE_FREQ :    400.000 MHz    400.000 MHz    400.000 MHz
            V3D_FREQ :    300.000 MHz    300.000 MHz    300.000 MHz
           H264_FREQ :      0.000 MHz    300.000 MHz    300.000 MHz
            ISP_FREQ :      0.000 MHz    300.000 MHz    300.000 MHz
          SDRAM_FREQ :      0.000 MHz    450.000 MHz    450.000 MHz
          PIXEL_FREQ :      0.000 MHz   2400.000 MHz   2400.000 MHz
            PWM_FREQ :      0.000 MHz    500.000 MHz    500.000 MHz
           CORE TEMP :  29.32 °C
        CORE VOLTAGE :   1.35 V
     SDRAM_C VOLTAGE :   1.20 V
     SDRAM_P VOLTAGE :   1.20 V
     SDRAM_I VOLTAGE :   1.20 V
            CMD_LINE : bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 dma.dmachans=0x7ff5 bcm2708.boardrev=0x9000c1 bcm2708.serial=0x50469c7c bcm2708.uart_clock=48000000 bcm2708.disk_led_gpio=47 smsc95xx.macaddr=B8:27:EB:46:9C:7C vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  copro=24 copro1_speed=3 copro3_speed=4 tube_delay=0 elk_mode=0 vdu=0
               COPRO : 24
Tube ULA sample delay  0
Raspberry Pi Direct 24 65C02 (JIT) Client
>> 
>> [0K
[3C⸮emulator speed 0
Copro Memory size 0
and the following from winPutty

Code: Select all

enable_MMU_and_IDCaches
TAG_LAUNCH_VPU1 returned 00000000


**********     Raspberry Pi BBC Micro Coprocessor     **********


    FIRMWARE_VERSION : 61967cd1
         BOARD_MODEL : 00000000
      BOARD_REVISION : 009000c1
   BOARD_MAC_ADDRESS : 46eb27b85f387c9c
        BOARD_SERIAL : 50469c7c00000000
           EMMC_FREQ :    200.000 MHz    200.000 MHz    200.000 MHz
           UART_FREQ :     48.000 MHz   1000.000 MHz   1000.000 MHz
            ARM_FREQ :    999.998 MHz   1000.000 MHz   1000.000 MHz
           CORE_FREQ :    400.000 MHz    400.000 MHz    400.000 MHz
            V3D_FREQ :    300.000 MHz    300.000 MHz    300.000 MHz
           H264_FREQ :      0.000 MHz    300.000 MHz    300.000 MHz
            ISP_FREQ :      0.000 MHz    300.000 MHz    300.000 MHz
          SDRAM_FREQ :      0.000 MHz    450.000 MHz    450.000 MHz
          PIXEL_FREQ :      0.000 MHz   2400.000 MHz   2400.000 MHz
            PWM_FREQ :      0.000 MHz    500.000 MHz    500.000 MHz
           CORE TEMP :  33.63 °C
        CORE VOLTAGE :   1.35 V
     SDRAM_C VOLTAGE :   1.20 V
     SDRAM_P VOLTAGE :   1.20 V
     SDRAM_I VOLTAGE :   1.20 V
            CMD_LINE : bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 dma.dmachans=0x7ff5 bcm2708.boardrev=0x9000c1 bcm2708.serial=0x50469c7c bcm2708.uart_clock=48000000 bcm2708.disk_led_gpio=47 smsc95xx.macaddr=B8:27:EB:46:9C:7C vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  copro=24 copro1_speed=3 copro3_speed=4 tube_delay=0 elk_mode=0 vdu=0
               COPRO : 24
Tube ULA sample delay  0
Raspberry Pi Direct 24 65C02 (JIT) Client
>> ▒emulator speed 0
Copro Memory size 0
This page https://github.com/hoglet67/PiTubeDirec ... Validation makes me think the output should end in

Code: Select all

tube reset - copro 0
If the hdmi cable is plugged into the pi Zero from power up, Pi Zero outputs 4 square colors (kind of akin to the Microsoft Windows logo).

Is the software working correctly on my Pi Zero - or would you expect something different?
dp11
Posts: 1757
Joined: Sun Aug 12, 2012 9:47 pm
Contact:

Re: PiTubeDirect

Post by dp11 »

After the been has booted try pressing ctrl break
User avatar
hoglet
Posts: 12663
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: PiTubeDirect

Post by hoglet »

Does your model B have a DFS (or MMFS) ROM fitted?

(you need a file system ROM that includes the Tube Host code)

What level shifter are you using?
mikeh_nz
Posts: 78
Joined: Wed Nov 30, 2022 3:24 am
Location: Seattle
Contact:

Re: PiTubeDirect

Post by mikeh_nz »

Thanks for the quick reply..

Only the DFS 0.9E rom is installed the machine. Well, plus the Basic & OS 1.20 roms.

(I do have a MMFS 1.45 rom around, but its not installed at present.)

It’s a Kjell Sundby made level shifter (it’s the “fitted under the bbc for pi zero” model).

I’ve got a short 40 wire ribbon cable extension in case I want to access the hdmi port / scope signals.

I’ve tried the ctrl+break. I’ve noticed on the pi zero each ctrl+break will toggle a led (over by the power usb port) on, and then the next ctrl+break will toggle the led off.

I have tried powering the pi from usb separately and not from bbc. But same behaviour.

Did the serial output look correct?

Cheers
Mike
User avatar
hoglet
Posts: 12663
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: PiTubeDirect

Post by hoglet »

mikeh_nz wrote: Mon Mar 11, 2024 3:13 pm Only the DFS 0.9E rom is installed the machine. Well, plus the Basic & OS 1.20 roms.
I don't think DFS 0.9 includes the Tube Host code, which would cause exactly the symptoms you are seeing. You need a later version, for example DFS 1.20.
mikeh_nz wrote: Mon Mar 11, 2024 3:13 pm (I do have a MMFS 1.45 rom around, but its not installed at present.)
For now, try adding the MMFS 1.45 ROM, as this also includes the Tube Host code.
mikeh_nz wrote: Mon Mar 11, 2024 3:13 pm I’ve tried the ctrl+break. I’ve noticed on the pi zero each ctrl+break will toggle a led (over by the power usb port) on, and then the next ctrl+break will toggle the led off.
That's expected and a good sign.
mikeh_nz wrote: Mon Mar 11, 2024 3:13 pm Did the serial output look correct?
It looked OK to me.

Dave
mikeh_nz
Posts: 78
Joined: Wed Nov 30, 2022 3:24 am
Location: Seattle
Contact:

Re: PiTubeDirect

Post by mikeh_nz »

Thanks Dave,

That was it - a lack of the Turbo loader code. DFS 0.9E doesnt contain it.
Adding MMFS 1.45, gets it going. I'll have a hunt around for a DFS 1.20 image and burn an eprom.

Thanks again for your help & this project :)
I know the community very much appreciates the contributions that you've made... Thank you!

Mike
Post Reply

Return to “8-bit acorn software: other”