Skip to content

Daft-Freak/CybikoStuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Misc Cybiko Related Tools/Libraries

Possibly useful stuff pulled out of a huge pile of hacks. Most of this is a few years old.

Tools

  • imgtool - Converts executable images to the right format for booting
  • usbcon - Uploads/boots files through the Cybike Xtreme USB port, can also access the USB console

Build

cd tools
cmake -G Ninja -B build
ninja -C build

Toolchain

GCC/newlib based toolchain build script, linker script, startup code and CMake config

To build the toolchain to toolchain/prefix: (toolchain/build can be deleted after this completes.)

cd toolchain
./build.sh

Lib

H8

C++ wrappers for accessing the CPU's peripherals.

Emu2

Cybiko Xtreme emulator. Based on some code from ~2019 and fixed/cleaned up until it actually worked.

Requires a boot rom dump in data/xtreme-rom.bin and a flash dump in data/xtreme-flash.bin. Can boot files generated with the toolcahin/libs with --boot file.boot

Test

Test code using the libs/toolchain

InstructionTest

Tests instruction behaviour, used to fix a pile of bugs in the emulator before pushing it here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages