6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 2:57 pm

All times are UTC




Post new topic Reply to topic  [ 75 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: W65C265SXB
PostPosted: Tue Dec 08, 2015 4:34 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
In a moment of weakness I decided to try one of these boards out as well.

Looks much easier to add extra SRAM to this board. The chip provides chip selects for some external banks and full 24 bit address. It runs slower so I can use some of my 55nS 512K RAMs with it.

Four UARTs + the USB makes it easy to connect to serially and the UARTs support a faster 56K baud. Not as much I/O capability as the microprocessor boards but I don't think I need that much.

_________________
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  
 Post subject: Re: W65C265SXB
PostPosted: Tue Dec 08, 2015 4:48 pm 
Offline

Joined: Mon Jan 07, 2013 2:42 pm
Posts: 576
Location: Just outside Berlin, Germany
Do we know if these UARTs have the same bug as the 6551 as a chip? And I note that Mouser.de has the price at €100 -- yikes! Can that be right?

EDIT: Scratch that, just found your other thread. Sorry, I'd somehow missed that.


Top
 Profile  
Reply with quote  
 Post subject: Re: W65C265SXB
PostPosted: Thu Dec 10, 2015 11:58 am 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
Completely different UART design. Should not have the same bug.

My board has arrived intact. Rubber feet added. Time for a test drive.

_________________
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  
 Post subject: Re: W65C265SXB
PostPosted: Thu Dec 10, 2015 2:08 pm 
Offline

Joined: Mon Jan 07, 2013 2:42 pm
Posts: 576
Location: Just outside Berlin, Germany
BitWise wrote:
Completely different UART design. Should not have the same bug.
Ah, now that is very interesting. Looking forward to hearing how this turns out.


Top
 Profile  
Reply with quote  
 Post subject: Re: W65C265SXB
PostPosted: Sat Dec 12, 2015 5:28 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
The slower clock speed on the W65C265SXB makes it much easier to play with the hardware. I couldn't find my 512K SRAMs but I did turn up a 128K so I added it using jumper wires and a breadboard. Should be plenty to play with until I locate the bigger chips.
Attachment:
File comment: Loads of wires
DSCN1892.JPG
DSCN1892.JPG [ 2.13 MiB | Viewed 4922 times ]

This shows the connections.
Attachment:
File comment: 128K SRAM Expansion
W65C265SXB 128K SRAM Expansion.png
W65C265SXB 128K SRAM Expansion.png [ 17.13 KiB | Viewed 4922 times ]

I have some spare 128K Flash EEPROMs I got to backup the W65C816SXB firmware so I'm going to populate the empty ROM socket as well.

_________________
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  
 Post subject: Re: W65C265SXB
PostPosted: Sat Dec 12, 2015 9:06 pm 
Offline

Joined: Mon Sep 14, 2015 8:50 pm
Posts: 112
Location: Virginia USA
Hi Bitwise,

I would ask if you've looked at the tone generator firmware source (file: R_TONES.ASM page 109 265romlist file) and if it's the same on the sxb board rom. There would appear to be a bug if routine is entered with a number in accumulator larger than 3 a crash would happen. Routine is entered with pha, phd, phb and on error exits pla sec rtl. Code would start @ 00:$f423 - 00: $f441 according to source code list but may have moved if rom had been reassembled since 1995-2000. There is a jump table
and CONTROL_TONES is located at 00:$e009(?).

Regards,
Andy


Top
 Profile  
Reply with quote  
 Post subject: Re: W65C265SXB
PostPosted: Sat Dec 12, 2015 11:08 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
handyandy wrote:
Hi Bitwise,

I would ask if you've looked at the tone generator firmware source (file: R_TONES.ASM page 109 265romlist file) and if it's the same on the sxb board rom. There would appear to be a bug if routine is entered with a number in accumulator larger than 3 a crash would happen. Routine is entered with pha, phd, phb and on error exits pla sec rtl. Code would start @ 00:$f423 - 00: $f441 according to source code list but may have moved if rom had been reassembled since 1995-2000. There is a jump table
and CONTROL_TONES is located at 00:$e009(?).

Regards,
Andy

I've not looked at it before but you're right compared, it looks like the routine fails to pull DBR and DP off the stack before returning when the argument is invalid.

If you execute AND #$03 before calling the routine it should always work.

The monitor on my SXB has the same assembly date and time as the listing so it looks like the mask ROM in the W65C265 chips hasn't been updated in 10 years and the bug will be in all of them.

_________________
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  
 Post subject: Re: W65C265SXB
PostPosted: Mon Dec 28, 2015 12:40 am 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
I've started a port of my SXB hacker code to the 65C265. The basic commands and XMODEM appear to be working but erasing and loading into the flash ROM needs some more work.

First cut of the source files are on Github here https://github.com/andrew-jacobs/w65c265sxb-hacker.

I'm rearranging the code and adding some conditional bits so that the 65C816 and 65C265 will use a common module for the commands with hardware related bits in a separate module. Its a work in progress at the moment.

_________________
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  
 Post subject: Re: W65C265SXB
PostPosted: Wed Dec 30, 2015 5:44 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
No longer a big mess of wires. 2x 512K of SRAM on a daughter board.

Attachment:
DSCN1897.JPG
DSCN1897.JPG [ 2.1 MiB | Viewed 4797 times ]

_________________
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  
 Post subject: Re: W65C265SXB
PostPosted: Sun Jan 10, 2016 2:50 pm 
Offline

Joined: Mon Sep 14, 2015 8:50 pm
Posts: 112
Location: Virginia USA
While browsing I came across this: http://wdc65xx.com/gettingstarted/ and it says that the 265sxb can be powered and interfaced with an android smartphone. Is there an app for that?

Regards,
Andy


Top
 Profile  
Reply with quote  
 Post subject: Re: W65C265SXB
PostPosted: Sun Jan 10, 2016 4:06 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
handyandy wrote:
While browsing I came across this: http://wdc65xx.com/gettingstarted/ and it says that the 265sxb can be powered and interfaced with an android smartphone. Is there an app for that?

Regards,
Andy

I guess you just need the right USB cable and a serial terminal application.

_________________
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  
 Post subject: Re: W65C265SXB
PostPosted: Tue Jan 12, 2016 12:33 am 
Offline

Joined: Sun Aug 30, 2015 10:23 pm
Posts: 36
Nice work on the daughter board, I have an EagleCAD schematic and layout for a similar board with 4 x 512KB SRAM and 512KB of flash, but never finished it.

What did you use for layout? I'm curious about positioning of the header, etc.

I have written a Python class for communicating with the firmware for doing uploads of code and the like for non-Windows folks. I used that combined with a Makefile that can assembly code in ca65 and then upload it to the system to execute. I will try to clean it up and get it up on github or similar.


Top
 Profile  
Reply with quote  
 Post subject: Re: W65C265SXB
PostPosted: Tue Jan 12, 2016 8:07 pm 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
porcupine wrote:
What did you use for layout? I'm curious about positioning of the header, etc.

That board was done with DesignSpark, the free PCB design tool from RS components.

_________________
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  
 Post subject: Re: W65C265SXB
PostPosted: Tue Jan 19, 2016 7:18 pm 
Offline
User avatar

Joined: Fri Oct 30, 2015 9:49 pm
Posts: 54
Location: San Antonio, TX
That is really awesome...

Would a similar memory board work for W65C816SXB as well ?
Do you have any plans of designing one for W65C816SXB ?


Top
 Profile  
Reply with quote  
 Post subject: Re: W65C265SXB
PostPosted: Wed Jan 20, 2016 7:00 pm 
Offline

Joined: Mon Jan 07, 2013 2:42 pm
Posts: 576
Location: Just outside Berlin, Germany
Well, you convinced me. Just ordered one, including a bunch of Flash ROMs. Me thinks this should be the quickest way to get a 65816 system up for testing my assembler and emulator and stuff. Will post in this thread once I get it up and running.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 75 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] 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: