This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - z80man
Pages: 1 ... 42 43 [44] 45 46 ... 62
646
« on: February 15, 2011, 02:08:21 am »
647
« on: February 15, 2011, 01:10:23 am »
Welcome to Omnimaga [offtopic]are there Prizm peanuts made yet?[/offtopic]
They would need to have 65,535 colors and a sexy gui.
648
« on: February 15, 2011, 01:05:38 am »
The importance with threads is that many parts of the Prizm run in parrellel(mainly the lcd, but also stuff like the serial port and clock) Otherwise the emulator is set up exactly like the SH3 core. First I already have a memory model set up that takes 32 bit physical adresses. Other core functionnalities are the registers are set up as global variables allowing them to be acseesed at all times. Also porting SH3 commnads will be easier to do because Reneas provided the C code equivalent for every command. They even suggested some good ideas that would make emulator coding much easier. One is that the registers are actually initialized as an array int R[16]. This makes it easier to then emulate instructions the code passed.
There are many other complicated features that can not be explained in just one post. Once I get farther on this project I will create its own thread and make a pdf documentation of the emulator.
I could code this is C++, but I will need to learn how C++ threads work first. Also I will need to learn to use a graphics library that works on all systems because currently all I know is Directx. Last is that non Windows users will have to compile the code themselves.
649
« on: February 15, 2011, 12:49:34 am »
Um. I want all those features pleez
650
« on: February 15, 2011, 12:45:40 am »
Great we could use more Prizm hackers. Feel free to browse the Prizm sub-forum to see what we have already hacked.
651
« on: February 14, 2011, 03:39:25 am »
Good thing today is Valentines day, becuase I have fallen in love with this calc. Also does this calc have a dedicated sound proc.
652
« on: February 14, 2011, 03:08:45 am »
How can you lose in games where you cannot lose, though?
I meant, I like games where you cannot lose because in other win/lose games I often end up losing. Edit: I think I overused the word lose
653
« on: February 14, 2011, 03:00:15 am »
Lol, I wasn't talking about that one game you think of.
I meant both " " game and just regular games.
654
« on: February 14, 2011, 02:47:50 am »
Interesting. I hope eventually your friend also gets more into calc stuff and joins the forums. This project seems interesting too. It's kinda like a game where you just wander around for fun and no way of winning and losing?
I like those kind of games because often I end up losing.
655
« on: February 14, 2011, 02:34:32 am »
This is probaly not possible, but on the Prizm there is an output buffer on the serial port that can hold up to 1 kb. So to use that you would send the data to the buffer and then continue with the rest of your code until you need to update the buffer. Now depending on the link protocols you might be able to get certain sounds to come out. Now I'm not an Nspire programmer, but if there are output buffers, sound and video could be attempted.
656
« on: February 14, 2011, 02:15:07 am »
Well I already figured out a memory model which a will give a brief description of. How it will work is when an instruction is passed for a memory location, the emulator then converts the physical adress into a virtual one which can be stored into a dynamic array. So in order of execution, a program on the Prizm passes a virtual address to the OS, which then converts that into a physical address, then the emulator converts that into a virtual adress, then the jre converts that into a different virtual address, and then converts that into a physical address. Wow this makes my head hurt.
657
« on: February 14, 2011, 01:56:24 am »
I can help if you need conceptual level help with any of the hardware processes or opcodes. I'm still working on all of the I/O, excluding keyboard (which I'm not even going to touch until I can at least use the screen), so that might be a bit too ambitious to emulate. But the CPU core is definitely possible. Just be careful with the arithmetic instructions and read the instruction descriptions. Some of them have very important but slightly subtle effects.
On a side note, the Renesas documentation has C code for all of the instructions, so that might be easier in C rather than Java.
Or I could just port the C codes to java
658
« on: February 14, 2011, 01:46:25 am »
I have a feeling that pretty soon we will be capable of building a full Prizm emulator. Even though we haven't fully disassembled the OS yet and the ports are still unknown, an emulator can at least be started. The first thing that can be done is the SH3 emulation core. With this being already fully documented, emulating the instructions is possible and I was actually going to start writing the insructions soon too. This will be in Java for several reasons that I will explain later. Next thing to be emulated will have to be the memory. Now for Ti-83+ emulators you could just make a 64 kb array and call that memory (ignoring flash and ram pages at the moment). Now with a 32 bit proc this is a lot harder. So if anyone is good with writing memory management routines in java I could use some help. Then there is also the flash to be emulated which I believe could just be stored in a file and then accsessed from there. I'm not yet sure if the flash is set up in pages or if it just addresed similar to the ram.
In other hardware the keyboard shouldn't be that hard and the screen will be easy once we find where it is mapped to. usb could be hard to work with, but that shouldn't be nessecary in the initial version of the software. There is also the serial port, but it acts diffrently than the 83+ one because it has input and output buffers. The last hardware I can think of is the clock and that should not be hard to emulate either.
Now I want to go over some project details. Even though I'm mainly a C++ programmer, I wanted to do this in java, one because of portability. Two because my idea was to make each of the hardware devices its own thread so they can operate simultaneously. (this feature being very easy to implement in java) I also wanted to add full debugging software just like in wabbit. This project is also quite ambitious so I will need lots of help from everyone. Once I get started on this I will post updates and also send out help requests. For the past few weeks I have been very busy (especially because I have a job now), but I will have more free time in the near future. Lastly my current priority is to get that app signer out, to make Prizm programming much easier. It's just been I've just been very busy as I previously stated.
659
« on: February 14, 2011, 12:43:16 am »
bump Is anyone still interested in doing this.
660
« on: February 14, 2011, 12:40:36 am »
Black edition I have never heard of this. Anyways make sure you get the screw out underneath the backup battery and then there are four clips holding the case together(two on each side). Use a knife or something and carefully pull apart the clips. It might take awile but eventually they will come off. Once open be careful with the keyboard because the keys like to fall out and stuff and also you won't find a real z80, but instead TI's version one.
Pages: 1 ... 42 43 [44] 45 46 ... 62
|