[J-core] working on SH-2 emulator.

BGB cr88192 at gmail.com
Mon Sep 5 04:14:48 EDT 2016


On 9/5/2016 1:53 AM, Rob Landley wrote:
> On 09/04/2016 11:19 PM, BGB wrote:
>> On 9/4/2016 7:19 PM, Christopher Friedt wrote:
>>> I might suggest you try improving support for SH2 / J2 in Qemu rather
>>> than writing your own emulator.
>>>
>> I was partly more doing it more for experience, also if I use QEMU would
>> be stuck with it being GPL.
> I was hoping we could get a javascript emulator:
>
>    http://bellard.org/jslinux/
>
>    https://github.com/fcambus/jsemu
>
> In theory there's some llvm "output to javascript" mode, I'd have to dig
> up the reference to it again though...

could probably compile the emulator with Emscripten or something (which 
can compile C into JS).

for a past VM project, had also once wrote one of the interpreter 
backends in Java (with the intent of using it on GWT and Android), but 
this didn't really go anywhere.

I ended up primarily focusing on a VM written in C, which ended up being 
used in a few robotics projects (for running C as a scripting language), 
as I was able to make the VM reasonably friendly with the timing 
constraints in the scheduler. as much as possible, it was needed to 
maintain events occurring within about +/-5us of when they were 
scheduled to occur (mostly for sake of interfacing with external 
electronics via GPIO pins and similar).



but, I am not likely to work on a JS based emulator anytime in the 
immediate future though, given I am not really a huge fan of JS and also 
don't currently have a personal website anyways.

I had one before, but my ISP blocked all incoming ports, and pretty much 
all of the web-hosting that exists which would actually "do something 
useful" for me (SSH+FTP and LAMP), costs money.

I don't have a job, so no income, and pretty much no one will hire me to 
do much of anything...
I can write code reasonably good, but pretty much have nothing else 
going for me (in the sense of stuff employers/HR people care about, 
namely degrees and work-history). so, I sit around applying random 
places, and working on personal projects and similar.




More information about the J-core mailing list