Author Topic: Khavi: Java on the Prizm  (Read 65144 times)

0 Members and 1 Guest are viewing this topic.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Khavi: Java on the Prizm
« Reply #105 on: September 30, 2011, 07:45:36 pm »
I do it too, on occasion :P

Anyway, I've been way too busy to do as much work on this as I'd like. I did manage to write a better (read: faster) brainf*ck interpreter and I did a bunch of interpreter ABI documentation for the other interpreters. The Lua interpreter is also progressing, if slowly. Unfortunately, I lost all of the floating point routines with that crash, so I'm not looking forward to actually writing the math stuff...
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Khavi: Java on the Prizm
« Reply #106 on: October 09, 2011, 04:36:18 am »
Okay, after a lot of pain, I finally figured out how to set up a repository and use SVN.

http://khavi.googlecode.com/svn/trunk/
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Khavi: Java on the Prizm
« Reply #107 on: October 10, 2011, 12:01:45 am »
@boot it's a statistical thing. Really. We generally have our times where we check omni, and you happen to line up as the number which starts a new page.

Stats are fun :P

And yay for progress!! Khavi should be able to run ADOM soon, right? There are CLI-only java versions ;D
« Last Edit: October 10, 2011, 12:02:42 am by willrandship »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Khavi: Java on the Prizm
« Reply #108 on: October 10, 2011, 02:57:33 am »
Okay, after a lot of pain, I finally figured out how to set up a repository and use SVN.

http://khavi.googlecode.com/svn/trunk/

All the source files seem to be .txt though :S

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Khavi: Java on the Prizm
« Reply #109 on: October 10, 2011, 03:58:11 am »
That's mostly because I don't like using .s files. Everything except the Gnu GPL is still source, though.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Khavi: Java on the Prizm
« Reply #110 on: October 10, 2011, 02:20:39 pm »
I'M glad some progress is still being made. The Lua interpreter will definitively help a lot. Make sure to make it compatible with LuaFX if it comes out for the prizm, though. It's only for AFX calcs right now but they planned to port it to the FX-9860G eventually, which has a similar processor as the Prizm.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Khavi: Java on the Prizm
« Reply #111 on: October 10, 2011, 02:22:49 pm »
It won't be entirely LuaFX compatible, as far as I'm aware. LuaFX is a complete implementation of the Lua interpreter. Khavi is an implementation of the Lua virtual machine (which is admittedly all that LuaFX includes at the moment).
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Khavi: Java on the Prizm
« Reply #112 on: October 10, 2011, 03:01:46 pm »
Oh ok what are the main differences? ???

Also a while ago, there was a project to implement something like Axe Parser on the prizm, for BASIC coders unwilling to learn a totally new language (Axe had similarities with TI-83+ BASIC for example). Was it gonna be included in Khavi or was it another side project?

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Khavi: Java on the Prizm
« Reply #113 on: October 10, 2011, 06:55:15 pm »
The main difference between LuaFX and Khavi's Lua virtual machine is that LuaFX will be more like TI's Lua interpreter; It will be able to take plaintext Lua code, compile it to bytecode, and then execute that bytecode. All Khavi does is execute the bytecode. The compilation is left to the user and computer side compilers.

As for the Prizm Compiler, that was z80man's project, so I'm not sure how far he got on it. As I recall, he put it on hold to work on Walnut. It would have compiled to native ASM, so it wouldn't have been a part of Khavi (although Khavi can indeed run non-Khavi programs alongside the interpreters).
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Khavi: Java on the Prizm
« Reply #114 on: October 22, 2011, 04:04:25 am »
Okay, life is starting to ease up a bit, so I managed to get some work in. Khavi now supports single precision floating point and I'll probably add double precision support tomorrow, since it shouldn't be too much extra work.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Khavi: Java on the Prizm
« Reply #115 on: October 27, 2011, 06:58:20 pm »
Improved the library interface, reduced the size of several of the Java commands, and added some more stuff to the library.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Khavi: Java on the Prizm
« Reply #116 on: November 13, 2011, 03:02:23 pm »
Glad this is progressing again. I wonder if it will reach the status where a demo program can be ran soon? :D

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Khavi: Java on the Prizm
« Reply #117 on: November 29, 2011, 10:48:50 am »
are you guys still going to try to do this for FX-9860, or is it a PRIZM-only thing?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Khavi: Java on the Prizm
« Reply #118 on: November 29, 2011, 11:27:56 am »
Technically, it should be able to run on any SH3 chip, but it's still more of a Prizm only kind of thing.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Khavi: Java on the Prizm
« Reply #119 on: November 29, 2011, 11:28:30 am »
I thought prizm was SH-4A ???



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0