Toby Thain wrote:
On 30/10/11 6:10 PM, Dave McGuire wrote:
BBC BASIC has
an inline assembler for 6502?? Wow, that's wild. What
hardware would I need to cobble together to run that?
It's a good little assembler. Because of the integration with BASIC, you
get nice macro-ish facilities as well.
It runs on the BBC Microcomputer, and the BBC BASIC ROM is the usual
standard 16KB language ROM. You can probably get a BBC Micro on ebay; I
have no idea how many, if any, were sold in North America.
Some thousands sold in the US (with modifications for NTSC and 60Hz, and
changes to some spelling (COLOR for COLOUR, etc). I think it may have
had a modified (for 110V) PSU, but I remember a story about that.
I was working for an Acorn (who made the BBC Micro) distributor, and got
a call from someone having trouble with a monitor. He was using his BBC
Micro overseas -- ie not in the UK -- with a TV, but after buying a
monitor instead couldn't get it to work. After a few questions, I
realised he had been running the (unmodified) Beeb with a
locally-purchased TV off 110V. The Beeb didn't mind, the TV was fine of
course, but the monitor he'd bought on a previous trip back to the UK
really did want 240V. Because the Beeb worked he'd never considered the
voltage difference!
Another way to get assembler in BBC BASIC, though with Z80 assembler
rather than 6502, is R.T.Russell's BBC BASIC which runs under CP/M, and
there are other implementations for other OSs (the Windows version has
80486 assembler). There's even one for UNIX, though I can't remember if
that includes an assembler (I think not).
http://www.bbcbasic.co.uk/bbcbasic.html
http://www.bbcbasic.co.uk/bbcbasic/history.html
--
Pete Peter Turnbull
Network Manager
University of York