Hi folks,
I have a W65C02SXB Single Board Computer from Western Design Center. You can find the datasheet here:
https://wdc65xx.com/Single-Board-Computers/w65c02sxb/Anyway, I tried using it the way WDC wants us to (in the starter guide here):
https://wdc65xx.com/gettingstarted/02-s ... g-started/but the process has been
very convoluted and at times confusing and not even working, it seems to randomly depend on your Windows install (I tried on different laptops and PCs and sometimes it works).
ANYWAY...
What I want to do is just reprogram the EPROM and experiment from there.
So what I have done is yanked the PLCC Flash ROM (a SST39SF010A @ PLCC32) via my EPROM programmer (TL866II Plus).
In the Windows software for the TL866II Plus (I know there is a Linux/Mac open source program called minipro) I browsed the hex dump. At the bottom, I found the three vectors, all pointing to page $81
However, scrolling to page $81 on the Windows software, I couldn’t see any code. It was just filled with $FF.
So I assume somehow it banks the memory. It’s a 1MB Flash ROM after all. But I don’t know how it has done this banking (or not).
Actually I searched this forum, and there has been an attempt before to make this SXB work, but it involved a lot of other technologies that I don’t want to work with, including Java, Python, etc.
viewtopic.php?f=4&t=6326&start=0All I want to do is to experiment with writing 6502 assembly for it. Assemble on Mac/Win/Lin and then flash the EEPROM. Not unlike Arduino/PIC/Pi.
I also actually found another person who attempted to disassemble the EPROM code:
https://gist.github.com/kalj/66b23c4405 ... 50555af283and the reset/interrupt vectors match what I saw from my own EPROM data read.
.org $fffa
.address $8104 ; NMI
.address $8115 ; RST
.address $8100 ; IRQ
However I have a few questions at this time:
1) What software do I use to disassemble the raw data dump file that I got from the EPROM?
2) Why are the addresses “empty” for, at least, the reset vector pointing to $8115?
3) How do I ensure I can generate an assembled object file that is exactly (length and format) what the TL866II Plus wants, to be written onto the PLCC32 Flash ROM? Either via the Windows software for the TL866II Plus, or the minipro program.
4) I think the best way to make this SXB board work is just to replace the EPROM contents with a usable monitor program that can be accessed via the built-in FTDI USB interface (FT245RL chip) and then it can be connected to any PC via USB and operated via a serial terminal program. Unfortunately WDC has not done this and the way it has to work now is too convoluted.
I searched across the Internet and there have been a few attempts by people to make this SXB product usable, but it seems everyone gave up.
I don’t want to.
Thanks!