Hi,

did some more hacking on Gforth-EC trying to turn it into something
usable.  The latest version (copied over the old URL [1]) now has
support for reading/writing the LM32 CPU's CSR registers, including the
new MMU registers introduced by the milkimist-mmu branch [2].  The Forth
interpreter is also somewhat faster now.

You can type 'words' to get a listing of known commands.  To access CSRs
use commands like

eba@ hex.   \ display EBA's value
$1234 eba!   \ write 0x1234 to EBA. doesn't hurt as no IRQs enabled.

the MMU regs are named TLBVADDR, TLBCADDR, TLBCTRL.

And, if that's too boring, now there's not only 'tt' (a tetris clone),
but also the 'sokoban' puzzle game included :)

It's still booting from the bios.  Maybe for doing real h/w debugging it
would be better to have some code to boot Gforth /instead/ of the bios.

cheers,

David

[1] http://downloads.qi-hardware.com/people/dvdkhlng/gforth-lm32.bin
[2] https://github.com/fallen/milkymist-mmu
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Attachment: pgpkisKbOCig8.pgp
Description: PGP signature

_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to