6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 11:20 am

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Tue May 21, 2019 8:42 pm 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
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).


Top
 Profile  
Reply with quote  
PostPosted: Tue May 21, 2019 9:01 pm 
Offline
User avatar

Joined: Fri Dec 12, 2008 10:40 pm
Posts: 1007
Location: Canada
drogon wrote:
Well - that's (presumably) ehBasic at 16Mhz...
Right!

What's the trick to porting BBC Basic?

_________________
Bill


Top
 Profile  
Reply with quote  
PostPosted: Tue May 21, 2019 9:15 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1488
Location: Scotland
BillO wrote:
drogon wrote:
Well - that's (presumably) ehBasic at 16Mhz...
Right!

What's the trick to porting BBC Basic?


That's easy - just write an Acorn compatible operating system....

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/


Top
 Profile  
Reply with quote  
PostPosted: Tue May 21, 2019 9:29 pm 
Offline
User avatar

Joined: Wed Feb 14, 2018 2:33 pm
Posts: 1488
Location: Scotland
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).


That's very good point... And I've just checked - and They're identical. they may differ in deeper magnifications or with a greater number of "colours" in the pallet, but for the text version all come out the same.

-Gordon

_________________
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/


Top
 Profile  
Reply with quote  
PostPosted: Wed May 22, 2019 11:06 am 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
drogon wrote:
That's easy - just write an Acorn compatible operating system....


This is MOS clone I wrote for my PIC24 6502 emulator. It contains a little more than the bare minimumm but not much more.

https://github.com/andrew-jacobs/em-retro/blob/master/code/6502/mos/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


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 10, 2019 11:38 pm 
Offline
User avatar

Joined: Fri Mar 08, 2019 4:16 pm
Posts: 28
Thanks for the Mandelbrot code. I modified it to generate a 100x75 16-color version on my FPGA-based 6502 system
Attachment:
mandel.jpg
mandel.jpg [ 97.5 KiB | Viewed 411 times ]


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 11, 2019 11:15 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: