Difference between Torch z80, 6502 and Arm second processors ( beebem)

Discuss all aspects of programming here. From 8-bit through to modern architectures.
Post Reply
Microboy
Posts: 9
Joined: Thu Jun 07, 2018 7:49 pm

Difference between Torch z80, 6502 and Arm second processors ( beebem)

Post by Microboy » Sat Jun 09, 2018 8:54 pm

what's the difference between the 3 processors, what do they do

do i still need to program in basic or can i go straight in 6502 and z80 like in most MAchine code monitors?

pcbbc
Posts: 8
Joined: Wed Jun 21, 2017 2:23 pm
Contact:

Re: Difference between Torch z80, 6502 and Arm second processors ( beebem)

Post by pcbbc » Mon Jun 11, 2018 9:23 am

Don't know about the ARM, but both the 6502 and Z80 should come with a copy of BASIC.

The 6502 will work with the same copy of BASIC as installed in the main BBC, just copied across the TUBE. Although it is advantageous to have the HI-BASIC version (you can load it form disk) so that HIMEM is at &B800 (instead of &8000) giving you 14K of extra program space. If you have a Master with the later OS release (3.5) the IO processors copy of BASIC is automatically relocated from &8000 to &B800 for you.

Obviously for non-6502 based 2nd processors you will need a specific version of BASIC as the 6502 one from the IO processor is useless.

All second processor implementations of BASIC should include the appropriate assembler for the second processor. There isn't a default machine code monitor included with any of them.

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

Re: Difference between Torch z80, 6502 and Arm second processors ( beebem)

Post by Elminster » Mon Jun 11, 2018 9:38 am

Also with the second processor on 6502 you can use Advanced BASIC. This combines Hi-Basic (to give extra memory) with a version of BASIC that has extra comamnds in it. i.e. If proved IF.

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

Re: Difference between Torch z80, 6502 and Arm second processors ( beebem)

Post by RobC » Mon Jun 11, 2018 3:13 pm

pcbbc wrote:
Mon Jun 11, 2018 9:23 am
Don't know about the ARM...
Versions of BBC BASIC are available for the original ARM evaluation system, the Sprow ARMTDMI and the native ARM core on the Pi core.

There are loads of other languages available for the ARM co-pro (and for the 32016 too).

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

Re: Difference between Torch z80, 6502 and Arm second processors ( beebem)

Post by jgharston » Tue Jun 12, 2018 1:23 am

BBC BASIC is available for almost any CPU you want.

Code: Select all

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

User avatar
Richard Russell
Posts: 231
Joined: Sun Feb 27, 2011 10:35 am
Location: Downham Market, Norfolk
Contact:

Re: Difference between Torch z80, 6502 and Arm second processors ( beebem)

Post by Richard Russell » Tue Jun 12, 2018 8:33 am

jgharston wrote:
Tue Jun 12, 2018 1:23 am
BBC BASIC is available for almost any CPU you want.
iOS is missing from your table of platforms, I think.

Post Reply