Raspberry Pi version of Haribote OS
C Assembly Makefile
Switch branches/tags
Nothing to show
Clone or download
moizumi99 Fixed timeout bug
With some SDCARD, there was a time-out issue in the initialization.
sdcard.c is fixed to remote this issue by adding longer wait cycles between requests in initialization.
Latest commit e9124bd Dec 10, 2017
Permalink
Failed to load latest commit information.
Screenshot Add files via upload Feb 12, 2017
apilib tview bug is fixed (a bug in console.c). Memory map is modified Feb 20, 2017
bball API and BBALL application Feb 11, 2017
beepdown More applications Feb 11, 2017
bin tview bug is fixed (a bug in console.c). Memory map is modified Feb 20, 2017
calc More applications Feb 11, 2017
chklang More applications Feb 11, 2017
color More applications Feb 11, 2017
color2 More applications Feb 11, 2017
haribote kernel.img is added to repository Feb 26, 2017
hello2 More applications Feb 11, 2017
hello3 More applications Feb 11, 2017
hello4 More applications Feb 11, 2017
hello5 More applications Feb 11, 2017
invader More applications Feb 11, 2017
iroha More applications Feb 11, 2017
lines More applications Feb 11, 2017
mmldata More applications Feb 11, 2017
mmlplay More applications Feb 11, 2017
nihongo More applications Feb 11, 2017
noodle More applications Feb 11, 2017
notrec More applications Feb 11, 2017
sosu More applications Feb 11, 2017
star1 More applications Feb 11, 2017
stars More applications Feb 11, 2017
stars2 More applications Feb 11, 2017
tview More applications Feb 11, 2017
type More applications Feb 11, 2017
typeipl More applications Feb 11, 2017
walk More applications Feb 11, 2017
winhelo More applications Feb 11, 2017
winhelo2 More applications Feb 11, 2017
winhelo3 More applications Feb 11, 2017
LICENSE Update LICENSE Feb 11, 2017
Makefile Haribote OS for Raspberry Pi Feb 11, 2017
README.md Update Jul 28, 2017
apilib.h Haribote OS for Raspberry Pi Feb 11, 2017
app_make.txt Haribote OS for Raspberry Pi Feb 11, 2017
applinker.ld Haribote OS for Raspberry Pi Feb 11, 2017
euc.txt Haribote OS for Raspberry Pi Feb 11, 2017
kernel.img kernel.img is added to repository Feb 26, 2017
linker.ld Haribote OS for Raspberry Pi Feb 11, 2017
sdcard.c Fixed timeout bug Dec 10, 2017

README.md

RPiHaribote

Raspberry Pi version of Haribote OS

What's this: This is Raspberry Pi porting of Haribote OS. This runs on Raspberry Pi B+ Rev 2.0. The link to original Haribote OS support page is here: http://hrb.osask.jp/ Details are in Wiki https://github.com/moizumi99/RPiHaribote/wiki

How to run:

  • Copy your Raspberry Pi Raspbian OS boot directory to a new SD CARD. Only the FAT16 region that includes kernel.img need to be copied. Format needs to be FAT16.
  • Then, overwrite kernel.img in the new SDCARD with the one in /bin directory.
  • Copy "xxx.out" files to the same directory. Copy "xxx.org" files as well.
  • Insert the SDCARD to your Raspberry PI B+, connect USB keryboard and mouse (please see the limitation section). And boot.

Keys

  • Shift + F2 : create a new console
  • tab: Switch console
  • F11: Move up the window

Commands

  • mem: displays memory size and free size
  • dir: shows root directory
  • start: start an application. wait for completion
  • ncst: start an application, without waiting for completion
  • langmode [0/1/2]: change language mode (0=English, 1=Japanse SJIS, 2=Japanese EUC)
  • exit: exit console
  • cls: clear console

Bundled applications

  • type : display a text file content
  • mmlplay <xxx.org>: play mml data
  • tview : text viewer (see limitation)
  • invader: a game which doesn't look too far from the old invader game
  • bball: Show s a graphic demo
  • calc : calculates equation
  • there are some other small demo or debugging applications

Limitation:

  • As CSUD is used for mouse and keyboard, this software only supports keyboard and mouse that is supported by CSUD. So far, I found wired keyboards and mice have high chance of being recognized
  • SDCARD.c is tested with limited nubmer of cards.
  • This version of Haribote has application compatibility with the original Haribote OS at c-code source level. The graphic viewer application that was bundled with the original Haribote is not included because of the assembler code.
  • The extraction of compressed data in the original Haribote OS is not implemented yet.
  • The support of ELF format used in the application is very rudimentary. Newly compiled application may not work. I am working on this.
  • Only basic functionality of FAT16/32 is supported. For example, only the root level is visible.
  • Only tested with my Raspberry PI B+ rev2.0 and Raspberry Pi Zero. It won't run on Pi2 or Pi3. Future extension is planned.