RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » New board: 68k-MBC, an easy to build 68008 SBC (and a prototype on breadboard) (68008 CPU @ 8MHz, CP/M-68K, 128/512/1024KB RAM, I2C, 2 Serial ports, RS232, ICSP, User led and key, optional RTC and microSD, 16 HD (emulated on SD), optional 16x GPIO port )
Re: 68008 on breadboard [message #9315 is a reply to message #9166] Sat, 30 October 2021 08:23 Go to previous messageGo to next message
just4fun is currently offline  just4fun
Messages: 273
Registered: May 2017
Location: Dark side of the Moon
Senior Member
I'm testing the new SPP Adapter board and the previous "backdrive" problems seem to be completely solved now.

/forum/index.php?t=getfile&id=2468&private=0

I've added new functions inside IOS (the FW inside the PIC MCU) to manage the SPP, so I can do first print testing using a real printer (a Fujitsu VM 4 laser printer) with test programs written with the gcc cross compiler toolchain, so I can call directly the new SPP functions (IOS Opcodes) easily:

/forum/index.php?t=getfile&id=2469&private=0

Next step will be the integration inside CP/M-68k.

[Updated on: Sat, 30 October 2021 08:25]

Report message to a moderator

Re: 68008 on breadboard [message #9352 is a reply to message #9315] Sat, 06 November 2021 07:03 Go to previous messageGo to next message
just4fun is currently offline  just4fun
Messages: 273
Registered: May 2017
Location: Dark side of the Moon
Senior Member
The SPP Adapter board is out. All the details/files to build/use it are here.
Before using it you have to update both the IOS firmware and the SD image to the latest available version:

/forum/index.php?t=getfile&id=2472&private=0

/forum/index.php?t=getfile&id=2473&private=0
Re: 68008 on breadboard [message #9396 is a reply to message #9352] Sun, 21 November 2021 08:43 Go to previous messageGo to next message
just4fun is currently offline  just4fun
Messages: 273
Registered: May 2017
Location: Dark side of the Moon
Senior Member
Thanks to Vincent Rivière now EmuTOS is running on the 68k-MBC:

/forum/index.php?t=getfile&id=2494&private=0

Because EmuTOS has its own FAT driver the whole SD content is seen by the OS (the new IOS revision allows raw LBA disk access):

/forum/index.php?t=getfile&id=2495&private=0

NOTE 1: this is a test version. Some adaptation still needs to be done.

NOTE 2: EmuTOS uses IRQ for the console I/O and the systick timer, so the Full HW configuration of the 68k-MBC is required (IRQ are not supported in the Lite HW config).

[Updated on: Sun, 21 November 2021 08:56]

Report message to a moderator

Re: 68008 on breadboard [message #9398 is a reply to message #9396] Sun, 21 November 2021 13:25 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 916
Registered: March 2017
Location: New Mexico, USA
Senior Member
Very cool, I'd thought EmuTOS was a proprietary OS, but that's not the case now? I have half dozen 680x0 hardware already ported to CP/M68K, anything I need to watch out porting to EmuTOS?
Bill
Re: 68008 on breadboard [message #9399 is a reply to message #9398] Mon, 22 November 2021 06:20 Go to previous messageGo to next message
just4fun is currently offline  just4fun
Messages: 273
Registered: May 2017
Location: Dark side of the Moon
Senior Member
As far as I know EmuTOS is an open source project that uses GEM for the GUI. Of course only a legacy serial I/O console can be used with the 68k-MBC as there isn't any video card.
I've added into the IOS FW the serial Rx IRQ and a systick IRQ (one tick every 5ms) for it.
The RTC was already present.
About the disk I/O it is needed a LBA disk access as EmuTOS already has an internal driver for a FAT16 (no more of 2GB) disk (I've re-formatted the 32GB SD with a legacy FAT16 2GB partition).
No more is needed (unless you want a GUI).

So any 68K board with a serial, a systick IRQ, a RTC and a LBA block device can run it.

If you are interested to give a look to the sources modified by Vincent for the 68k-MBC the link is this (it is a work in progress, but usable).

Fabio

Re: 68008 on breadboard [message #9418 is a reply to message #9399] Thu, 25 November 2021 04:08 Go to previous message
just4fun is currently offline  just4fun
Messages: 273
Registered: May 2017
Location: Dark side of the Moon
Senior Member
If anyone wants try EmuTOS on the 68k-MBC here all the needed files (all test/development versions):

- flash the new IOS on the PIC MCU (attached .hex file);
- reformat the SD card deleting the current partition and re-create a new one FAT16 max 2GB large (I mean max. 2GiB. I've used gparted to do that);
- copy the content of the last SD image (from here: https://hackaday.io/project/177988-68k-mbc-a-3-ics-68008-hom ebrew-computer#menu-files);
- add the following files in the root of the SD: emutos.bin, emutos.adr, ds1nam.dat from here: https://github.com/vinriviere/emutos/releases/tag/68kmbc-tes t3?
- power on the 68k-MBC and select EmuTOS from the boot menu.

NOTE: EmuTOS has the access of the whole SD, so pay attention to not delete needed system files.

EDIT: I've forgotten to mention that it is required the Full HW configuration with 1024KB RAM.

[Updated on: Mon, 29 November 2021 11:03]

Report message to a moderator

Previous Topic: VT100 control codes and minicom
Next Topic: N8 SBC 3.5" Floppy Support


Current Time: Mon Mar 24 23:14:33 PDT 2025

Total time taken to generate the page: 0.03973 seconds