RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » CB030, A 68030 SBC for hobbyists
Re: CB030, A 68030 SBC for hobbyists [message #10074 is a reply to message #10066] Fri, 12 August 2022 01:13 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
RTC working nicely:

$ setime -s
August 12, 2022 Friday 2:12:49 am

/forum/index.php?t=getfile&id=2783&private=0
Re: CB030, A 68030 SBC for hobbyists [message #10075 is a reply to message #10073] Fri, 12 August 2022 09:33 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
newjes250 wrote on Thu, 11 August 2022 21:31
@Plasmo,

I have been looking at your nice DRAM 32bit interface: could it be piggybacked by one or more Dual-port SRAMs?
MA lines are there for RAS/CAS latching to the dram chips. But they could be latched for other purposes.
32 Data lines are just begging to be used. Your other video designs grab off a copy of data for text-video use,
using it for graphics use would be terrific!

Collecting parts just in case.

newJes250
CB030 has a 8-bit RC2014-like expansion port, but I have not thought about 32-bit wide expansion nor a connector for it, mainly because it takes too much PCB real-estate. Since the DRAM interface is already there, it is intriguing to think about interfacing to video RAM (VRAM) for graphic application. Tiny68K has the same DRAM interface and additional DRAM interface in the form of an edge connector. I also have a prototype board designed quite a while ago specifically for Tiny68K's DRAM edge connector. I should look into the possibility of graphic function for Tiny68K.
Bill
Re: CB030, A 68030 SBC for hobbyists [message #10076 is a reply to message #10074] Fri, 12 August 2022 09:39 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
mikesmith wrote on Fri, 12 August 2022 02:13
RTC working nicely:
Good, I think I will design a small PCB to support the DS1302 RTC. It will have the original 7-segment display connector so the existing display adapter can piggyback over the RTC.
Bill

[Updated on: Fri, 12 August 2022 09:41]

Report message to a moderator

Re: CB030, A 68030 SBC for hobbyists [message #10077 is a reply to message #10075] Fri, 12 August 2022 15:11 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
I'd definitely be in line for any expansion hardware you happen to cook up. I'm also still curious about the "differences" in timing vs. "standard" RC2014 that you've mentioned.

Re: CB030, A 68030 SBC for hobbyists [message #10088 is a reply to message #10077] Sun, 14 August 2022 19:11 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
I downloaded the latest version of OS-9 this afternoon and was successful in compiling the software. I took the ROM binary in CB030\CMDS\BOOTOBJS\ROMBUG\romboot and burn that into a SST39SF040 flash. Insert the ROM in CB030 and power up, I got this (at 9600 baud) on the console:

OS-9/68K System Bootstrap
Now trying to boot from CompactFlash.
CF: DRQ/BSY timeout
Cannot read bootfile.
This error occurred during the  boot driver!
The OS-9 error code is: #000:244.

Now trying to download from ROM.
Now searching memory ($FE000000 - $FE07FFFF) for an OS-9 Kernel...

No OS-9 kernel was found.
This error occurred during the  boot driver!
The OS-9 error code is: #000:221.

Now trying to reset the system.

This message repeats every few seconds. Apparently it is looking for a boot file in the CF disk. So I formatted a CF disk on my PC and copied CB030\CMDS\BOOTOBJS\BOOTFILES\diskboot.bf to the newly formatted CF disk. Power up CB030, but still received the same repeating error message. So what do I need to do to boot OS-9?
Bill
Re: CB030, A 68030 SBC for hobbyists [message #10089 is a reply to message #10088] Sun, 14 August 2022 20:46 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
plasmo wrote on Sun, 14 August 2022 19:11

This message repeats every few seconds. Apparently it is looking for a boot file in the CF disk. So I formatted a CF disk on my PC and copied CB030\CMDS\BOOTOBJS\BOOTFILES\diskboot.bf to the newly formatted CF disk. Power up CB030, but still received the same repeating error message. So what do I need to do to boot OS-9?
romboot will look for a bootfile either in ROM or on a CF disk. On disk it's looking for an OS-9 formatted disk with the bootfile installed; you can see the workflow for this in the dist/deploy.sh script. It depends on having built the toolshed binaries, or a bit of a chicken-and-egg game regenerating the bootfile from modules in RAM. I have a TODO to include Windows toolshed binaries in the package but I'm still tinkering with the workflow and that part's not really ready for primetime yet (I need to switch from a Bash script to a Windows batchfile, specifically).

The easiest way to get started, though, is just to flash a ROM image that contains a built-in bootfile; ports/CB030/CMDS/BOOTOBJS/ROMBUG/romimage.dev is probably the most interesting one. That has many of the interesting modules already loaded.

For more detail on the boot process, chapter 2 "Porting OS-9 for 68K" of MWOS/DOC/PDF/68k_oem.pdf has a pretty reasonable overview. It does rather gloss over the "magic" of building a bootfile (literally just concatenating the modules together), and you have to dig a bit further to get to how the booter knows where to look, but most of it is in there. Cool
The System Overview chapter of MWOS/DOC/PDF/68k_tech.pdf has some useful conceptual information about modules as well.

[Updated on: Sun, 14 August 2022 21:38]

Report message to a moderator

Re: CB030, A 68030 SBC for hobbyists [message #10095 is a reply to message #10089] Mon, 15 August 2022 19:29 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
mikesmith wrote on Sun, 14 August 2022 21:46

The easiest way to get started, though, is just to flash a ROM image that contains a built-in bootfile; ports/CB030/CMDS/BOOTOBJS/ROMBUG/romimage.dev is probably the most interesting one. That has many of the interesting modules already loaded.

I programmed & installed a flash with romimage.dev as you suggested which allows CB030 to boot into OS9 successfully. Not knowing anything about OS9 I tried a number of utility commands described in doc/pdf/68k_use.pdf The CF disk related utilities do not work, but I was able to run "date", "setime", "mfree", "procs", "set" utilities. I'm happy to see setime command can change and display DS1302 RTC values. I assume many utilities are not working because the porting of OS9 is on-going. I'm happy to be a beta tester for your OS9 port to CB030.
Bill
/forum/index.php?t=getfile&id=2785&private=0
Re: CB030, A 68030 SBC for hobbyists [message #10096 is a reply to message #10095] Mon, 15 August 2022 21:01 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
Which utilities did you try? OS-9 disk stuff is a bit... interesting. More reading may make things clearer, but basically for the CF disk there are two parts; the driver module (cfide) and the descriptor modules (c0, c0_fmt and dd) that configure it.

For a simple test, insert a CF card and type 'dump /c0@'. That should give you a raw hexdump of the contents of the card, starting at block 0. 'c0' is the descriptor name, '/' means to look for a device rather than a file, and '@' means to open it raw rather than to try to mount the filesystem. You can think of '/c0' as a drive specifier like 'A:'.

'dd' is just 'c0' but with the "default" disk name (dd = default disk). c0_fmt is c0 but it allows writing to LBA0, which is required to format the disk or install a bootfile.

Here's a transcript of me formatting a CF card and installing a bootfile on it, with contents from the ROM bootfile. This depends on the 'save' and 'build' commands being in the ROM bootfile that you start with - you can add these by editing ports/CB030/BOOTFILE/dev.bl. I'll add them to the github repo shortly and add a version of this to the README.

$ format c0_fmt
 ... blah blah ...
Formatting device:  c0_fmt
proceed?  y
this is a HARD disk - are you sure? y
physical format desired?  n
physical verify desired?  n
volume name:  boot
building media bitmap...
 ... blah blah ...
writing root directory structure
$ chd /c0_fmt
CompactFlash driver build 39
$ save -f=OS9Boot kernel ioman init syscache ssm fpu tkcb030 rtclock scf null nil pipeman pipe sc68681 term t1 rbf cfide dd sysgo mshell csl pd
$ os9gen -e /c0_fmt -q=OS9Boot
$ makdir SYS
$ chd SYS
$ build startup
? chd /dd
? chx /dd/CMDS
? 
$
<<< board reset >>>
OS-9/68K System Bootstrap
Now trying to boot from CompactFlash.
A valid OS-9 bootfile was found.
pd: can't open current directory. $ mdir -e 
  Addr     Size      Owner    Perm Type Revs  Ed #  Lnk  Module name
-------- -------- ----------- ---- ---- ---- ----- ----- --------------
00007100    28476     0.0     0555 Sys  a000   375     2 kernel
0000e03c     5660     0.0     0555 Sys  a000    37     1 ioman
0000f658      330     0.0     0555 Sys  8000    51     1 init
0000f7a2      406     0.0     0555 Sys  a000    25     1 syscache
0000f938     1908     0.0     0555 Sys  a000    41     1 ssm
000100ac    12848     0.0     0555 Sys  a000    18     1 fpu
000132dc      276     0.0     0555 Sys  a000    11     1 tkcb030

 ... etc. but see these low addresses - these modules are in RAM where the bootfile was loaded from CF

00038920     4312     1.0     0555 Prog c001    30     0 pd
fe026986      148     0.0     0555 Desc 8000    26     1 c0
fe026a1a      152     0.0     0555 Desc 8000    26     0 c0_fmt
fe0471dc     4838     1.0     0555 Prog c001    39     0 attr
fe0484c2     2756     0.0     0555 Prog c001    10     0 break
fe048f86     2670     1.0     0555 Prog c001    24     0 build

 ... see how these have been discovered from the bootfile that's in ROM, because the bootloader told the kernel to look there as well. They will run just fine out of the ROM (slowly, of course).

fe0721e6    13838     1.0     0555 Data 8001     1     0 basic68k.stb

 ... still debugging this one

You can use 'save' to copy program modules from the ROM into /dd/CMDS and then flash NOBUG/romimage.diskboot. When you boot, it will run /SYS/startup which in the example above will change your data directory (chd) to /dd and your execution directory (chx) to /dd/CMDS. At that point, any commands you type will run off the CF rather than from the in-memory sticky copies (the diskboot ROM does have a few emergency commands in it).

[Updated on: Mon, 15 August 2022 21:08]

Report message to a moderator

Re: CB030, A 68030 SBC for hobbyists [message #10097 is a reply to message #10096] Tue, 16 August 2022 13:18 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Thanks for the detailed instruction. Wow, that's definitely very obscure; I'd never figure it out by myself. So I edited ports/cb030/bootfile/dev.bl and added "save", "build" as well as "os9gen", and "help". With that I'm able to duplicate your results.

Having a working procedure is very helpful. For example I didn't know what you mean when you said Quote:
It does rather gloss over the "magic" of building a bootfile (literally just concatenating the modules together)
, but now I do.

Thanks!
Bill
Re: CB030, A 68030 SBC for hobbyists [message #10100 is a reply to message #10097] Wed, 17 August 2022 09:01 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
I've been working on a more comprehensive install procedure (updated instructions in README.md in the repo), but having issues with uploads; somewhere between the zip file on my host disk, and reading it back, things are getting corrupted.

I've seen two different sets of errors, but I'm still trying to narrow down where things are going wrong. The archive looks OK on the host, and the ZModem transfer completes without errors so I am assuming that the bytes arrive on the board OK. Something between there and unzip seems to be the problem...

[Updated on: Wed, 17 August 2022 09:16]

Report message to a moderator

Re: CB030, A 68030 SBC for hobbyists [message #10101 is a reply to message #10100] Thu, 18 August 2022 23:26 Go to previous messageGo to next message
Yves-D. is currently offline  Yves-D.
Messages: 21
Registered: January 2020
Junior Member
Keep up the good work on OS/9 for 68k platforms.
I'm definitely interested in your work reviving an other operating system than CPM for the 68030.
Unfortunately my programming skills in OS porting are rather inexistent, so I'd only quality as beta tester.
Re: CB030, A 68030 SBC for hobbyists [message #10104 is a reply to message #10101] Sat, 20 August 2022 21:15 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
The OS-9 porting process was 90% learning, and 10% (tops) actually writing any code. I must say that I have a slightly better appreciation of the claim that OSK was killed off because maintaining a system written in assembler was too difficult; debugging things when you mess up is quite hard. Especially without kernel sources.

Hopefully I can work out the corruption problem, but after that there's a short laundry list of things that would be nice to have:

- A copy of the 1.3 SDK.
- An ELF to ROFF converter, or ROFF support ported from old BFD (the Amiga folks have done the work getting support for A5 as frame pointer, so the last missing piece for a working GCC is the ability to produce OS-9 binaries).
- Ports of some newer utilities (I had to scrounge to find a working zip / zmodem).
- A bit-bang SPI driver.
- Some sort of file interchange story.
...

I'm looking for other platforms to add to the to-be-ported list, if folks have suggestions. P90MB is coming along so far; I think it'll be interesting to see how well things run with 512K of RAM...

[Updated on: Sat, 20 August 2022 21:17]

Report message to a moderator

Re: CB030, A 68030 SBC for hobbyists [message #10105 is a reply to message #10104] Sun, 21 August 2022 05:37 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
I can send you a complimentary MPU302 if you like. It is a reverse-engineered commercial board (ADC Soneplex MPU) with 16mhz 68302 (68000 core), 1 Meg RAM, 2.25 meg flash, RTC, 5 serial channels (68692+68302 internal serials), PIO, etc. I've added a CF disk interface to the PIO and ported CPM68K. They used to be dirt cheap as surplus boards, but not any more. Discussion and homepage are here:

https://www.retrobrewcomputers.org/doku.php?id=builderpages: plasmo:spx-mpu

https://www.retrobrewcomputers.org/forum/index.php?t=msg& ;amp ;th=201&prevloaded=1&&start=0
Bill

[Updated on: Sun, 21 August 2022 05:38]

Report message to a moderator

Re: CB030, A 68030 SBC for hobbyists [message #10107 is a reply to message #10104] Sun, 21 August 2022 15:03 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
mikesmith wrote on Sat, 20 August 2022 21:15

Hopefully I can work out the corruption problem
In all cases, I'm seeing bits geting set in the high nibble: d->f, b->f, 5->7, a->e. No obvious address sensitivity. The rate is low; those are 6 samples out of a 690k file.

Interestingly, it always looks like bits that are getting set were 1s in the previous byte:

  50,bb -> 50,fb 
  24,5f -> 24,7f
  56,a3 -> 56,e3

Copying the file many times (i.e. exercising the CF read / write path) doesn't seem to introduce any new corruption, so that seems to exonerate the filesystem / disk.

Now I need to find a way to validate the file transfer path. ZModem is fairly aggressive with its checksumming, so that doesn't leave a whole lot of options.

[edit]

Looks like serial reception is unreliable at 9600bps, and there's enough corruption that occasionally we hit a CRC collision and ZModem lets the corrupted bits through. Uploading at 4800bps is reliable, but obviously that's no fun. Going to have to see if I can work out if the UART FIFO is being overrun, or if something else is going on. I had the UART configured at IPL2, which would have been a problem, but after looking at the CPLD and moving it to 3 that hasn't helped.

[Updated on: Sun, 21 August 2022 21:46]

Report message to a moderator

Re: CB030, A 68030 SBC for hobbyists [message #10110 is a reply to message #10107] Mon, 22 August 2022 16:24 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Mike,
A couple thoughts:
1. DUART has handshake signal that I brought to the serial connector but didn't use because gkermit is fast enough without hardware handshake. I know the handshake does work. You may be able to run ZMODEM with hardware handshake at higher baud.
2. I have a quad serial board that works with CB030's expansion bus. It is based on OX16C954 where transmit/receive channels are backed with 128-byte FIFO. I can send you a Quad serial board if you like to try it. https://www.retrobrewcomputers.org/doku.php?id=builderpages: plasmo:quadserplcc
Bill
Re: CB030, A 68030 SBC for hobbyists [message #10111 is a reply to message #10110] Mon, 22 August 2022 18:36 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
Bill,

Thanks for the thoughts. I did wire up hardware flow and enable it in the OS-9 driver, and I've verified that at least my desktop is respecting the signal by unplugging the wires. That didn't help. I also noticed the OS-9 driver only took one byte from the FIFO per interrupt rather than draining it - patched that too. Still no joy. The driver has a lot of "extra" features (error reporting, Xon/Xoff flow control, etc.Wink that might be making it slow. Tonight's experiment is going to be to save the overflow status somewhere to test the hypothesis that the problem is actually interrupt latency.

I'd definitely be happy to buy a quad serial board off you and add support for it, but for obvious reasons I also want to fix this so that folks that aren't so lucky have a sensible file transfer option.

... and thankyou for reminding me about Kermit. It works fine at 38.4kbps, so go figure. Either it's doing a better job of correcting the errors, or there's something wrong with the ZModem receive app. Either way, victory!

[edit] I've updated the installation instructions and done a little more tinkering. I think things are looking pretty OK. Would be interested to hear how folks are getting along, and whether maybe I should start another thread...

[Updated on: Mon, 22 August 2022 20:31]

Report message to a moderator

Re: CB030, A 68030 SBC for hobbyists [message #10112 is a reply to message #10104] Mon, 22 August 2022 23:33 Go to previous messageGo to next message
e2k is currently offline  e2k
Messages: 33
Registered: June 2021
Member
mikesmith wrote on Sat, 20 August 2022 21:15
T
I'm looking for other platforms to add to the to-be-ported list, if folks have suggestions. P90MB is coming along so far; I think it'll be interesting to see how well things run with 512K of RAM...
https://hackaday.io/project/164305-roscom68k
Has a mc68010, and a 68681, so it should be fairly easy ...
Re: CB030, A 68030 SBC for hobbyists [message #10115 is a reply to message #10112] Tue, 23 August 2022 19:40 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
e2k wrote on Mon, 22 August 2022 23:33
mikesmith wrote on Sat, 20 August 2022 21:15
T
I'm looking for other platforms to add to the to-be-ported list, if folks have suggestions. P90MB is coming along so far; I think it'll be interesting to see how well things run with 512K of RAM...
https://hackaday.io/project/164305-roscom68k
Has a mc68010, and a 68681, so it should be fairly easy ...
I was too slow catching them before they sold out. Now that the maker is apparently working on an '030 board...
Re: CB030, A 68030 SBC for hobbyists [message #10116 is a reply to message #10115] Wed, 24 August 2022 22:53 Go to previous messageGo to next message
e2k is currently offline  e2k
Messages: 33
Registered: June 2021
Member
mikesmith wrote on Tue, 23 August 2022 19:40
e2k wrote on Mon, 22 August 2022 23:33
mikesmith wrote on Sat, 20 August 2022 21:15
T
I'm looking for other platforms to add to the to-be-ported list, if folks have suggestions. P90MB is coming along so far; I think it'll be interesting to see how well things run with 512K of RAM...
https://hackaday.io/project/164305-roscom68k
Has a mc68010, and a 68681, so it should be fairly easy ...
I was too slow catching them before they sold out. Now that the maker is apparently working on an '030 board...
Where are you located?
I could probably help you out with one ...
Re: CB030, A 68030 SBC for hobbyists [message #10117 is a reply to message #9692] Sat, 27 August 2022 14:06 Go to previous messageGo to next message
newjes250 is currently offline  newjes250
Messages: 14
Registered: May 2020
Junior Member
@Plasmo,

Oh Oh! Do I see a nice SMD to DIP adapter among your recent boards?

I purchased some adapter boards from Ebay for "32pin smd to 32pin DIP" but the width turned out to be .800", instead of the .600" that
I really wanted. If that board is added to your builderpages under Misc along side your PLCC to DIP adapter, I would be most interested!!

Second Question: I read that your "QuadSer-plcc" design listed jumper options for both Intel and Motorola signaling, with the MB030 listed
for 680x0 usage - does that also include the MB020 as well?

My interest is because I would like to add a DIY RC2014 bus to a 32bit project I am working on using an Amiga A1200 blank board using the
68ec020 on it: adding the QuadSer for a Serial communication to that project.


Jesse (newjes250)

Re: CB030, A 68030 SBC for hobbyists [message #10119 is a reply to message #10117] Sat, 27 August 2022 18:47 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
newjes250 wrote on Sat, 27 August 2022 15:06


Oh Oh! Do I see a nice SMD to DIP adapter among your recent boards?

I have a PLCC32 to DIP32 adapter, but that's already listed under my MISC page. You must meant the SOJ32-to-DIP32 board for my piggyback VGA design?

I have been slow in getting my designs documented. I just created a page for the non PS2 version of the piggyback VGA design which include the SOJ32-to-DIP32 adapter. The board is wider than 600mil because the RAM signals are connected to the top board via outer two rows of pins.
https://www.retrobrewcomputers.org/doku.php?id=builderpages: plasmo:vgaxram:2-boards:no-ps2

QuadSer PLCC as well as QuadSer QFP (latest is rev2 but not yet published) should work with MB020. I will do testing on MB020 to make sure it really does work.
Bill
/forum/index.php?t=getfile&id=2795&private=0
/forum/index.php?t=getfile&id=2796&private=0
Re: CB030, A 68030 SBC for hobbyists [message #10120 is a reply to message #10119] Mon, 29 August 2022 19:19 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Picture shows a quad serial rev2 board plugged into CB030. Quad serial board can be configured for Z80, Z280, and 68K computers with RC2014 expansion bus. I verify it will also work on MB020. I'm catching up with my documentation. Quad serial rev2 homepage is here. It is still under construction.
https://www.retrobrewcomputers.org/doku.php?id=builderpages: plasmo:quadser:rev2:quadser_r2

Attached is a simple diagnostic to exercise Quadser's port0 and its interrupt handling feature.
Bill
/forum/index.php?t=getfile&id=2797&private=0

[Updated on: Mon, 29 August 2022 19:22]

Report message to a moderator

Re: CB030, A 68030 SBC for hobbyists [message #10129 is a reply to message #10120] Sun, 11 September 2022 18:47 Go to previous messageGo to next message
computerdoc is currently offline  computerdoc
Messages: 130
Registered: October 2015
Senior Member

How do I compile OS9 68K for my Tink68K or MB012?

I'd like to try it on both boards.

Is CB030 ready to order?

Kip


Kip Koon
computerdoc at sc dot rr dot com
http://www.cocopedia.com/wiki/index.php/User:Computerdoc
Re: CB030, A 68030 SBC for hobbyists [message #10130 is a reply to message #10129] Mon, 12 September 2022 13:59 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Tiny68K and MB012 are essential the same design. Once you've ported to one then it should work on the other one. MB012 does have two RC2014-like expansion busses that can accommodate additional hardware like Quad serial and video/keyboard interfaces.

Two assembled and tested CB030 boards are available, but I'm too busy this month and most of October to support other CB030 options or more assembled CB030 beyond the two existing boards.
Bill
Re: CB030, A 68030 SBC for hobbyists [message #10131 is a reply to message #10130] Tue, 13 September 2022 11:31 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
I don't have a Tiny68k port for OS-9 done yet. You could mostly copy the CB030 port, with appropriate changes to use the 68k rather than '030 kernel, etc. The biggest difference will be a new tick driver to use the 68681 timer instead of the CPLD timer. That's not super difficult, but there's a bit of a learning curve involved. You could steal the CPLD timer from CB030 and backport it to the Tiny68k CPLD, if that was more your style.

The Tiny68K EEPROM is very small, so you'll be stuck booting from CF without the ROM-based debugger, and doing a fair bit of plug/unplug cycling with the EEPROM unless you have a SPI ROM emulator / in-circuit programmer.

I'm currently spending my available time on the QuadSer driver. Tiny68k was in the queue sometime after P90MB; I would probably do most of the development in my emulator to avoid lots of ROM bouncing.

[Updated on: Tue, 13 September 2022 11:34]

Report message to a moderator

Re: CB030, A 68030 SBC for hobbyists [message #10132 is a reply to message #10131] Tue, 13 September 2022 16:54 Go to previous messageGo to next message
mikesmith is currently offline  mikesmith
Messages: 80
Registered: March 2018
Member
Something that would really help OS-9 would be someone able to port patches from an old binutils (2.5.2) forward to modern binutils. That's really the major obstacle to getting gcc support for this platform.
Re: CB030, A 68030 SBC for hobbyists [message #10266 is a reply to message #10132] Tue, 14 March 2023 11:50 Go to previous messageGo to next message
computerdoc is currently offline  computerdoc
Messages: 130
Registered: October 2015
Senior Member

Hi Mike!
I downloaded OS9 68K from your github repository a few minutes ago. I intend to port it to the Tiny68K. Changing '030 to '000 or '010 sounds easy. What I don't yet know how to do is write a tick timer. Back porting the CPLD tick timer from the CB030 sounds doable. How different is the Tiny68K tick timer from the CB030 tick timer?
I'm excited to eventually get a CB030 board! I can almost taste it! Bill, please put me on your list for the 4 layer version of your CB030 board when it is ready!
Is there anything else I need to know to port this thing over to the Tiny68K / MB012?
I feel fun times ahead! Smile
Oh, by the way, any OS9 68K help you need, let me know. I don't know 68K assembler as of yet, but I'm sure I'm going to find out! I'm sure the loud yell while pulling out hair is coming too I expect. I come from a 6809 background from the days when the Cocos were new! I still remember buying OS/9 v01.00.00 for my Coco 1 F board! Those were great times! Some pointers are always welcome. <big grin>
I'm running Linux Mint on my HP mobile server laptop and if memory serves I have already successfully compiled the OS9 68K rom image a year or two ago. I just didn't have a clue where to go from there. I noticed that your Github repository for OS9 68K is only a few hundred kilobytes so I expect it is just the source code for the rom image?
I have also downloaded the OS9 68K v1.2 sdk from the link Bill provided. I'll be trying my hand at compiling your updates to OS9 68K.
Roger Hanscom has designed and built several iterations of a 68000 SBC with 1MB of flash eeproms and 2MB of SRAM with 2 serial ports, a 68681 I/O port, 2 16-bit parallel ports if memory serves as well as a CF card interface using an 8255 and another drive interface with just 5 pins, but I don't remember the name of the drive. I'm sure I'm leaving something else or 2 out, but I'm writing this from memory as I have built several of them. I would love to see OS9 68K running on these boards as well.
Now that my Dell Poweredge servers are basically completed, I'll have more time to build some more 68K SBCs and run OS9 68K on them. CP/M 68K is currently running on my Tiny68K, but I don't know much about CP/M of any flavor. I cut my computer OS teeth very early on with OS/9 6809 version and there was a long steep learning curve. It was definitely worth learning though. I have never forgotten how I used OS/9 to use my ASR-33 Teletype to print something for the very first time! The Coco didn't output LFs to the serial port! Ugh!
Kip


Kip Koon
computerdoc at sc dot rr dot com
http://www.cocopedia.com/wiki/index.php/User:Computerdoc
Re: CB030, A 68030 SBC for hobbyists [message #10267 is a reply to message #10266] Tue, 14 March 2023 12:08 Go to previous messageGo to next message
computerdoc is currently offline  computerdoc
Messages: 130
Registered: October 2015
Senior Member

Hi Bill,
Do you have any MB020 boards? I'd like to buy one.
Kip


Kip Koon
computerdoc at sc dot rr dot com
http://www.cocopedia.com/wiki/index.php/User:Computerdoc
Re: CB030, A 68030 SBC for hobbyists [message #10268 is a reply to message #10267] Tue, 14 March 2023 12:14 Go to previous messageGo to next message
computerdoc is currently offline  computerdoc
Messages: 130
Registered: October 2015
Senior Member

Hi Bill,
Are all the RC2014 daughter boards grouped in one place or do I continue to peruse your entire set of build pages?
Kip


Kip Koon
computerdoc at sc dot rr dot com
http://www.cocopedia.com/wiki/index.php/User:Computerdoc
Re: CB030, A 68030 SBC for hobbyists [message #10269 is a reply to message #10268] Tue, 14 March 2023 13:30 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Kip,
Both MB020 and CB030 pc boards are on their way from JLCPCB. I have picked the "slow boat from China" shipping option so they won't be here until next week.

All my RC2014 modules are under one section in my homepage:
https://www.retrobrewcomputers.org/doku.php?id=builderpages: plasmo:start#rc2014-compatible_modules
Bill
Re: CB030, A 68030 SBC for hobbyists [message #10270 is a reply to message #10269] Wed, 15 March 2023 04:42 Go to previous messageGo to next message
marcopolo is currently offline  marcopolo
Messages: 21
Registered: November 2020
Location: Nancy (FRANCE)
Junior Member
Hi Bill,

I'm going to start building a CB030, it's a nice card and with OS-9 it's going to be great.
Thank you for providing all the information to build it.
I didn't see any speed indication for the MAX7000 CPLD, are all versions compatible with the CB030?
With the Chinese and the blacktopped circuits, you never know what you're buying 😭
You suggest UTSource as a supplier, I had quite a few problems with them a long time ago (fake RF transistors and HD63C09).
Did you buy your EPM7128 from them? If so, new or used?

Thanks,
Marc


My Archives (68K, Old logic, SSB radio): marc.retronik.fr
Re: CB030, A 68030 SBC for hobbyists [message #10271 is a reply to message #10270] Wed, 15 March 2023 06:45 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Hi Marc,
I replied to your email, but I just received an unable-to-deliver notice from my email server. Here was my reply:

10ns EPM7128SQC100 is what I used for CB030. I believe 15nS part should also work. All my EPM7128SQC100 are from one lot that I purchased used on eBay years ago. Most of them were removed from existing boards, but some were new/unused parts. I have purchased a number of EPM7128SLC84 from UTSource and they all worked. I do agree many were blacktopped but I've been fortunate that they at least do work. I don't think I've ever purchased new CPLD from UTSource; I always purchased used parts.
Bill
Re: CB030, A 68030 SBC for hobbyists [message #10272 is a reply to message #10266] Wed, 15 March 2023 09:21 Go to previous messageGo to next message
norwestrzh is currently offline  norwestrzh
Messages: 196
Registered: November 2015
Senior Member
>> ... 1MB of flash eeproms and 2MB of SRAM with 2 serial ports, a 68681 I/O port, 2 16-bit parallel ports if memory serves as well
>> as a CF card interface using an 8255 and another drive interface with just 5 pins, but I don't remember the name of the drive.

The 5-pin device is the "uDrive", Kip. It was produced by 4D Systems (in Australia), but they sold off the design a number of years ago to a company in England(?Wink. It might be unobtainium at this point .... unfortunately.

Roger

Re: CB030, A 68030 SBC for hobbyists [message #10274 is a reply to message #10272] Wed, 15 March 2023 15:38 Go to previous messageGo to next message
computerdoc is currently offline  computerdoc
Messages: 130
Registered: October 2015
Senior Member

Mike,
I am setting up the OS9 68K SDK v12 compile package. I have unzipped os9_68k_sdk_v12.zip and put the contents in "M:\MWOS".
Do I put the contents of os9-m68k-ports-main.zip in M:\MWOS as well?
Then follow the readme.md file?
I need a bit more instructions than your OS9 68K repository readme on github describes. It has been quite a while since I last did this.
Kip


Kip Koon
computerdoc at sc dot rr dot com
http://www.cocopedia.com/wiki/index.php/User:Computerdoc
Re: CB030, A 68030 SBC for hobbyists [message #10275 is a reply to message #10272] Wed, 15 March 2023 15:40 Go to previous messageGo to next message
computerdoc is currently offline  computerdoc
Messages: 130
Registered: October 2015
Senior Member

Roger,
Thanks for the udrive description. By the way what is the actual 5 pin interface?
Could we use it in some way for other devices?
Kip


Kip Koon
computerdoc at sc dot rr dot com
http://www.cocopedia.com/wiki/index.php/User:Computerdoc
Re: CB030, A 68030 SBC for hobbyists [message #10276 is a reply to message #10275] Wed, 15 March 2023 15:47 Go to previous messageGo to next message
computerdoc is currently offline  computerdoc
Messages: 130
Registered: October 2015
Senior Member

Mike,
I am going to try compiling the CB030 OS9 first to make sure I have the OS9 tool chain setup properly. Once the CB030 OS9 compile is successful, I want to copy the CB030 folder to Tiny68K folder and try to port it, of course, to the Tiny68K, MB012 and T68KRC boards. Anything special I need to know about making these changes. I have never done this before so please include every little detail if possible. Thanks a bunch, Mike!
Kip


Kip Koon
computerdoc at sc dot rr dot com
http://www.cocopedia.com/wiki/index.php/User:Computerdoc
Re: CB030, A 68030 SBC for hobbyists [message #10277 is a reply to message #10276] Wed, 15 March 2023 15:49 Go to previous messageGo to next message
computerdoc is currently offline  computerdoc
Messages: 130
Registered: October 2015
Senior Member

Bill,
How did you setup the OS9_68K_SDK_v12 tool chain with Mike's CB030 folder?
Kip


Kip Koon
computerdoc at sc dot rr dot com
http://www.cocopedia.com/wiki/index.php/User:Computerdoc
Re: CB030, A 68030 SBC for hobbyists [message #10278 is a reply to message #10277] Wed, 15 March 2023 16:23 Go to previous messageGo to next message
computerdoc is currently offline  computerdoc
Messages: 130
Registered: October 2015
Senior Member

I just ran a compile for CB030 and I think it was successful. I have both the romimage.diskboot and diskboot.bf files.
Next I duplicated the CB030 folder to a Tiny68K folder, made the changes and I have a good compile for the Tiny68K.
After flashing the romimage.diskboot to the CF card, how do I "install" the bootfile.bf onto the CF card?


Kip Koon
computerdoc at sc dot rr dot com
http://www.cocopedia.com/wiki/index.php/User:Computerdoc
Re: CB030, A 68030 SBC for hobbyists [message #10279 is a reply to message #10278] Wed, 15 March 2023 17:23 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Kip,
I believe MikeSmith had said OS9 for CB030 won't run on Tiny68K without some changes so it is unlikely the 68030 binary you've compiled can run on Tiny68K. The other difference is CB030 has a 1/2meg flash for various OS9 bootstrap files whereas Tiny68K/T68KRC/MB012 only have small 32KB serial flash that will require a CF disk loaded with OS9 files to boot successfully. I simply don't know enough about OS9 to solve these problems.
Bill
Re: CB030, A 68030 SBC for hobbyists [message #10280 is a reply to message #10275] Thu, 16 March 2023 09:00 Go to previous messageGo to previous message
norwestrzh is currently offline  norwestrzh
Messages: 196
Registered: November 2015
Senior Member
>> By the way what is the actual 5 pin interface?

Tx, Rx, +5v, Gnd, and reset*

>> Could we use it in some way for other devices?

Sure! It's just TTL level serial. It uses a micro SD card with a FAT formatted file system on it. There is no hardware control of the interface (which is a bad thing). That necessitates fairly small transmitted packets. BUT it works!

Roger
Previous Topic: ZRC, A Z80 SBC for ROMWBW
Next Topic: Neat '040 boot ROM setup


Current Time: Tue Jul 15 12:22:52 PDT 2025

Total time taken to generate the page: 0.01335 seconds