More BASIC ASCII Mandelbrots ...
Re: More BASIC ASCII Mandelbrots ...
It would be curious to be able to capture the actual results and compare the diagrams amongst the different systems, see what if any changes there are (most likely from the FP implementations).
Re: More BASIC ASCII Mandelbrots ...
drogon wrote:
Well - that's (presumably) ehBasic at 16Mhz...
What's the trick to porting BBC Basic?
Bill
Re: More BASIC ASCII Mandelbrots ...
BillO wrote:
drogon wrote:
Well - that's (presumably) ehBasic at 16Mhz...
What's the trick to porting BBC Basic?
Mines at 6K and growing. (Acorns was about 14K) However to make Basic work, you need the bare minimum - a BRK handler and 3 "OSBYTE" calls. Oh, then you need an OSWORD 0 handler (read line of text). Then .... Start here: http://mdfs.net/Software/BBCBasic/6502/ and ...
And ... er ... good luck getting out of that rabbit hole...
I have plans to open source my works at some point, but I need to do some tidying up and re-arranging of the code somewhat. I've also ran out of room, however that's only because I was looking at TaliForth's 24K executable, if I ignore that (which I probably will), then I have just under 16KB of operating system space. (Memory is $8000-BFFF: Language ROM, $C000 -> $FFFF: OS ROM - Ruby has hardware IO in $FE00-$FEFF and the top 128 bytes of $FF80 are the Ruby/Acorn OS Vector entry points.
Cheers,
-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Re: More BASIC ASCII Mandelbrots ...
whartung wrote:
It would be curious to be able to capture the actual results and compare the diagrams amongst the different systems, see what if any changes there are (most likely from the FP implementations).
-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Re: More BASIC ASCII Mandelbrots ...
drogon wrote:
That's easy - just write an Acorn compatible operating system....
https://github.com/andrew-jacobs/em-ret ... os/mos.asm
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
Re: More BASIC ASCII Mandelbrots ...
Thanks for the Mandelbrot code. I modified it to generate a 100x75 16-color version on my FPGA-based 6502 system
Re: More BASIC ASCII Mandelbrots ...
Very nice!
One thing to watch out for in BBC Basic is that screen coordinates are not necessarily pixels. So, depending on the actual screen resolution, the X and Y increments might be by 2 or 4 units rather than 1. Get this wrong, and it all looks fine but runs much slower than necessary.
One thing to watch out for in BBC Basic is that screen coordinates are not necessarily pixels. So, depending on the actual screen resolution, the X and Y increments might be by 2 or 4 units rather than 1. Get this wrong, and it all looks fine but runs much slower than necessary.