|
|
|
|
Re: CRC65, a 6502 SBC [message #8327 is a reply to message #8322] |
Thu, 18 February 2021 01:29   |
simonj5
Messages: 13 Registered: October 2018 Location: Cambridge, UK
|
Junior Member |
|
|
I have stumbled across DOS/65 on a site primarily focussed on the Z80[!] that claims 'DOS/65 - an interesting operating system with file system compatibility to CP/M-80 (and other similarities)'. Included on the site are instructions for 'bringing the system up'.
My CRC65 PCB has arrived from China and I'm collecting the other components so when I get time [yeah...] I'll have a go at assembling a CRC65 and get it running in the default configuration before, perhaps, having a go at producing a suitable DOS/65 disk image.
Incidentally Bill, on the 6502.org forum you hinted at some changes to VGARC that were needed to get it working with the modified RC2014 bus; I know that you are tremendously busy and have a work rate that puts me to shame but do you have an update on a VGARC update?
Simon
[Edited] A closer look at the site suggests that a lot of the work is done using a Z80-based cartridge... Perhaps time for a rethink
[Updated on: Thu, 18 February 2021 02:15] Report message to a moderator
|
|
|
Re: CRC65, a 6502 SBC [message #8329 is a reply to message #8327] |
Thu, 18 February 2021 07:26   |
plasmo
Messages: 916 Registered: March 2017 Location: New Mexico, USA
|
Senior Member |
|
|
Simon,
Thanks for the link to DOS/65. CRC65 method of booting off CF disk is more complicated than necessary, but I am hoping the presence of a CF disk would motivate myself and others to look into disk operating system of some sort for 6502. DOS/65 seems a step in the right direction.
The mapping of address lines on VGARC works with Z80's extended I/O addressing which essentially byte-swap the high-order addresses with the low-order addresses. To make it works for 6502, I need to cut the highest 4 addresses (A15 to A12) and wire it to A4-A7, so there are 4 cuts and 4 jumpers. I think a better solution is a new pc board with address A0-A11 to the dual port RAM. Such new design would work with 680x0, 6809, and 6502. I plan to make the 4 cuts and 4 jumpers just to make sure it all works for 6502 before I do the new board layout.
Bill
PS, please keep me updated regarding your status with CRC65. A fresh new pair of eyes is always informative. I welcome your comments and questions.
|
|
|
|
|
|
|
Re: CRC65, a 6502 SBC [message #10160 is a reply to message #9701] |
Sun, 06 November 2022 20:30  |
plasmo
Messages: 916 Registered: March 2017 Location: New Mexico, USA
|
Senior Member |
|
|
Version 3 of DOS/65 is successfully ported to CRC65. DOS/65 is a CP/M 2.2 clone for 6502 processor. It is created by Richard Leary who has released it as freeware under GNU General Public License V3. Beside the sources of DOS/65 in 6502 assembly, a number of supporting programs are also available as 6502 assembly codes. Programs such as editor, assembler, debug, super directory, BASIC compiler, BASIC interpreter, Xmodem, and others.
Porting DOS/65 to CRC65 is similar to porting CP/M to Z80 processors. A platform-specific BIOS (called SIM in DOS/65) is required to interface to the specific hardware. DOS/65 implemented on CRC65 has four 8-meg drives and a serial port at 115200. Like CP/M, interrupt processing is not required for DOS/65. CRC65 has 58K of RAM of which 52K is available as transient program area. DOS/65's disk format is compatible with CP/M so it is possible to read CP/M disk in DOS/65. This feature was useful initially to copy DOS/65 programs to CF disk before XMODEM file transfer was available.
Included in DOS/65 distribution is a MicroSoft BASIC interpreter comparable to CP/M's MBASIC80.COM. I have overclocked CRC65's 6502 to 29.5MHz similar to ZRCC overclock Z80 to 29.5MHz, so here is a comparison of mandelbrot benchmark executed by 29.5MHz Z80 with MBASIC80 vs. 29.5MHz 6502 with DOS/65 BASIC:
Z80 CP/M:115 seconds
6502 DOS/65: 51 seconds
Clock-for-clock, 6502 is about 2.2x faster than Z80
I have created a page of DOS/65 port for CRC65 here:
https://www.retrobrewcomputers.org/doku.php?id=builderpages: plasmo:crc65:dos65:dos65home
Bill
|
|
|